| @@ -1,50 +1,48 @@ | | | @@ -1,50 +1,48 @@ |
1 | # $NetBSD: Makefile,v 1.20 2022/05/04 21:05:45 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.21 2022/05/14 11:10:14 jperkin Exp $ |
2 | | | 2 | |
3 | DISTNAME= tracker-miners-3.0.1 | | 3 | DISTNAME= tracker-miners-3.0.1 |
4 | PKGNAME= gnome-${DISTNAME} | | 4 | PKGNAME= gnome-${DISTNAME} |
5 | PKGREVISION= 14 | | 5 | PKGREVISION= 14 |
6 | CATEGORIES= sysutils gnome | | 6 | CATEGORIES= sysutils gnome |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/tracker-miners/3.0/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/tracker-miners/3.0/} |
8 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://wiki.gnome.org/Projects/Tracker | | 11 | HOMEPAGE= https://wiki.gnome.org/Projects/Tracker |
12 | COMMENT= Desktop-neutral metadata-based search framework | | 12 | COMMENT= Desktop-neutral metadata-based search framework |
13 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | | 13 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 |
14 | | | 14 | |
15 | TOOL_DEPENDS+= asciidoc>=10.1.4:../../textproc/asciidoc | | 15 | TOOL_DEPENDS+= asciidoc>=10.1.4:../../textproc/asciidoc |
16 | | | 16 | |
17 | USE_TOOLS+= pkg-config xgettext gdbus-codegen | | 17 | USE_TOOLS+= pkg-config xgettext gdbus-codegen |
18 | | | 18 | |
19 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/tracker-miners-3.0 | | 19 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/tracker-miners-3.0 |
20 | | | 20 | |
21 | MESON_ARGS+= -Dnetwork_manager=disabled | | 21 | MESON_ARGS+= -Dnetwork_manager=disabled |
22 | MESON_ARGS+= -Dminer_rss=false | | 22 | MESON_ARGS+= -Dminer_rss=false |
23 | MESON_ARGS+= -Dsystemd_user_services=false | | 23 | MESON_ARGS+= -Dsystemd_user_services=false |
24 | | | 24 | |
25 | .include "../../mk/bsd.prefs.mk" | | 25 | SUBST_CLASSES+= sha |
26 | | | | |
27 | .if ${OPSYS} == "NetBSD" | | | |
28 | SUBST_CLASSES+= sha shabuild | | | |
29 | SUBST_STAGE.sha= pre-configure | | 26 | SUBST_STAGE.sha= pre-configure |
30 | SUBST_MESSAGE.sha= Fixing the name of the SHA256 tool. | | 27 | SUBST_MESSAGE.sha= Fixing the name of the SHA256 tool. |
31 | SUBST_FILES.sha+= src/tracker-extract/calculate-hash.sh | | 28 | SUBST_FILES.sha+= src/tracker-extract/calculate-hash.sh |
32 | SUBST_SED.sha+= -e "s,sha256sum,shasum -a 256,g" | | 29 | SUBST_SED.sha+= -e "s,sha256sum,shasum -a 256,g" |
| | | 30 | |
| | | 31 | SUBST_CLASSES+= shabuild |
33 | SUBST_STAGE.shabuild= pre-configure | | 32 | SUBST_STAGE.shabuild= pre-configure |
34 | SUBST_MESSAGE.shabuild= Fixing the name of the SHA256 tool. | | 33 | SUBST_MESSAGE.shabuild= Fixing the name of the SHA256 tool. |
35 | SUBST_FILES.shabuild+= meson.build | | 34 | SUBST_FILES.shabuild+= meson.build |
36 | SUBST_SED.shabuild+= -e "s,sha256sum,shasum,g" | | 35 | SUBST_SED.shabuild+= -e "s,sha256sum,shasum,g" |
37 | .endif | | | |
38 | | | 36 | |
39 | .include "../../lang/python/pyversion.mk" | | 37 | .include "../../lang/python/pyversion.mk" |
40 | | | 38 | |
41 | SUBST_CLASSES+= asciidoc | | 39 | SUBST_CLASSES+= asciidoc |
42 | SUBST_STAGE.asciidoc= pre-configure | | 40 | SUBST_STAGE.asciidoc= pre-configure |
43 | SUBST_MESSAGE.asciidoc= Correcting the path to asciidoc files. | | 41 | SUBST_MESSAGE.asciidoc= Correcting the path to asciidoc files. |
44 | SUBST_FILES.asciidoc+= docs/manpages/meson.build | | 42 | SUBST_FILES.asciidoc+= docs/manpages/meson.build |
45 | SUBST_SED.asciidoc+= -e "s,/etc/asciidoc,${PREFIX}/${PYSITELIB}/asciidoc/resources/,g" | | 43 | SUBST_SED.asciidoc+= -e "s,/etc/asciidoc,${PREFIX}/${PYSITELIB}/asciidoc/resources/,g" |
46 | | | 44 | |
47 | CONF_FILES+= ${PREFIX}/share/examples/xdg/autostart/tracker-miner-fs-3.desktop \ | | 45 | CONF_FILES+= ${PREFIX}/share/examples/xdg/autostart/tracker-miner-fs-3.desktop \ |
48 | ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-fs-3.desktop | | 46 | ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-fs-3.desktop |
49 | | | 47 | |
50 | PYTHON_FOR_BUILD_ONLY= tool | | 48 | PYTHON_FOR_BUILD_ONLY= tool |