blob: 462915040b802c988d9740d75011aec22005e3d9 (
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
|
# Created by: Dierk Sacher <dierk@blaxxtarz.de>
# $FreeBSD$
PORTNAME= ffmpegthumbnailer
PORTVERSION= 2.0.8
PORTREVISION= 1
CATEGORIES= multimedia graphics
MASTER_SITES= GOOGLE_CODE
MAINTAINER= mbsd@isgroup.com.ua
COMMENT= Lightweight video thumbnailer that can be used by file managers
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
swscale:${PORTSDIR}/multimedia/ffmpeg \
jpeg:${PORTSDIR}/graphics/jpeg
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio
GNU_CONFIGURE= yes
USE_PKGCONFIG= build
USE_GNOME= gnomehack _glib20
USE_LDCONFIG= yes
OPTIONS_DEFINE= GNOME
MAN1= ffmpegthumbnailer.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOME}
PKGNAMESUFFIX+= -gnome
USE_GNOME+= gconf2
GCONF_SCHEMAS= ffmpegthumbnailer.schemas
.endif
post-install:
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} install-pkgconfigDATA
.if ${PORT_OPTIONS:MGNOME}
${MKDIR} ${PREFIX}/etc/gconf/schemas
${INSTALL_DATA} ${FILESDIR}/${GCONF_SCHEMAS} ${PREFIX}/etc/gconf/schemas
@${SETENV} GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:${PREFIX}/${GCONF_CONFIG_DIRECTORY} \
gconftool-2 --makefile-install-rule ${PREFIX}/etc/gconf/schemas/${GCONF_SCHEMAS} \
> /dev/null || ${TRUE}
.endif
.include <bsd.port.mk>
|