summaryrefslogtreecommitdiff
path: root/sysutils/tracker-miners/Makefile
blob: deed09862368926d1e1bc73a090e8fe5f67afd31 (plain)
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
PORTNAME=	tracker-miners
PORTVERSION=	2.3.5
PORTREVISION=	31
CATEGORIES=	sysutils gnome
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Miners for tracker2
WWW=		https://wiki.gnome.org/Projects/Tracker

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING.LGPL

LIB_DEPENDS=	libicuuc.so:devel/icu \
		libupower-glib.so:sysutils/upower \
		libexempi.so:textproc/exempi \
		libcue.so:textproc/libcue \
		libiptcdata.so:graphics/libiptcdata \
		libFLAC.so:audio/flac \
		libtotem-plparser.so:multimedia/totem-pl-parser \
		libpoppler-glib.so:graphics/poppler-glib \
		libpng.so:graphics/png \
		libtag.so:audio/taglib \
		libtiff.so:graphics/tiff \
		libgif.so:graphics/giflib \
		libvorbisfile.so:audio/libvorbis \
		libgxps.so:graphics/libgxps \
		libexif.so:graphics/libexif \
		libgexiv2.so:graphics/gexiv2 \
		libtracker-miner-2.0.so:sysutils/tracker

PORTSCOUT=	limitw:1,even

USES=		gettext gnome jpeg localbase:ldflags meson \
		pathfix pkgconfig python:3.4+,build sqlite tar:xz vala:build
USE_GNOME=	cairo intltool libgsf libxml2

MESON_ARGS=	-Dsystemd_user_services=no \
		-Dcharset_detection=icu \
#		-Dbattery_detection=hal

OPTIONS_SUB=	yes
OPTIONS_DEFINE=		GSTREAMER RSS
OPTIONS_DEFAULT=	GSTREAMER RSS

GSTREAMER_USES=		gstreamer
GSTREAMER_MESON_ON=	-Dgeneric_media_extractor=gstreamer
GSTREAMER_MESON_OFF=	-Dgeneric_media_extractor=none

RSS_DESC=		Tracker RSS miner
RSS_MESON_TRUE=		miner_rss
RSS_LIB_DEPENDS=	libgrss.so:net/libgrss

PLIST_SUB=	LIBVER=0.2.0

GLIB_SCHEMAS=	org.freedesktop.Tracker.Extract.gschema.xml \
		org.freedesktop.Tracker.Miner.Files.gschema.xml \
		org.freedesktop.Tracker.Writeback.gschema.xml \
		org.freedesktop.TrackerMiners.enums.xml

#post-install:
#	${RM} -rf ${STAGEDIR}/${PREFIX}/lib/systemd

.include <bsd.port.mk>