Sat May 14 11:10:14 2022 UTC ()
gnome-tracker-miners: Apply sha256sum patch everywhere.

It's not just NetBSD that needs this, at least macOS and SmartOS too, and
likely many more.


(jperkin)
diff -r1.20 -r1.21 pkgsrc/sysutils/gnome-tracker-miners/Makefile

cvs diff -r1.20 -r1.21 pkgsrc/sysutils/gnome-tracker-miners/Makefile (expand / switch to unified diff)

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