pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
LXQt: libdbusmenu-lxqt
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Thu Nov 14 12:11:48 2024 +0100
Changeset: 5e392001eb9dbd4093fbe058a31b292e5fd4768b
Modified Files:
Makefile
Added Files:
libdbusmenu-lxqt/COMMIT_MSG
libdbusmenu-lxqt/DESCR
libdbusmenu-lxqt/Makefile
libdbusmenu-lxqt/PLIST
libdbusmenu-lxqt/buildlink3.mk
libdbusmenu-lxqt/distinfo
libdbusmenu-lxqt/patches/patch-tools_CMakeLists.txt
Log Message:
LXQt: libdbusmenu-lxqt
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e392001eb9dbd4093fbe058a31b292e5fd4768b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libdbusmenu-lxqt/COMMIT_MSG | 16 +++++++++++++++
libdbusmenu-lxqt/DESCR | 6 ++++++
libdbusmenu-lxqt/Makefile | 23 ++++++++++++++++++++++
libdbusmenu-lxqt/PLIST | 13 ++++++++++++
libdbusmenu-lxqt/buildlink3.mk | 14 +++++++++++++
libdbusmenu-lxqt/distinfo | 6 ++++++
.../patches/patch-tools_CMakeLists.txt | 12 +++++++++++
8 files changed, 91 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 90d85fd4b4..f2da51ae92 100644
--- a/Makefile
+++ b/Makefile
@@ -1962,6 +1962,7 @@ SUBDIR+= libcxx
SUBDIR+= libcxxabi
SUBDIR+= libdbglog
SUBDIR+= libdbh2
+SUBDIR+= libdbusmenu-lxqt
SUBDIR+= libdialog
SUBDIR+= libdisasm
SUBDIR+= libdjconsole
diff --git a/libdbusmenu-lxqt/COMMIT_MSG b/libdbusmenu-lxqt/COMMIT_MSG
new file mode 100644
index 0000000000..47ec913341
--- /dev/null
+++ b/libdbusmenu-lxqt/COMMIT_MSG
@@ -0,0 +1,16 @@
+devel/libdbusmenu-lxqt: update to 0.2.0
+
+libdbusmenu-lxqt-0.2.0 / 2024-11-05
+===================================
+ * Stop checking for `QIcon::name()` existence.
+ * Fix AUTOMOC related warnings.
+ * Don't redefine already defined macros.
+ * Remove Bazaar stuff.
+ * Use CMake to set the CXX standard in use.
+ * Use CMake to set the symbol visibility.
+ * Remove duplicated compiler flags.
+ * Move compiler flag check/set.
+ * Update Qt6 include directories use.
+ * Update self include directories.
+ * Removes dist and distcheck targets.
+ * Renamed README;compiling instructions.
diff --git a/libdbusmenu-lxqt/DESCR b/libdbusmenu-lxqt/DESCR
new file mode 100644
index 0000000000..496359dd7d
--- /dev/null
+++ b/libdbusmenu-lxqt/DESCR
@@ -0,0 +1,6 @@
+This library provides a Qt implementation of the DBusMenu protocol.
+
+The DBusMenu protocol makes it possible for applications to export and import
+their menus over DBus.
+
+Forked from libdbusmenu-qt, https://github.com/desktop-app/libdbusmenu-qt
diff --git a/libdbusmenu-lxqt/Makefile b/libdbusmenu-lxqt/Makefile
new file mode 100644
index 0000000000..d8f20e599a
--- /dev/null
+++ b/libdbusmenu-lxqt/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.5 2024/11/01 12:52:15 wiz Exp $
+
+DISTNAME= libdbusmenu-lxqt-0.2.0
+CATEGORIES= devel
+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/libdbusmenu-lxqt/
+COMMENT= Library providing a Qt implementation of the DBusMenu protocol
+LICENSE= gnu-lgpl-v2.1
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX}
+
+PKGCONFIG_OVERRIDE+= dbusmenu-lxqt.pc.in
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libdbusmenu-lxqt/PLIST b/libdbusmenu-lxqt/PLIST
new file mode 100644
index 0000000000..a1ae4ce15e
--- /dev/null
+++ b/libdbusmenu-lxqt/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2024/08/02 17:45:04 pin Exp $
+include/dbusmenu-lxqt/dbusmenu_export.h
+include/dbusmenu-lxqt/dbusmenu_version.h
+include/dbusmenu-lxqt/dbusmenuexporter.h
+include/dbusmenu-lxqt/dbusmenuimporter.h
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-config-version.cmake
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-config.cmake
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-targets-noconfig.cmake
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-targets.cmake
+lib/libdbusmenu-lxqt.so
+lib/libdbusmenu-lxqt.so.0
+lib/libdbusmenu-lxqt.so.${PKGVERSION}
+lib/pkgconfig/dbusmenu-lxqt.pc
diff --git a/libdbusmenu-lxqt/buildlink3.mk b/libdbusmenu-lxqt/buildlink3.mk
new file mode 100644
index 0000000000..a1d1c55328
--- /dev/null
+++ b/libdbusmenu-lxqt/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.3 2024/11/01 12:52:15 wiz Exp $
+
+BUILDLINK_TREE+= libdbusmenu-lxqt
+
+.if !defined(LIBDBUSMENU_LXQT_BUILDLINK3_MK)
+LIBDBUSMENU_LXQT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdbusmenu-lxqt+= libdbusmenu-lxqt>=0.2.0
+BUILDLINK_PKGSRCDIR.libdbusmenu-lxqt?= ../../devel/libdbusmenu-lxqt
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.endif # LIBDBUSMENU_LXQT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libdbusmenu-lxqt
diff --git a/libdbusmenu-lxqt/distinfo b/libdbusmenu-lxqt/distinfo
new file mode 100644
index 0000000000..3d2b570fe1
--- /dev/null
+++ b/libdbusmenu-lxqt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/08/02 17:45:04 pin Exp $
+
+BLAKE2s (libdbusmenu-lxqt-0.2.0.tar.xz) = 4f24063c4dda1f872c5fd313143ed181cdd484bffa5b4d6681513a481972bfe2
+SHA512 (libdbusmenu-lxqt-0.2.0.tar.xz) = 891cdd44bbe0ecc12e10dd35dda481097e8c29fd7e2385c322890caebaf92afc5788711225c9cc8e4a480ed4ea2548e88a26a385a36a8329ef1e73eebc037ea4
+Size (libdbusmenu-lxqt-0.2.0.tar.xz) = 39068 bytes
+SHA1 (patch-tools_CMakeLists.txt) = 56c1f4e958a41a933408c42d100e9f545842b864
diff --git a/libdbusmenu-lxqt/patches/patch-tools_CMakeLists.txt b/libdbusmenu-lxqt/patches/patch-tools_CMakeLists.txt
new file mode 100644
index 0000000000..d8a471a0c1
--- /dev/null
+++ b/libdbusmenu-lxqt/patches/patch-tools_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD: patch-tools_CMakeLists.txt,v 1.1 2024/08/02 17:45:04 pin Exp $
+
+Dont accidently find qjson. Taken from devel/libdbusmenu-qt.
+
+--- tools/CMakeLists.txt.orig 2024-06-07 06:03:00.037195901 +0000
++++ tools/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-find_package(QJSON)
++#find_package(QJSON)
+ if (QJSON_FOUND)
+ message(STATUS "QJSON found, testapp will be built")
+ add_subdirectory(testapp)
Home |
Main Index |
Thread Index |
Old Index