08280fb6f4
(filters, transitions, etc.) to be authored using web technologies (HTML, CSS, JavaScript, WebGL, etc.) or with Qt Quick QML (a declarative CSS and JavaScript like language). WebVfx includes plugins for the MLT open source multimedia framework. WWW: https://www.mltframework.org/doxygen/webvfx/
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= webvfx
|
|
DISTVERSION= 0.4.4-20160823
|
|
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>
|