freebsd-ports/multimedia/ffmpegthumbnailer/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

34 lines
744 B
Makefile

# Created by: Dierk Sacher <dierk@blaxxtarz.de>
# $FreeBSD$
PORTNAME= ffmpegthumbnailer
PORTVERSION= 2.2.0
PORTREVISION= 8
CATEGORIES= multimedia graphics
MAINTAINER= clutton@zoho.com
COMMENT= Lightweight video thumbnailer that can be used by file managers
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libswscale.so:multimedia/ffmpeg
USE_GITHUB= yes
GH_ACCOUNT= dirkvdb
USES= cmake compiler:c++11-lib jpeg localbase pathfix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
CMAKE_ARGS= -DENABLE_GIO=ON
OPTIONS_DEFINE= THUMBNAILER
THUMBNAILER_DESC=Register as a system thumbnailer
OPTIONS_SUB= yes
OPTIONS_DEFAULT=THUMBNAILER
THUMBNAILER_CMAKE_ON= -DENABLE_THUMBNAILER=ON
.include <bsd.port.mk>