1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/multimedia/ffmpegthumbnailer/Makefile
Thomas Zander 68097f4186 - Support for the MATE desktop environment support
- Add license
- Add gconf dirs to pkg-plist
- Add MATE_DESC to Mk/bsd.options.desc.mk

PR:		ports/184462
Submitted by:	clutton <clutton@zoho.com> (maintainer)
Approved by:	thierry (mentor)
2014-01-29 20:43:01 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Dierk Sacher <dierk@blaxxtarz.de>
# $FreeBSD$
PORTNAME= ffmpegthumbnailer
PORTVERSION= 2.0.8
PORTREVISION= 2
CATEGORIES= multimedia graphics
MASTER_SITES= GOOGLE_CODE
MAINTAINER= clutton@zoho.com
COMMENT= Lightweight video thumbnailer that can be used by file managers
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libswscale.so:${PORTSDIR}/multimedia/ffmpeg \
libjpeg.so:${PORTSDIR}/graphics/jpeg
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -pthread -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio
GNU_CONFIGURE= yes
USES= pathfix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
OPTIONS_DEFINE= GNOME MATE
OPTIONS_SUB= yes
MATE_CONFIGURE_ENABLE= thumbnailer
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOME}
USE_GNOME+= gconf2
GCONF_SCHEMAS= ffmpegthumbnailer.schemas
.endif
post-install:
.if ${PORT_OPTIONS:MGNOME}
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/schemas
${INSTALL_DATA} ${FILESDIR}/${GCONF_SCHEMAS} ${STAGEDIR}${PREFIX}/etc/gconf/schemas
.endif
.include <bsd.port.mk>