blob: bcf73589036b53a5017d1ef7586f3cbaaad5cd88 (
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
|
# $NetBSD: Makefile,v 1.1 2020/11/04 12:19:20 nia Exp $
DISTNAME= tracker-3.0.1
PKGNAME= gnome-${DISTNAME}
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/tracker/3.0/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/Projects/Tracker
COMMENT= Desktop-neutral metadata-based search framework
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
USE_TOOLS+= pkg-config xgettext
MESON_ARGS+= -Dsystemd_user_services=false
# workaround for build failure
# https://gitlab.gnome.org/GNOME/json-glib/issues/35
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/src:${WRKSRC}/output/src/libtracker-sparql/
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
PREFER.sqlite3= pkgsrc # fts5
.endif
SUBST_CLASSES+= asciidoc
SUBST_STAGE.asciidoc= pre-configure
SUBST_MESSAGE.asciidoc= Correcting the path to asciidoc files.
SUBST_FILES.asciidoc+= docs/manpages/meson.build
SUBST_SED.asciidoc+= -e "s,/etc/asciidoc,${PREFIX}/share/asciidoc,g"
PYTHON_FOR_BUILD_ONLY= tool
PKGCONFIG_OVERRIDE_STAGE= pre-install
PKGCONFIG_OVERRIDE+= output/meson-private/tracker-sparql-3.0.pc
PKGCONFIG_OVERRIDE+= output/meson-private/tracker-testutils-3.0.pc
.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../net/libsoup/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/json-glib/buildlink3.mk"
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>3.28.0
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|