Lines 2-11
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= ffmpegthumbnailer |
4 |
PORTNAME= ffmpegthumbnailer |
5 |
PORTVERSION= 2.0.9 |
5 |
PORTVERSION= 2.1.1 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= multimedia graphics |
6 |
CATEGORIES= multimedia graphics |
8 |
MASTER_SITES= LOCAL/riggs/${PORTNAME} |
|
|
9 |
|
7 |
|
10 |
MAINTAINER= clutton@zoho.com |
8 |
MAINTAINER= clutton@zoho.com |
11 |
COMMENT= Lightweight video thumbnailer that can be used by file managers |
9 |
COMMENT= Lightweight video thumbnailer that can be used by file managers |
Lines 16-30
Link Here
|
16 |
LIB_DEPENDS= libpng.so:graphics/png \ |
14 |
LIB_DEPENDS= libpng.so:graphics/png \ |
17 |
libswscale.so:multimedia/ffmpeg |
15 |
libswscale.so:multimedia/ffmpeg |
18 |
|
16 |
|
19 |
CPPFLAGS+= -I${LOCALBASE}/include |
17 |
USE_GITHUB= yes |
20 |
LIBS+= -L${LOCALBASE}/lib |
18 |
GH_ACCOUNT= dirkvdb |
21 |
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio |
19 |
GH_PROJECT= ffmpegthumbnailer |
22 |
|
20 |
|
23 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
24 |
INSTALL_TARGET= install-strip |
22 |
USES= cmake:outsource compiler:c++11-lib jpeg localbase pathfix pkgconfig |
25 |
USES= compiler:c++11-lib jpeg libtool pathfix pkgconfig |
|
|
26 |
USE_GNOME= glib20 |
23 |
USE_GNOME= glib20 |
27 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
|
|
25 |
CMAKE_ARGS+= -DENABLE_GIO=ON |
26 |
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="man" |
28 |
|
27 |
|
29 |
OPTIONS_DEFINE= THUMBNAILER |
28 |
OPTIONS_DEFINE= THUMBNAILER |
30 |
THUMBNAILER_DESC=Register as a system thumbnailer |
29 |
THUMBNAILER_DESC=Register as a system thumbnailer |
Lines 31-36
Link Here
|
31 |
OPTIONS_SUB= yes |
30 |
OPTIONS_SUB= yes |
32 |
OPTIONS_DEFAULT=THUMBNAILER |
31 |
OPTIONS_DEFAULT=THUMBNAILER |
33 |
|
32 |
|
34 |
THUMBNAILER_CONFIGURE_ENABLE= thumbnailer |
33 |
THUMBNAILER_CMAKE_ON= -DENABLE_THUMBNAILER=ON |
35 |
|
34 |
|
36 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |