summaryrefslogtreecommitdiff
path: root/sysutils/tracker/Makefile
blob: 84197bb479460637a8e100da60d43742e230eee4 (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
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=	tracker
PORTVERSION=	2.0.4
PORTREVISION=	4
CATEGORIES=	sysutils gnome
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Object database, tag/metadata database, search tool and indexer

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

BUILD_DEPENDS=	valac:lang/vala
LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid \
		libsoup-2.4.so:devel/libsoup \
		libjson-glib-1.0.so:devel/json-glib \
		libicutu.so:devel/icu

PORTSCOUT=	limitw:1,even

USES=		compiler:c++11-lib gettext gmake gnome libtool localbase \
		pathfix pkgconfig python:3.4+,build shebangfix sqlite tar:xz
USE_GNOME=	glib20 intltool introspection:build libxml2 
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
CONFIGURE_ARGS=	--disable-static \
		--disable-network-manager \
		--with-bash-completion-dir=no
INSTALL_TARGET=	install-strip
GLIB_SCHEMAS=	org.freedesktop.Tracker.DB.gschema.xml \
		org.freedesktop.Tracker.FTS.gschema.xml \
		org.freedesktop.Tracker.Store.gschema.xml \
		org.freedesktop.Tracker.enums.xml \
		org.freedesktop.Tracker.gschema.xml
SHEBANG_FILES=	utils/g-ir-merge/g-ir-merge

PLIST_SUB=	LIBVER=0.4.0

# force regen of this file, so the correct tracker version is embedded
# https://bugzilla.gnome.org/show_bug.cgi?id=792691
post-patch:
	@${RM} ${WRKSRC}/src/libtracker-sparql/tracker-sparql.vapi

.include <bsd.port.mk>