blob: 8b0ddc1ae31a2435b9f15cce6b75d61d30cf6901 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $FreeBSD$
PORTNAME= webvfx
DISTVERSION= 0.4.4-20160823
PORTREVISION= 1
CATEGORIES= multimedia
PKGNAMESUFFIX= -qt5
MAINTAINER= avilla@FreeBSD.org
COMMENT= Video effects library based on HTML/QML
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmlt.so:multimedia/mlt
USE_GITHUB= yes
GH_ACCOUNT= mltframework
GH_TAGNAME= e918ce4
USES= pkgconfig qmake
USE_QT5= 3d buildtools_build opengl qml quick webkit
USE_LDCONFIG= yes
PORTEXAMPLES= *
OPTIONS_DEFINE= DOXYGEN EXAMPLES
OPTIONS_SUB= yes
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
post-patch-EXAMPLES-on:
@${REINPLACE_CMD} -i '' -e 's,examples/,,g' ${WRKSRC}/demo/mlt/*
pre-configure:
# Fix make jobs and speed up build.
@${REINPLACE_CMD} -e 's/debug_and_release//' ${WRKSRC}/common.pri
post-build-DOXYGEN-on:
cd ${WRKSRC} && ${MAKE} doxydoc
post-install-DOXYGEN-on:
cd ${WRKSRC}/doxydoc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
cd ${WRKSRC}/demo/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/demo && \
${COPYTREE_SHARE} mlt ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|