aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpegthumbnailer/Makefile
blob: 4ea4e76c3c248b1f38638f1378e19648736e0c1d (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
# 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>