aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xfce4-tumbler/Makefile
blob: a816c7a2d48abe4f3ff68c320ed851d5f0063bb7 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   tumbler
PORTVERSION=    0.1.31
PORTREVISION=   5
CATEGORIES= deskutils xfce
MASTER_SITES=   XFCE
PKGNAMEPREFIX=  xfce4-
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    Thumbnail service for Xfce desktop

LICENSE=    GPLv2+ LGPL20+
LICENSE_COMB=   multi
LICENSE_FILE_GPLv2+ =   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpng.so:graphics/png \
        libdbus-glib-1.so:devel/dbus-glib

USES=       pathfix pkgconfig gmake libtool gettext-tools xfce tar:bzip2
GNU_CONFIGURE=  yes
USE_GNOME=  glib20 intltool intlhack gdkpixbuf2 librsvg2
USE_LDCONFIG=   yes

CONFIGURE_ARGS= --enable-xdg-cache \
        --enable-pixbuf-thumbnailer \
        --disable-gtk-doc-html \
        --without-html-dir

OPTIONS_DEFINE= NLS FONTS JPEG FFMPEG POPPLER \
        GSTREAMER ODF COVER
OPTIONS_DEFAULT=    FONTS JPEG POPPLER GSTREAMER ODF

FONTS_DESC= Fonts thumbnailer plugin
COVER_DESC= Open Movie Database thumbnailer plugin
GSTREAMER_DESC= GStreamer (1.0) thumbnailer plugin

NLS_USES=   gettext-runtime
NLS_CONFIGURE_ENABLE=   nls
FONTS_LIB_DEPENDS=  libfreetype.so:print/freetype2
FONTS_CONFIGURE_ENABLE= font-thumbnailer
JPEG_LIB_DEPENDS=   libexif.so:graphics/libexif
JPEG_USES=      jpeg
JPEG_CONFIGURE_ENABLE=  jpeg-thumbnailer
FFMPEG_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer
FFMPEG_CONFIGURE_ENABLE=    ffmpeg-thumbnailer
POPPLER_LIB_DEPENDS=    libpoppler-glib.so:graphics/poppler-glib
POPPLER_CONFIGURE_ENABLE=   poppler-thumbnailer
GSTREAMER_USE=  gstreamer1=yes
GSTREAMER_CONFIGURE_ENABLE= gstreamer-thumbnailer
ODF_USE=    gnome=libgsf
ODF_CONFIGURE_ENABLE=   odf-thumbnailer
COVER_LIB_DEPENDS=  libcurl.so:ftp/curl
COVER_CONFIGURE_ENABLE= cover-thumbnailer
OPTIONS_SUB=    yes

SUB_FILES=  pkg-message

.include <bsd.port.mk>