| @@ -1,62 +1,63 @@ | | | @@ -1,62 +1,63 @@ |
1 | # $NetBSD: Makefile,v 1.3 2020/11/11 15:47:50 jmcneill Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2020/11/12 09:54:28 nia 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= 1 | | 5 | PKGREVISION= 1 |
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-[0-9]*:../../textproc/asciidoc | | 15 | TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc |
| | | 16 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |
16 | | | 17 | |
17 | USE_TOOLS+= pkg-config xgettext | | 18 | USE_TOOLS+= pkg-config xgettext |
18 | | | 19 | |
19 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/tracker-miners-3.0 | | 20 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/tracker-miners-3.0 |
20 | | | 21 | |
21 | MESON_ARGS+= -Dnetwork_manager=disabled | | 22 | MESON_ARGS+= -Dnetwork_manager=disabled |
22 | MESON_ARGS+= -Dminer_rss=false | | 23 | MESON_ARGS+= -Dminer_rss=false |
23 | MESON_ARGS+= -Dsystemd_user_services=false | | 24 | MESON_ARGS+= -Dsystemd_user_services=false |
24 | | | 25 | |
25 | .include "../../mk/bsd.prefs.mk" | | 26 | .include "../../mk/bsd.prefs.mk" |
26 | | | 27 | |
27 | .if ${OPSYS} == "NetBSD" | | 28 | .if ${OPSYS} == "NetBSD" |
28 | SUBST_CLASSES+= sha shabuild | | 29 | SUBST_CLASSES+= sha shabuild |
29 | SUBST_STAGE.sha= pre-configure | | 30 | SUBST_STAGE.sha= pre-configure |
30 | SUBST_MESSAGE.sha= Fixing the name of the SHA256 tool. | | 31 | SUBST_MESSAGE.sha= Fixing the name of the SHA256 tool. |
31 | SUBST_FILES.sha+= src/tracker-extract/calculate-hash.sh | | 32 | SUBST_FILES.sha+= src/tracker-extract/calculate-hash.sh |
32 | SUBST_SED.sha+= -e "s,sha256sum,shasum -a 256,g" | | 33 | SUBST_SED.sha+= -e "s,sha256sum,shasum -a 256,g" |
33 | SUBST_STAGE.shabuild= pre-configure | | 34 | SUBST_STAGE.shabuild= pre-configure |
34 | SUBST_MESSAGE.shabuild= Fixing the name of the SHA256 tool. | | 35 | SUBST_MESSAGE.shabuild= Fixing the name of the SHA256 tool. |
35 | SUBST_FILES.shabuild+= meson.build | | 36 | SUBST_FILES.shabuild+= meson.build |
36 | SUBST_SED.shabuild+= -e "s,sha256sum,shasum,g" | | 37 | SUBST_SED.shabuild+= -e "s,sha256sum,shasum,g" |
37 | .endif | | 38 | .endif |
38 | | | 39 | |
39 | SUBST_CLASSES+= asciidoc | | 40 | SUBST_CLASSES+= asciidoc |
40 | SUBST_STAGE.asciidoc= pre-configure | | 41 | SUBST_STAGE.asciidoc= pre-configure |
41 | SUBST_MESSAGE.asciidoc= Correcting the path to asciidoc files. | | 42 | SUBST_MESSAGE.asciidoc= Correcting the path to asciidoc files. |
42 | SUBST_FILES.asciidoc+= docs/manpages/meson.build | | 43 | SUBST_FILES.asciidoc+= docs/manpages/meson.build |
43 | SUBST_SED.asciidoc+= -e "s,/etc/asciidoc,${PREFIX}/share/asciidoc,g" | | 44 | SUBST_SED.asciidoc+= -e "s,/etc/asciidoc,${PREFIX}/share/asciidoc,g" |
44 | | | 45 | |
45 | CONF_FILES+= ${PREFIX}/share/examples/xdg/autostart/tracker-miner-fs-3.desktop \ | | 46 | CONF_FILES+= ${PREFIX}/share/examples/xdg/autostart/tracker-miner-fs-3.desktop \ |
46 | ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-fs-3.desktop | | 47 | ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-fs-3.desktop |
47 | | | 48 | |
48 | .include "../../devel/meson/build.mk" | | 49 | .include "../../devel/meson/build.mk" |
49 | .include "../../devel/glib2/schemas.mk" | | 50 | .include "../../devel/glib2/schemas.mk" |
50 | .include "../../devel/exempi/buildlink3.mk" | | 51 | .include "../../devel/exempi/buildlink3.mk" |
51 | .include "../../graphics/gexiv2/buildlink3.mk" | | 52 | .include "../../graphics/gexiv2/buildlink3.mk" |
52 | .include "../../graphics/giflib/buildlink3.mk" | | 53 | .include "../../graphics/giflib/buildlink3.mk" |
53 | .include "../../graphics/libexif/buildlink3.mk" | | 54 | .include "../../graphics/libexif/buildlink3.mk" |
54 | .include "../../multimedia/ffmpeg4/buildlink3.mk" | | 55 | .include "../../multimedia/ffmpeg4/buildlink3.mk" |
55 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" | | 56 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" |
56 | .include "../../multimedia/totem-pl-parser/buildlink3.mk" | | 57 | .include "../../multimedia/totem-pl-parser/buildlink3.mk" |
57 | .include "../../print/poppler-glib/buildlink3.mk" | | 58 | .include "../../print/poppler-glib/buildlink3.mk" |
58 | .include "../../sysutils/dbus/buildlink3.mk" | | 59 | .include "../../sysutils/dbus/buildlink3.mk" |
59 | .include "../../sysutils/gnome-tracker/buildlink3.mk" | | 60 | .include "../../sysutils/gnome-tracker/buildlink3.mk" |
60 | .include "../../sysutils/upower/buildlink3.mk" | | 61 | .include "../../sysutils/upower/buildlink3.mk" |
61 | .include "../../textproc/enca/buildlink3.mk" | | 62 | .include "../../textproc/enca/buildlink3.mk" |
62 | .include "../../mk/bsd.pkg.mk" | | 63 | .include "../../mk/bsd.pkg.mk" |