pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libqtxdg: LXQt update
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Mon Apr 17 10:19:32 2023 +0200
Changeset: afc5f568f13d3579c04e8115601e0fe3fadea986
Modified Files:
Makefile
Added Files:
libqtxdg/DESCR
libqtxdg/Makefile
libqtxdg/PLIST
libqtxdg/buildlink3.mk
libqtxdg/commit_msg
libqtxdg/distinfo
libqtxdg/patches/patch-CMakeLists.txt
Log Message:
libqtxdg: LXQt update
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=afc5f568f13d3579c04e8115601e0fe3fadea986
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libqtxdg/DESCR | 1 +
libqtxdg/Makefile | 54 +++++++++++++++++++++++++++++++++++
libqtxdg/PLIST | 45 +++++++++++++++++++++++++++++
libqtxdg/buildlink3.mk | 16 +++++++++++
libqtxdg/commit_msg | 6 ++++
libqtxdg/distinfo | 6 ++++
libqtxdg/patches/patch-CMakeLists.txt | 15 ++++++++++
8 files changed, 144 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 83d81e2514..35b8be596b 100644
--- a/Makefile
+++ b/Makefile
@@ -2143,6 +2143,7 @@ SUBDIR+= libpsurface
SUBDIR+= libpthread-stubs
SUBDIR+= libpusb
SUBDIR+= libqd
+SUBDIR+= libqtxdg
SUBDIR+= libquantum
SUBDIR+= libraw1394
SUBDIR+= libre
diff --git a/libqtxdg/DESCR b/libqtxdg/DESCR
new file mode 100644
index 0000000000..b2efa3de8f
--- /dev/null
+++ b/libqtxdg/DESCR
@@ -0,0 +1 @@
+Library providing freedesktop.org specs implementations for Qt.
diff --git a/libqtxdg/Makefile b/libqtxdg/Makefile
new file mode 100644
index 0000000000..9a3868e7e4
--- /dev/null
+++ b/libqtxdg/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.24 2023/04/03 20:21:28 nros Exp $
+
+DISTNAME= libqtxdg-3.11.0
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/}
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/lxqt/libqtxdg/
+COMMENT= Qt implementation of freedesktop.org xdg specs
+LICENSE= gnu-lgpl-v2.1
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ..
+
+QTXDG_CONF= share/lxqt
+PKG_SYSCONFSUBDIR= xdg
+
+SUBST_CLASSES+= prefix
+SUBST_MESSAGE.prefix= Fixing paths.
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= src/qtxdg/xdgdirs.cpp
+SUBST_SED.prefix= -e 's,/etc/xdg,${PKG_SYSCONFDIR},g'
+SUBST_SED.prefix+= -e 's,/usr/share,${PREFIX}/share,g'
+
+CONF_FILES= ${QTXDG_CONF}/lxqt-qtxdg.conf \
+ ${PKG_SYSCONFDIR}/lxqt-qtxdg.conf
+CONF_FILES+= ${QTXDG_CONF}/qtxdg.conf \
+ ${PKG_SYSCONFDIR}/qtxdg.conf
+
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Bsymbolic
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Bsymbolic-functions
+BUILDLINK_TRANSFORM.SunOS+= rm:-fuse-linker-plugin
+
+pre-configure:
+ ${MKDIR} -p ${WRKSRC}/build
+
+TOOL_DEPENDS+= lxqt-build-tools>=0.12.0:../../devel/lxqt-build-tools
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "NetBSD" || ${X11_TYPE} == "modular"
+DEPENDS+= {xterm,mxterm}-[0-9]*:../../x11/xterm
+.endif
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libqtxdg/PLIST b/libqtxdg/PLIST
new file mode 100644
index 0000000000..9deb9fcbe6
--- /dev/null
+++ b/libqtxdg/PLIST
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.5 2022/05/11 00:30:42 gutteridge Exp $
+include/qt5xdg/XdgAction
+include/qt5xdg/XdgAutoStart
+include/qt5xdg/XdgDefaultApps
+include/qt5xdg/XdgDesktopFile
+include/qt5xdg/XdgDirs
+include/qt5xdg/XdgIcon
+include/qt5xdg/XdgMenu
+include/qt5xdg/XdgMenuWidget
+include/qt5xdg/XdgMimeApps
+include/qt5xdg/XdgMimeType
+include/qt5xdg/XmlHelper
+include/qt5xdg/xdgaction.h
+include/qt5xdg/xdgautostart.h
+include/qt5xdg/xdgdefaultapps.h
+include/qt5xdg/xdgdesktopfile.h
+include/qt5xdg/xdgdirs.h
+include/qt5xdg/xdgicon.h
+include/qt5xdg/xdgmacros.h
+include/qt5xdg/xdgmenu.h
+include/qt5xdg/xdgmenuwidget.h
+include/qt5xdg/xdgmimeapps.h
+include/qt5xdg/xdgmimetype.h
+include/qt5xdg/xmlhelper.h
+include/qt5xdgiconloader/${PKGVERSION}/private/xdgiconloader/xdgiconloader_p.h
+include/qt5xdgiconloader/xdgiconloader_export.h
+lib/libQt5Xdg.so
+lib/libQt5Xdg.so.3
+lib/libQt5Xdg.so.${PKGVERSION}
+lib/libQt5XdgIconLoader.so
+lib/libQt5XdgIconLoader.so.3
+lib/libQt5XdgIconLoader.so.${PKGVERSION}
+lib/pkgconfig/Qt5Xdg.pc
+lib/pkgconfig/Qt5XdgIconLoader.pc
+qt5/plugins/iconengines/libQt5XdgIconPlugin.so
+share/cmake/qt5xdg/qt5xdg-config-version.cmake
+share/cmake/qt5xdg/qt5xdg-config.cmake
+share/cmake/qt5xdg/qt5xdg-targets-release.cmake
+share/cmake/qt5xdg/qt5xdg-targets.cmake
+share/cmake/qt5xdgiconloader/qt5xdgiconloader-config-version.cmake
+share/cmake/qt5xdgiconloader/qt5xdgiconloader-config.cmake
+share/cmake/qt5xdgiconloader/qt5xdgiconloader-targets-release.cmake
+share/cmake/qt5xdgiconloader/qt5xdgiconloader-targets.cmake
+share/lxqt/lxqt-qtxdg.conf
+share/lxqt/qtxdg.conf
diff --git a/libqtxdg/buildlink3.mk b/libqtxdg/buildlink3.mk
new file mode 100644
index 0000000000..571e4e41ae
--- /dev/null
+++ b/libqtxdg/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.20 2023/01/29 21:15:12 ryoon Exp $
+
+BUILDLINK_TREE+= libqtxdg
+
+.if !defined(LIBQTXDG_BUILDLINK3_MK)
+LIBQTXDG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libqtxdg+= libqtxdg>=3.11.0
+BUILDLINK_PKGSRCDIR.libqtxdg?= ../../x11/libqtxdg
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.endif # LIBQTXDG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libqtxdg
diff --git a/libqtxdg/commit_msg b/libqtxdg/commit_msg
new file mode 100644
index 0000000000..a752eb9107
--- /dev/null
+++ b/libqtxdg/commit_msg
@@ -0,0 +1,6 @@
+x11/libqtxdg: update to 3.11.0
+
+libqtxdg-3.11.0 / 2023-04-15
+============================
+ * Fixed file association with symlink desktop entries.
+ * Fixed typos.
diff --git a/libqtxdg/distinfo b/libqtxdg/distinfo
new file mode 100644
index 0000000000..50a6a51a39
--- /dev/null
+++ b/libqtxdg/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.10 2022/11/10 01:00:11 gutteridge Exp $
+
+BLAKE2s (libqtxdg-3.11.0.tar.xz) = 97a180400b24e8d903d300e9f96e2041fbf2b667b3af141c00c9c211f4197a11
+SHA512 (libqtxdg-3.11.0.tar.xz) = 494140fa35e184c128c851f06501b5c62324a796d3f61ed47b750dbdffff756c1a42240d4458797e2f2f01c9b06b997f0fbfc76fe7f99866f7cad084ac1342f7
+Size (libqtxdg-3.11.0.tar.xz) = 71688 bytes
+SHA1 (patch-CMakeLists.txt) = 9935490d2250041107499df3a2324c6478922e5f
diff --git a/libqtxdg/patches/patch-CMakeLists.txt b/libqtxdg/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..d402d67b44
--- /dev/null
+++ b/libqtxdg/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$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()
+
Home |
Main Index |
Thread Index |
Old Index