freebsd-ports/sysutils/tracker/Makefile
Tobias C. Berner 9d3bf227d3 sysutils/tracker: link failure (11.x, old ld(1))
PR:		249990
Submitted by:	John Hein <jcfyecrayz@liamekaens.com>
2020-11-15 10:25:31 +00:00

51 lines
1.4 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= tracker
PORTVERSION= 2.3.4
PORTREVISION= 1
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 gnome localbase:ldflags meson \
pkgconfig python:3.4+,build sqlite tar:xz
USE_GNOME= glib20 introspection:build libxml2
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
MESON_ARGS= -Ddocs=false \
-Dman=true \
-Dnetwork_manager=disabled \
-Dstemmer=disabled \
-Dbash_completion=true \
-Dbash_completion_dir=${PREFIX}/etc/bash_completion.d \
-Dsystemd_user_services=false
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
BINARY_ALIAS= python3=${PYTHON_CMD}
PLIST_SUB= LIBVER=0.304.0
# This can be removed after 11.x is no longer supported
.if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld)
LDFLAGS+= -fuse-ld=lld
.endif
.include <bsd.port.mk>