aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xfce4-tumbler/Makefile
blob: 01ae61977bd9b338a54f40e35898f1078cff9d02 (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
62
63
64
65
66
67
68
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   tumbler
PORTVERSION=    0.2.3
PORTREVISION=   1
CATEGORIES= deskutils xfce
MASTER_SITES=   XFCE/src/xfce/${PORTNAME}/${PORTVERSION:R}/
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

USES=       gettext-tools gmake gnome libtool localbase:ldflags pathfix \
        pkgconfig tar:bzip2 xfce
USE_GNOME=  cairo gdkpixbuf2 glib20 intltool libgsf librsvg2
USE_LDCONFIG=   yes

GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
SUB_FILES=  pkg-message
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
OPTIONS_SUB=    yes

FONTS_DESC= Fonts thumbnailer plugin
COVER_DESC= Open Movie Database plugin (check pkg-message)
GSTREAMER_DESC= GStreamer thumbnailer plugin

COVER_CONFIGURE_ENABLE= cover-thumbnailer
COVER_LIB_DEPENDS=  libcurl.so:ftp/curl

FFMPEG_CONFIGURE_ENABLE=    ffmpeg-thumbnailer
FFMPEG_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer

FONTS_CONFIGURE_ENABLE= font-thumbnailer
FONTS_LIB_DEPENDS=  libfreetype.so:print/freetype2

GSTREAMER_CONFIGURE_ENABLE= gstreamer-thumbnailer
GSTREAMER_USE=      gstreamer1=yes

JPEG_CONFIGURE_ENABLE=  jpeg-thumbnailer
JPEG_LIB_DEPENDS=   libexif.so:graphics/libexif
JPEG_USES=      jpeg

NLS_CONFIGURE_ENABLE=   nls
NLS_USES=       gettext-runtime

ODF_CONFIGURE_ENABLE=   odf-thumbnailer
ODF_USE=        gnome=libgsf

POPPLER_CONFIGURE_ENABLE=   poppler-thumbnailer
POPPLER_LIB_DEPENDS=    libpoppler-glib.so:graphics/poppler-glib

.include <bsd.port.mk>