Lines 1-7
Link Here
|
1 |
PORTNAME= ffmpegthumbnailer |
1 |
PORTNAME= ffmpegthumbnailer |
2 |
PORTVERSION= 2.2.2 |
2 |
DISTVERSION= 2.2.2.a.20221021 |
3 |
CATEGORIES= multimedia graphics |
3 |
CATEGORIES= multimedia graphics |
4 |
MASTER_SITES= https://github.com/dirkvdb/${PORTNAME}/releases/download/${PORTVERSION}/ |
4 |
#MASTER_SITES= https://github.com/dirkvdb/${PORTNAME}/releases/download/${PORTVERSION}/ |
5 |
|
5 |
|
6 |
MAINTAINER= ports@FreeBSD.org |
6 |
MAINTAINER= ports@FreeBSD.org |
7 |
COMMENT= Lightweight video thumbnailer that can be used by file managers |
7 |
COMMENT= Lightweight video thumbnailer that can be used by file managers |
Lines 13-36
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
13 |
LIB_DEPENDS= libpng.so:graphics/png \ |
13 |
LIB_DEPENDS= libpng.so:graphics/png \ |
14 |
libavformat.so:multimedia/ffmpeg |
14 |
libavformat.so:multimedia/ffmpeg |
15 |
|
15 |
|
16 |
USES= cmake compiler:c++11-lib gnome jpeg localbase pkgconfig tar:bz2 |
16 |
USES= cmake:testing compiler:c++11-lib gnome jpeg localbase pkgconfig tar:bz2 |
|
|
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= dirkvdb |
19 |
GH_TAGNAME= e0bf01d |
20 |
|
17 |
USE_GNOME= glib20 |
21 |
USE_GNOME= glib20 |
18 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
19 |
|
23 |
|
20 |
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar |
24 |
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar |
|
|
25 |
CMAKE_TESTING_ON= ENABLE_TESTS |
21 |
|
26 |
|
|
|
27 |
CMAKE_OFF= ENABLE_TESTS |
22 |
CMAKE_ON= ENABLE_GIO |
28 |
CMAKE_ON= ENABLE_GIO |
23 |
|
29 |
|
24 |
OPTIONS_DEFINE= TEST THUMBNAILER |
30 |
OPTIONS_DEFINE= THUMBNAILER |
25 |
THUMBNAILER_DESC=Register as a system thumbnailer |
|
|
26 |
OPTIONS_SUB= yes |
27 |
OPTIONS_DEFAULT=THUMBNAILER |
31 |
OPTIONS_DEFAULT=THUMBNAILER |
|
|
32 |
OPTIONS_SUB= yes |
28 |
|
33 |
|
29 |
TEST_CMAKE_BOOL= ENABLE_TESTS |
34 |
THUMBNAILER_DESC= Register as a system thumbnailer |
30 |
|
35 |
|
31 |
THUMBNAILER_CMAKE_ON= -DENABLE_THUMBNAILER:BOOL=ON |
36 |
THUMBNAILER_CMAKE_ON= -DENABLE_THUMBNAILER:BOOL=ON |
32 |
|
37 |
|
33 |
do-test: |
|
|
34 |
(cd ${TEST_WRKSRC} && CTEST_OUTPUT_ON_FAILURE=1 ctest) |
35 |
|
36 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |