2012-10-12 11:21:48 +02:00
|
|
|
# Created by: Dierk Sacher <dierk@blaxxtarz.de>
|
2008-02-25 10:09:59 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ffmpegthumbnailer
|
2012-10-07 11:16:41 +02:00
|
|
|
PORTVERSION= 2.0.8
|
2013-07-31 13:57:45 +02:00
|
|
|
PORTREVISION= 2
|
2008-02-25 10:09:59 +01:00
|
|
|
CATEGORIES= multimedia graphics
|
2010-12-04 19:01:26 +01:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2008-02-25 10:09:59 +01:00
|
|
|
|
2013-10-26 15:32:19 +02:00
|
|
|
MAINTAINER= clutton@zoho.com
|
2008-02-25 10:09:59 +01:00
|
|
|
COMMENT= Lightweight video thumbnailer that can be used by file managers
|
|
|
|
|
2013-10-26 15:32:19 +02:00
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
|
|
|
|
libswscale.so:${PORTSDIR}/multimedia/ffmpeg \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
2008-08-19 16:51:31 +02:00
|
|
|
|
2013-10-26 15:32:19 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -pthread -L${LOCALBASE}/lib
|
2012-10-07 11:16:41 +02:00
|
|
|
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio
|
2008-02-25 10:09:59 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2013-07-31 13:57:45 +02:00
|
|
|
USES= pathfix pkgconfig
|
|
|
|
USE_GNOME= glib20
|
2010-12-04 19:01:26 +01:00
|
|
|
USE_LDCONFIG= yes
|
2008-02-25 10:09:59 +01:00
|
|
|
|
2012-10-07 11:16:41 +02:00
|
|
|
OPTIONS_DEFINE= GNOME
|
|
|
|
|
2012-10-12 11:21:48 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2009-08-12 12:45:25 +02:00
|
|
|
|
2012-10-07 11:16:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MGNOME}
|
2012-10-12 11:21:48 +02:00
|
|
|
USE_GNOME+= gconf2
|
2012-10-07 11:16:41 +02:00
|
|
|
GCONF_SCHEMAS= ffmpegthumbnailer.schemas
|
|
|
|
.endif
|
|
|
|
|
2010-12-04 19:01:26 +01:00
|
|
|
post-install:
|
2012-10-07 11:16:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MGNOME}
|
2013-10-26 15:32:19 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/schemas
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${GCONF_SCHEMAS} ${STAGEDIR}${PREFIX}/etc/gconf/schemas
|
2012-10-07 11:16:41 +02:00
|
|
|
.endif
|
2012-10-12 11:21:48 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|