| @@ -1,17 +1,16 @@ | | | @@ -1,17 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.65 2023/11/14 14:02:41 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.66 2024/02/06 15:53:55 dogcow Exp $ |
2 | | | 2 | |
3 | PKGNAME= transmission-gtk-${VERSION} | | 3 | PKGNAME= transmission-gtk-${VERSION} |
4 | PKGREVISION= 5 | | | |
5 | COMMENT= Free, lightweight BitTorrent client (GTK version) | | 4 | COMMENT= Free, lightweight BitTorrent client (GTK version) |
6 | | | 5 | |
7 | DEPENDS+= transmission-common>=${VERSION}:../../net/transmission-common | | 6 | DEPENDS+= transmission-common>=${VERSION}:../../net/transmission-common |
8 | | | 7 | |
9 | CONFLICTS+= Transmission-gui-[0-9]* | | 8 | CONFLICTS+= Transmission-gui-[0-9]* |
10 | | | 9 | |
11 | .include "../../net/transmission/Makefile.common" | | 10 | .include "../../net/transmission/Makefile.common" |
12 | | | 11 | |
13 | CMAKE_ARGS+= -DENABLE_DAEMON=OFF | | 12 | CMAKE_ARGS+= -DENABLE_DAEMON=OFF |
14 | CMAKE_ARGS+= -DENABLE_GTK=ON | | 13 | CMAKE_ARGS+= -DENABLE_GTK=ON |
15 | CMAKE_ARGS+= -DENABLE_QT=OFF | | 14 | CMAKE_ARGS+= -DENABLE_QT=OFF |
16 | CMAKE_ARGS+= -DENABLE_MAC=OFF | | 15 | CMAKE_ARGS+= -DENABLE_MAC=OFF |
17 | CMAKE_ARGS+= -DENABLE_WEB=OFF | | 16 | CMAKE_ARGS+= -DENABLE_WEB=OFF |
| @@ -21,16 +20,17 @@ CMAKE_ARGS+= -DINSTALL_DOC=OFF | | | @@ -21,16 +20,17 @@ CMAKE_ARGS+= -DINSTALL_DOC=OFF |
21 | CMAKE_ARGS+= -DENABLE_TESTS=OFF | | 20 | CMAKE_ARGS+= -DENABLE_TESTS=OFF |
22 | | | 21 | |
23 | # https://github.com/transmission/transmission/issues/4864 | | 22 | # https://github.com/transmission/transmission/issues/4864 |
24 | post-install: | | 23 | post-install: |
25 | ${RM} -R ${DESTDIR}${PREFIX}/share/transmission/public_html | | 24 | ${RM} -R ${DESTDIR}${PREFIX}/share/transmission/public_html |
26 | | | 25 | |
27 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 26 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
28 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 27 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
29 | # XXX: this doesn't work - builtin 0.16.1 is accepted | | 28 | # XXX: this doesn't work - builtin 0.16.1 is accepted |
30 | BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.19.7 | | 29 | BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.19.7 |
31 | .include "../../devel/gettext-lib/buildlink3.mk" | | 30 | .include "../../devel/gettext-lib/buildlink3.mk" |
32 | # XXX: so force new gettext-tools, giving us new gettext-lib | | 31 | # XXX: so force new gettext-tools, giving us new gettext-lib |
33 | .include "../../devel/gettext-tools/msgfmt-desktop.mk" | | 32 | .include "../../devel/gettext-tools/msgfmt-desktop.mk" |
34 | .include "../../x11/gtkmm4/buildlink3.mk" | | 33 | BUILDLINK_API_DEPENDS.gtkmm4+= gtkmm4>=4.11.1 |
| | | 34 | .include "../../x11/gtkmm3/buildlink3.mk" |
35 | .include "../../devel/cmake/build.mk" | | 35 | .include "../../devel/cmake/build.mk" |
36 | .include "../../mk/bsd.pkg.mk" | | 36 | .include "../../mk/bsd.pkg.mk" |