libqtxdg: update to 3.9.1 (Specific functionality in this package has now been split out to qtxdg-tools.) libqtxdg-3.9.1 / 2022-05-08 =========================== * Separated `qtxdg-mat` and made installation of config files optional (to prepare for Qt6).diff -r1.19 -r1.20 pkgsrc/x11/libqtxdg/Makefile
(gutteridge)
@@ -1,42 +1,48 @@ | @@ -1,42 +1,48 @@ | |||
1 | # $NetBSD: Makefile,v 1.19 2022/04/24 15:00:00 pin Exp $ | 1 | # $NetBSD: Makefile,v 1.20 2022/05/11 00:30:42 gutteridge Exp $ | |
2 | 2 | |||
3 | DISTNAME= libqtxdg-3.9.0 | 3 | DISTNAME= libqtxdg-3.9.1 | |
4 | CATEGORIES= x11 | 4 | CATEGORIES= x11 | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/} | |
6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | 6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/lxqt/libqtxdg/ | 10 | HOMEPAGE= https://github.com/lxqt/libqtxdg/ | |
11 | COMMENT= Qt implementation of freedesktop.org xdg specs | 11 | COMMENT= Qt implementation of freedesktop.org xdg specs | |
12 | LICENSE= gnu-lgpl-v2.1 | 12 | LICENSE= gnu-lgpl-v2.1 | |
13 | 13 | |||
14 | USE_CMAKE= yes | 14 | USE_CMAKE= yes | |
15 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
16 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ | |
17 | 17 | |||
18 | CONFIGURE_DIRS= build | 18 | CONFIGURE_DIRS= build | |
19 | CMAKE_ARG_PATH= .. | 19 | CMAKE_ARG_PATH= .. | |
20 | 20 | |||
21 | QTXDG_CONF= share/lxqt | |||
21 | PKG_SYSCONFSUBDIR= xdg | 22 | PKG_SYSCONFSUBDIR= xdg | |
22 | 23 | |||
23 | SUBST_CLASSES+= prefix | 24 | SUBST_CLASSES+= prefix | |
24 | SUBST_MESSAGE.prefix= Fixing paths. | 25 | SUBST_MESSAGE.prefix= Fixing paths. | |
25 | SUBST_STAGE.prefix= pre-configure | 26 | SUBST_STAGE.prefix= pre-configure | |
26 | SUBST_FILES.prefix= src/qtxdg/xdgdirs.cpp | 27 | SUBST_FILES.prefix= src/qtxdg/xdgdirs.cpp | |
27 | SUBST_SED.prefix= -e 's,/etc/xdg,${PKG_SYSCONFDIR},g' | 28 | SUBST_SED.prefix= -e 's,/etc/xdg,${PKG_SYSCONFDIR},g' | |
28 | SUBST_SED.prefix+= -e 's,/usr/share,${PREFIX}/share,g' | 29 | SUBST_SED.prefix+= -e 's,/usr/share,${PREFIX}/share,g' | |
29 | 30 | |||
31 | CONF_FILES= ${QTXDG_CONF}/lxqt-qtxdg.conf \ | |||
32 | ${PKG_SYSCONFDIR}/lxqt-qtxdg.conf | |||
33 | CONF_FILES+= ${QTXDG_CONF}/qtxdg.conf \ | |||
34 | ${PKG_SYSCONFDIR}/qtxdg.conf | |||
35 | ||||
30 | BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Bsymbolic | 36 | BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Bsymbolic | |
31 | BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Bsymbolic-functions | 37 | BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Bsymbolic-functions | |
32 | BUILDLINK_TRANSFORM.SunOS+= rm:-fuse-linker-plugin | 38 | BUILDLINK_TRANSFORM.SunOS+= rm:-fuse-linker-plugin | |
33 | 39 | |||
34 | pre-configure: | 40 | pre-configure: | |
35 | ${MKDIR} -p ${WRKSRC}/build | 41 | ${MKDIR} -p ${WRKSRC}/build | |
36 | 42 | |||
37 | TOOL_DEPENDS+= lxqt-build-tools>=0.11.0:../../devel/lxqt-build-tools | 43 | TOOL_DEPENDS+= lxqt-build-tools>=0.11.0:../../devel/lxqt-build-tools | |
38 | TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools | 44 | TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools | |
39 | 45 | |||
40 | .include "../../mk/bsd.prefs.mk" | 46 | .include "../../mk/bsd.prefs.mk" | |
41 | .if ${OPSYS} != "NetBSD" || ${X11_TYPE} == "modular" | 47 | .if ${OPSYS} != "NetBSD" || ${X11_TYPE} == "modular" | |
42 | DEPENDS+= {xterm,mxterm}-[0-9]*:../../x11/xterm | 48 | DEPENDS+= {xterm,mxterm}-[0-9]*:../../x11/xterm |
@@ -1,15 +1,14 @@ | @@ -1,15 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2021/11/19 09:30:11 pin Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2022/05/11 00:30:42 gutteridge Exp $ | |
2 | bin/qtxdg-mat | |||
3 | include/qt5xdg/XdgAction | 2 | include/qt5xdg/XdgAction | |
4 | include/qt5xdg/XdgAutoStart | 3 | include/qt5xdg/XdgAutoStart | |
5 | include/qt5xdg/XdgDefaultApps | 4 | include/qt5xdg/XdgDefaultApps | |
6 | include/qt5xdg/XdgDesktopFile | 5 | include/qt5xdg/XdgDesktopFile | |
7 | include/qt5xdg/XdgDirs | 6 | include/qt5xdg/XdgDirs | |
8 | include/qt5xdg/XdgIcon | 7 | include/qt5xdg/XdgIcon | |
9 | include/qt5xdg/XdgMenu | 8 | include/qt5xdg/XdgMenu | |
10 | include/qt5xdg/XdgMenuWidget | 9 | include/qt5xdg/XdgMenuWidget | |
11 | include/qt5xdg/XdgMimeApps | 10 | include/qt5xdg/XdgMimeApps | |
12 | include/qt5xdg/XdgMimeType | 11 | include/qt5xdg/XdgMimeType | |
13 | include/qt5xdg/XmlHelper | 12 | include/qt5xdg/XmlHelper | |
14 | include/qt5xdg/xdgaction.h | 13 | include/qt5xdg/xdgaction.h | |
15 | include/qt5xdg/xdgautostart.h | 14 | include/qt5xdg/xdgautostart.h |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.8 2022/04/24 15:00:00 pin Exp $ | 1 | $NetBSD: distinfo,v 1.9 2022/05/11 00:30:42 gutteridge Exp $ | |
2 | 2 | |||
3 | BLAKE2s (libqtxdg-3.9.0.tar.xz) = 94fdd6cad1d45c21390f5710595de910b9f1754563818b8671ed6d1144e6c37f | 3 | BLAKE2s (libqtxdg-3.9.1.tar.xz) = 7d8a5a146f72f3c1615bdf72b52d60a0c1dcaa1e68b291839a44b66b18b2e094 | |
4 | SHA512 (libqtxdg-3.9.0.tar.xz) = ec2763f148125fc62518eedbc28d1c1bed9337c15da566342749cbb3659ed7d5b8771785df116fe3d707f613c5d79337e440993bfa713fbc5b280acc3d687cfa | 4 | SHA512 (libqtxdg-3.9.1.tar.xz) = 1b05a10649229a34e3b653c37abefbb02c8b456d77aaabed0e47668818ee29730ea049d96bc5c71c9ad83d1c9c87888195bf228dc9817fd27053f0286752978c | |
5 | Size (libqtxdg-3.9.0.tar.xz) = 76760 bytes | 5 | Size (libqtxdg-3.9.1.tar.xz) = 71604 bytes | |
6 | SHA1 (patch-CMakeLists.txt) = 9935490d2250041107499df3a2324c6478922e5f |
$NetBSD: patch-CMakeLists.txt,v 1.1 2022/05/11 00:30:42 gutteridge Exp $
Install config files to pkgsrc standard location.
--- CMakeLists.txt.orig 2022-05-10 19:59:47.077468288 +0000
+++ CMakeLists.txt
@@ -68,7 +68,7 @@ message(STATUS "Building ${PROJECT_NAME}
if (QTXDG_INSTALL_DEFAPPS_CONFIG)
file(GLOB QTXDG_CONFIG_FILES config/*.conf)
set(QTXDG_DEFAPPS_CONF_INSTALL_DIR
- "${LXQT_ETC_XDG_DIR}" CACHE PATH "Path to qtxdg default apps conf files install dir")
+ "${CMAKE_INSTALL_FULL_DATADIR}/lxqt" CACHE PATH "Path to qtxdg default apps conf files install dir")
mark_as_advanced(QTXDG_DEFAPPS_CONF_INSTALL_DIR)
endif()