aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpegthumbnailer/Makefile
blob: 9202c5a50530a2925a7c79882b89bdd86a5510d2 (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
# Created by: Dierk Sacher <dierk@blaxxtarz.de>
# $FreeBSD$

PORTNAME=   ffmpegthumbnailer
PORTVERSION=    2.0.9
PORTREVISION=   1
CATEGORIES= multimedia graphics
MASTER_SITES=   LOCAL/riggs/${PORTNAME}

MAINTAINER= clutton@zoho.com
COMMENT=    Lightweight video thumbnailer that can be used by file managers

LICENSE=    GPLv2 # (or later)
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpng.so:${PORTSDIR}/graphics/png \
        libswscale.so:${PORTSDIR}/multimedia/ffmpeg \
        libjpeg.so:${PORTSDIR}/graphics/jpeg

CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio

GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USES=       compiler:c++11-lib libtool pathfix pkgconfig
USE_GNOME=  glib20
USE_LDCONFIG=   yes

OPTIONS_DEFINE= THUMBNAILER
THUMBNAILER_DESC=Register as a system thumbnailer
OPTIONS_SUB=    yes
OPTIONS_DEFAULT=THUMBNAILER

THUMBNAILER_CONFIGURE_ENABLE=   thumbnailer

.include <bsd.port.mk>