pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add libdbusmenu-lxqt: part of LXQt-2.0.0



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Jun 7 08:28:56 2024 +0200
Changeset:	797f3520f6f3fdab90fff726274769c05c739c7b

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:
Add libdbusmenu-lxqt: part of LXQt-2.0.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=797f3520f6f3fdab90fff726274769c05c739c7b

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                        |  5 +++++
 libdbusmenu-lxqt/DESCR                             |  6 ++++++
 libdbusmenu-lxqt/Makefile                          | 24 ++++++++++++++++++++++
 libdbusmenu-lxqt/PLIST                             | 13 ++++++++++++
 libdbusmenu-lxqt/buildlink3.mk                     | 14 +++++++++++++
 libdbusmenu-lxqt/distinfo                          |  6 ++++++
 .../patches/patch-tools_CMakeLists.txt             | 12 +++++++++++
 8 files changed, 81 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 9bcf2db49d..662e8fe2f7 100644
--- a/Makefile
+++ b/Makefile
@@ -1915,6 +1915,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..116ebf2a34
--- /dev/null
+++ b/libdbusmenu-lxqt/COMMIT_MSG
@@ -0,0 +1,5 @@
+This is the first release of libdbusmenu-lxqt, which is forked from libdbusmenu-qt and ported to Qt6. Also,
+
+ - Turned off building of documentation by default.
+ - Fixed triggering of menu actions with Qt6.
+
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..fea54dabf4
--- /dev/null
+++ b/libdbusmenu-lxqt/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	libdbusmenu-lxqt-0.1.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_CMAKE=	yes
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+
+CMAKE_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..7fdd2e973c
--- /dev/null
+++ b/libdbusmenu-lxqt/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+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..cf031d30c4
--- /dev/null
+++ b/libdbusmenu-lxqt/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libdbusmenu-lxqt
+
+.if !defined(LIBDBUSMENU_LXQT_BUILDLINK3_MK)
+LIBDBUSMENU_LXQT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdbusmenu-lxqt+=	libdbusmenu-lxqt>=0.1.0
+BUILDLINK_PKGSRCDIR.libdbusmenu-lxqt?=	../../wip/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..14fd5fe072
--- /dev/null
+++ b/libdbusmenu-lxqt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (libdbusmenu-lxqt-0.1.0.tar.xz) = 429b78f6006c2d95b4753f928174ae35632f88d9b581d427ba2a0952c6dac774
+SHA512 (libdbusmenu-lxqt-0.1.0.tar.xz) = 8c09f9bd4b3c60db1666f5a53ea84c67d2d120b215eca6563c32385387e100fe591cb8653a283750444356c61306cf385507edb6a507b22427eb6f18aa972fb5
+Size (libdbusmenu-lxqt-0.1.0.tar.xz) = 39232 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..a693836490
--- /dev/null
+++ b/libdbusmenu-lxqt/patches/patch-tools_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD$
+
+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