Lines 1-6
Link Here
|
1 |
PORTNAME= libopenshot |
1 |
PORTNAME= libopenshot |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 0.2.6 |
3 |
DISTVERSION= 0.2.7 |
4 |
CATEGORIES= multimedia |
4 |
CATEGORIES= multimedia |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
6 |
|
Lines 17-48
LIB_DEPENDS= libopenshot-audio.so:audio/libopenshot-audio \
Link Here
|
17 |
libavformat.so:multimedia/ffmpeg \ |
17 |
libavformat.so:multimedia/ffmpeg \ |
18 |
libzmq.so:net/libzmq4 |
18 |
libzmq.so:net/libzmq4 |
19 |
|
19 |
|
20 |
USES= cmake pkgconfig python:3.5+ qt:5 |
20 |
USES= cmake pkgconfig python:3.6+ qt:5 |
21 |
USE_LDCONFIG= yes |
|
|
22 |
USE_GITHUB= yes |
21 |
USE_GITHUB= yes |
23 |
GH_ACCOUNT= OpenShot |
22 |
GH_ACCOUNT= OpenShot |
|
|
23 |
USE_LDCONFIG= yes |
24 |
USE_PYTHON= flavors |
24 |
USE_PYTHON= flavors |
25 |
USE_QT= core gui network multimedia widgets qmake_build buildtools_build |
25 |
USE_QT= core gui network multimedia widgets qmake_build buildtools_build |
26 |
|
26 |
CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP\ |
27 |
CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP USE_HW_ACCEL\ |
27 |
USE_HW_ACCEL ENABLE_PYTHON\ |
28 |
CMAKE_DISABLE_FIND_PACKAGE_Doxygen\ |
28 |
CMAKE_DISABLE_FIND_PACKAGE_Catch2\ |
29 |
CMAKE_DISABLE_FIND_PACKAGE_Resvg\ |
29 |
CMAKE_DISABLE_FIND_PACKAGE_Resvg\ |
30 |
CMAKE_DISABLE_FIND_PACKAGE_Ruby |
30 |
CMAKE_DISABLE_FIND_PACKAGE_Ruby |
31 |
CMAKE_OFF= ENABLE_COVERAGE\ |
31 |
CMAKE_OFF= ENABLE_COVERAGE BUILD_TESTING ENABLE_TESTS\ |
32 |
ENABLE_DOCS\ |
32 |
ENABLE_RUBY |
33 |
ENABLE_TESTS |
33 |
|
34 |
OPTIONS_DEFINE= IMAGEMAGICK OPENCV |
34 |
OPTIONS_DEFINE= DOCS IMAGEMAGICK OPENCV |
35 |
OPTIONS_DEFAULT= IMAGEMAGICK |
35 |
OPTIONS_DEFAULT= IMAGEMAGICK |
36 |
OPTIONS_SUB= yes |
36 |
OPTIONS_SUB= yes |
|
|
37 |
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen |
38 |
DOCS_CMAKE_BOOL= ENABLE_DOCS |
39 |
DOCS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen |
40 |
DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:PATH=${DOCSDIR_REL:Q} |
41 |
DOCS_PORTDOCS= * |
37 |
IMAGEMAGICK_LIB_DEPENDS= libMagick++-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} |
42 |
IMAGEMAGICK_LIB_DEPENDS= libMagick++-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} |
38 |
IMAGEMAGICK_CMAKE_BOOL= ENABLE_MAGICK |
43 |
IMAGEMAGICK_CMAKE_BOOL= ENABLE_MAGICK |
39 |
IMAGEMAGICK_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ImageMagick |
44 |
IMAGEMAGICK_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ImageMagick |
40 |
OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ |
45 |
OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ |
41 |
libprotobuf.so:devel/protobuf |
46 |
libprotobuf.so:devel/protobuf |
42 |
OPENCV_CMAKE_ON= -DOpenCV_DIR:STRING=${LOCALBASE:Q}/cmake/opencv4 |
|
|
43 |
OPENCV_CMAKE_BOOL= ENABLE_OPENCV |
47 |
OPENCV_CMAKE_BOOL= ENABLE_OPENCV |
44 |
OPENCV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenCV\ |
48 |
OPENCV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenCV\ |
45 |
CMAKE_DISABLE_FIND_PACKAGE_Protobuf |
49 |
CMAKE_DISABLE_FIND_PACKAGE_Protobuf |
|
|
50 |
OPENCV_CMAKE_ON= -DOpenCV_DIR:STRING=${LOCALBASE:Q}/cmake/opencv4 |
46 |
|
51 |
|
47 |
.include <bsd.port.options.mk> |
52 |
.include <bsd.port.options.mk> |
48 |
|
53 |
|
Lines 52-55
USES+= compiler:gcc-c++11-lib
Link Here
|
52 |
USES+= compiler:c++11-lang |
57 |
USES+= compiler:c++11-lang |
53 |
.endif |
58 |
.endif |
54 |
|
59 |
|
|
|
60 |
do-build-DOCS-on: |
61 |
@(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} doc; then \ |
62 |
(${ECHO_CMD} "===> ${.TARGET} failed unexpectedly.") | ${FMT_80} ; \ |
63 |
${FALSE}; \ |
64 |
fi) |
65 |
|
55 |
.include <bsd.port.mk> |
66 |
.include <bsd.port.mk> |