summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-plasma/print-manager/Manifest1
-rw-r--r--kde-plasma/print-manager/print-manager-6.2.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-plasma/print-manager/Manifest b/kde-plasma/print-manager/Manifest
index 2208228a6c9..fa56f4fe616 100644
--- a/kde-plasma/print-manager/Manifest
+++ b/kde-plasma/print-manager/Manifest
@@ -1 +1,2 @@
DIST print-manager-6.1.90.tar.xz 374096 BLAKE2B c5ccc167d43f1a9dcf416ba9142a8f0decb4c8157bd8932fc9259862e389db38053705a97d55c19e8e994a2e7c9b7cb86c0ff48aacbac6f483d86f1dcf0ba660 SHA512 2849f2ba13c7e50b7fc027814a567595e9352bd1b5894401f049d222e176240c4946af9e717fa48c54c0b63ba1931089352da6f418e3b407f99ff92660df3070
+DIST print-manager-6.2.0.tar.xz 374740 BLAKE2B 9ea90d1497f4da30168befeb0bd7aa76964ff09fb90f9827e883cc62728ae6ff8ed2d2cd8721aa7ff91f2229ea822ae1fe2d66e35435fd7da2c6d5d9f278a395 SHA512 13b5029f1041a09eb6348a6ad4ae9cb8102794d759970d10f31b80141d2f1ee6e6b2a1dd52dd09ba3e9114630b7c8373d279747658a4fd2eaf583aa332f3d485
diff --git a/kde-plasma/print-manager/print-manager-6.2.0.ebuild b/kde-plasma/print-manager/print-manager-6.2.0.ebuild
new file mode 100644
index 00000000000..62e8df62113
--- /dev/null
+++ b/kde-plasma/print-manager/print-manager-6.2.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=6.6.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=6.7.2
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Manage CUPS print jobs and printers in Plasma"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+gtk"
+
+DEPEND="
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=kde-frameworks/kcmutils-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kdbusaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kiconthemes-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kirigami-${KFMIN}:6
+ >=kde-frameworks/knotifications-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6
+ >=kde-plasma/libplasma-${PVCUT}:6
+ >=net-print/cups-2.4
+"
+RDEPEND="${DEPEND}
+ !<kde-plasma/print-manager-23.08.5-r100:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:6
+ gtk? ( app-admin/system-config-printer )
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt6=ON # not packaged
+ )
+
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! use gtk ; then
+ ewarn "By switching off \"gtk\" USE flag, you have chosen to do without"
+ ewarn "an important, though optional, runtime dependency:"
+ ewarn
+ ewarn "app-admin/system-config-printer"
+ ewarn
+ ewarn "${PN} will work nevertheless, but is going to be less comfortable"
+ ewarn "and will show the following error status during runtime:"
+ ewarn
+ ewarn "\"Failed to group devices: 'The name org.fedoraproject.Config.Printing"
+ ewarn "was not provided by any .service files'\""
+ fi
+}