pkgsrc-WIP-changes archive

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

Add libkscreen-qt6: needed for LXQt-2.0.0



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Jun 7 11:23:27 2024 +0200
Changeset:	f5de3005e3c9c0f15e6b815edccde4e656cc1994

Modified Files:
	Makefile
Added Files:
	libkscreen-qt6/DESCR
	libkscreen-qt6/Makefile
	libkscreen-qt6/PLIST
	libkscreen-qt6/buildlink3.mk
	libkscreen-qt6/distinfo
	libkscreen-qt6/patches/patch-backends_kwayland_waylandoutputdevice.cpp

Log Message:
Add libkscreen-qt6: needed for 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=f5de3005e3c9c0f15e6b815edccde4e656cc1994

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 libkscreen-qt6/DESCR                               |  1 +
 libkscreen-qt6/Makefile                            | 24 ++++++
 libkscreen-qt6/PLIST                               | 88 ++++++++++++++++++++++
 libkscreen-qt6/buildlink3.mk                       | 17 +++++
 libkscreen-qt6/distinfo                            |  6 ++
 ...patch-backends_kwayland_waylandoutputdevice.cpp | 14 ++++
 7 files changed, 151 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e0dc8e8271..8c652186d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1986,6 +1986,7 @@ SUBDIR+=	libjdksmidi
 SUBDIR+=	libjingle
 SUBDIR+=	libjxl
 SUBDIR+=	libkml
+SUBDIR+=	libkscreen-qt6
 SUBDIR+=	liblingoteach
 SUBDIR+=	libltc
 SUBDIR+=	liblxqt
diff --git a/libkscreen-qt6/DESCR b/libkscreen-qt6/DESCR
new file mode 100644
index 0000000000..f11fe459cd
--- /dev/null
+++ b/libkscreen-qt6/DESCR
@@ -0,0 +1 @@
+KDE screen management library.
diff --git a/libkscreen-qt6/Makefile b/libkscreen-qt6/Makefile
new file mode 100644
index 0000000000..5505466042
--- /dev/null
+++ b/libkscreen-qt6/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	libkscreen-6.0.5
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_KDE:=plasma/6.0.5/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://invent.kde.org/plasma/libkscreen
+COMMENT=	KDE screen management software
+LICENSE=	gnu-gpl-v2
+
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		c c++
+
+TOOL_DEPENDS+=	extra-cmake-modules>=6.2.0:../../devel/extra-cmake-modules
+TOOL_DEPENDS+=	qt6-qttools-[0-9]*:../../devel/qt6-qttools
+
+.include "../../devel/kf6-kconfig/buildlink3.mk"
+.include "../../wip/kwayland-qt6/buildlink3.mk"
+.include "../../devel/plasma-wayland-protocols/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libkscreen-qt6/PLIST b/libkscreen-qt6/PLIST
new file mode 100644
index 0000000000..72cca1dc06
--- /dev/null
+++ b/libkscreen-qt6/PLIST
@@ -0,0 +1,88 @@
+@comment $NetBSD$
+bin/kscreen-doctor
+include/KF6/KScreen/KScreen/Config
+include/KF6/KScreen/KScreen/ConfigMonitor
+include/KF6/KScreen/KScreen/ConfigOperation
+include/KF6/KScreen/KScreen/EDID
+include/KF6/KScreen/KScreen/GetConfigOperation
+include/KF6/KScreen/KScreen/Log
+include/KF6/KScreen/KScreen/Mode
+include/KF6/KScreen/KScreen/Output
+include/KF6/KScreen/KScreen/Screen
+include/KF6/KScreen/KScreen/SetConfigOperation
+include/KF6/KScreen/KScreen/Types
+include/KF6/KScreen/KScreenDpms/Dpms
+include/KF6/KScreen/kscreen/backendmanager_p.h
+include/KF6/KScreen/kscreen/config.h
+include/KF6/KScreen/kscreen/configmonitor.h
+include/KF6/KScreen/kscreen/configoperation.h
+include/KF6/KScreen/kscreen/edid.h
+include/KF6/KScreen/kscreen/getconfigoperation.h
+include/KF6/KScreen/kscreen/kscreen_export.h
+include/KF6/KScreen/kscreen/log.h
+include/KF6/KScreen/kscreen/mode.h
+include/KF6/KScreen/kscreen/output.h
+include/KF6/KScreen/kscreen/screen.h
+include/KF6/KScreen/kscreen/setconfigoperation.h
+include/KF6/KScreen/kscreen/types.h
+include/KF6/KScreen/kscreendpms/dpms.h
+include/KF6/KScreen/kscreendpms/kscreendpms_export.h
+include/KF6/kscreen_version.h
+lib/cmake/KF6Screen/KF6ScreenConfig.cmake
+lib/cmake/KF6Screen/KF6ScreenConfigVersion.cmake
+lib/cmake/KF6Screen/KF6ScreenTargets-noconfig.cmake
+lib/cmake/KF6Screen/KF6ScreenTargets.cmake
+lib/libKF6Screen.so
+lib/libKF6Screen.so.${PKGVERSION}
+lib/libKF6Screen.so.8
+lib/libKF6ScreenDpms.so
+lib/libKF6ScreenDpms.so.${PKGVERSION}
+lib/libKF6ScreenDpms.so.8
+lib/libexec/kf6/kscreen_backend_launcher
+lib/pkgconfig/KF6Screen.pc
+lib/plugins/kf6/kscreen/KSC_Fake.so
+lib/plugins/kf6/kscreen/KSC_KWayland.so
+lib/plugins/kf6/kscreen/KSC_QScreen.so
+lib/plugins/kf6/kscreen/KSC_XRandR.so
+lib/systemd/user/plasma-kscreen.service
+share/dbus-1/services/org.kde.kscreen.service
+share/locale/ar/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ast/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/bg/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ca/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ca@valencia/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/cs/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/de/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/en_GB/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/eo/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/es/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/eu/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/fi/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/fr/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/gl/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/hu/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ia/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/id/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/is/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/it/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ja/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ka/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ko/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/lt/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/nl/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/nn/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/pl/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/pt/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/pt_BR/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ro/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ru/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/sa/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/sk/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/sl/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/ta/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/tr/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/uk/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/zh_CN/LC_MESSAGES/libkscreen6_qt.qm
+share/locale/zh_TW/LC_MESSAGES/libkscreen6_qt.qm
+share/qlogging-categories6/libkscreen.categories
+share/zsh/site-functions/_kscreen-doctor
diff --git a/libkscreen-qt6/buildlink3.mk b/libkscreen-qt6/buildlink3.mk
new file mode 100644
index 0000000000..861bfc58c2
--- /dev/null
+++ b/libkscreen-qt6/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libkscreen
+
+.if !defined(LIBKSCREEN_BUILDLINK3_MK)
+LIBKSCREEN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libkscreen+=	libkscreen>=6.0.5
+BUILDLINK_PKGSRCDIR.libkscreen?=	../../wip/libkscreen-qt6
+
+.include "../../devel/kf6-kconfig/buildlink3.mk"
+.include "../../wip/kwayland-qt6/buildlink3.mk"
+.include "../../devel/plasma-wayland-protocols/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.endif	# LIBKSCREEN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libkscreen
diff --git a/libkscreen-qt6/distinfo b/libkscreen-qt6/distinfo
new file mode 100644
index 0000000000..ac41d8b32c
--- /dev/null
+++ b/libkscreen-qt6/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (libkscreen-6.0.5.tar.xz) = 97b92a9afff67c1123b090d70efb5a9796770d1e7da714d8c047ba91935b4e5c
+SHA512 (libkscreen-6.0.5.tar.xz) = 39f90cde99f299f152589747e9e454288c4a555eac174965a71aef5b9e7efcb913b453b39d534aa54ed5e694a8ab0fbef7d73b9668a2323042b8f727eff2a66a
+Size (libkscreen-6.0.5.tar.xz) = 117804 bytes
+SHA1 (patch-backends_kwayland_waylandoutputdevice.cpp) = ae1a5dcb1f3b233163ae7525cf44c86c2c441456
diff --git a/libkscreen-qt6/patches/patch-backends_kwayland_waylandoutputdevice.cpp b/libkscreen-qt6/patches/patch-backends_kwayland_waylandoutputdevice.cpp
new file mode 100644
index 0000000000..5c161b6df7
--- /dev/null
+++ b/libkscreen-qt6/patches/patch-backends_kwayland_waylandoutputdevice.cpp
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Explicitly include cmath, for compilers that are more exacting, e.g., GCC 7.5.
+
+--- backends/kwayland/waylandoutputdevice.cpp.orig	2024-06-07 09:11:36.618228713 +0000
++++ backends/kwayland/waylandoutputdevice.cpp
+@@ -16,6 +16,7 @@
+ 
+ #include <wayland-server-protocol.h>
+ 
++#include <cmath>
+ #include <utility>
+ 
+ using namespace KScreen;


Home | Main Index | Thread Index | Old Index