Prune sysutils/pcpustat
[dports.git] / sysutils / tracker / Makefile
1 # Created by: Michael Johnson <ahze@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       tracker
5 PORTVERSION=    1.4.1
6 CATEGORIES=     sysutils gnome
7 MASTER_SITES=   GNOME
8
9 MAINTAINER=     gnome@FreeBSD.org
10 COMMENT=        Object database, tag/metadata database, search tool and indexer
11
12 LIB_DEPENDS=    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
13                 libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
14                 libhal.so:${PORTSDIR}/sysutils/hal \
15                 libraptor.so:${PORTSDIR}/textproc/raptor \
16                 libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
17                 libicutu.so:${PORTSDIR}/devel/icu \
18                 libmediaart-2.0.so:${PORTSDIR}/multimedia/libmediaart \
19                 librest-0.7.so:${PORTSDIR}/devel/librest
20 RUN_DEPENDS=    xdg-desktop-icon:${PORTSDIR}/devel/xdg-utils \
21                 o3totxt:${PORTSDIR}/converters/o3read \
22                 pdftotext:${PORTSDIR}/graphics/poppler-utils \
23                 w3m:${PORTSDIR}/www/w3m
24
25 PORTSCOUT=      limitw:1,even
26
27 USES=           desktop-file-utils gettext gmake libtool pathfix pkgconfig tar:xz
28 USE_GNOME=      gtk30 intltool introspection:build libxslt:build
29 USE_LDCONFIG=   yes
30 USE_SQLITE=     3
31 USE_GSTREAMER1= yes
32 GNU_CONFIGURE=  yes
33 INSTALLS_ICONS= yes
34 CPPFLAGS+=      -I${LOCALBASE}/include
35 LDFLAGS+=       -L${LOCALBASE}/lib
36 CONFIGURE_ARGS= --with-session-bus-services-dir=${LOCALBASE}/share/dbus-1/services \
37                 --disable-libiptcdata --enable-miner-fs \
38                 --disable-meegotouch \
39                 --enable-icu-charset-detection \
40                 --disable-network-manager \
41                 --disable-enca \
42                 --enable-tracker-preferences \
43                 --disable-libosinfo \
44                 --enable-generic-media-extractor=gstreamer
45 # disable evolution miner until tracker fixes the dep
46 CONFIGURE_ARGS+=        --disable-miner-evolution
47 INSTALL_TARGET= install-strip
48 GLIB_SCHEMAS=   org.freedesktop.Tracker.DB.gschema.xml \
49                 org.freedesktop.Tracker.Extract.gschema.xml \
50                 org.freedesktop.Tracker.FTS.gschema.xml \
51                 org.freedesktop.Tracker.Miner.Files.gschema.xml \
52                 org.freedesktop.Tracker.Store.gschema.xml \
53                 org.freedesktop.Tracker.Writeback.gschema.xml \
54                 org.freedesktop.Tracker.enums.xml \
55                 org.freedesktop.Tracker.gschema.xml
56
57 PLIST_SUB=      TRACKER_VER="1.0" LIBVER=400
58
59 OPTIONS_DEFINE=         AUDIO_MINERS DOCUMENT_MINERS GRAPHIC_MINERS \
60                         NAUTILUS WEB_MINERS
61 OPTIONS_DEFAULT=        AUDIO_MINERS DOCUMENT_MINERS GRAPHIC_MINERS
62 OPTIONS_SUB=yes
63 WEB_MINERS_DESC=        Support for Firefox, Thunderbird
64 # and Evolution
65 AUDIO_MINERS_DESC=      Support for audio formats
66 DOCUMENT_MINERS_DESC=   Support for some sort of documents (pdf, ps, xps, office)
67 GRAPHIC_MINERS_DESC=    Support for some graphic formats (gif, png, tiff)
68 NAUTILUS_DESC=          Support for nautilus tagging
69
70 WEB_MINERS_CONFIGURE_ENABLE=    miner-firefox miner-thunderbird
71 # miner-evolution
72 WEB_MINERS_BUILD_DEPENDS=       firefox>=0:${PORTSDIR}/www/firefox \
73                                 thunderbird>=0:${PORTSDIR}/mail/thunderbird
74 WEB_MINERS_RUN_DEPENDS=         firefox>=0:${PORTSDIR}/www/firefox \
75                                 thunderbird>=0:${PORTSDIR}/mail/thunderbird
76
77 AUDIO_MINERS_CONFIGURE_ENABLE=  libvorbis libflac taglib mp3 libcue playlist
78 AUDIO_MINERS_LIB_DEPENDS=       libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \
79                                 libFLAC.so:${PORTSDIR}/audio/flac \
80                                 libvorbis.so:${PORTSDIR}/audio/libvorbis \
81                                 libcue.so:${PORTSDIR}/textproc/libcue \
82                                 libogg.so:${PORTSDIR}/audio/libogg \
83                                 libtag.so:${PORTSDIR}/audio/taglib
84
85 DOCUMENT_MINERS_CONFIGURE_ENABLE=       libgxps poppler libxml2 libgsf \
86                                 abiword dvi ps exempi text
87 DOCUMENT_MINERS_LIB_DEPENDS=    libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
88                                 libgxps.so:${PORTSDIR}/graphics/libgxps \
89                                 libgsf-1.so:${PORTSDIR}/devel/libgsf \
90                                 libexempi.so:${PORTSDIR}/textproc/exempi \
91                                 libwv.so:${PORTSDIR}/textproc/wv
92
93 GRAPHIC_MINERS_CONFIGURE_ENABLE=        libexif libgif libjpeg libtiff icon libpng
94 GRAPHIC_MINERS_LIB_DEPENDS=     libexif.so:${PORTSDIR}/graphics/libexif \
95                                 libgif.so:${PORTSDIR}/graphics/giflib \
96                                 libpng.so:${PORTSDIR}/graphics/png \
97                                 libtiff.so:${PORTSDIR}/graphics/tiff
98
99 NAUTILUS_CONFIGURE_ENABLE=      nautilus-extension
100 NAUTILUS_USE=           GNOME=nautilus3
101
102 .include <bsd.port.mk>