summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-plasma/print-manager/Manifest1
-rw-r--r--kde-plasma/print-manager/print-manager-5.91.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-plasma/print-manager/Manifest b/kde-plasma/print-manager/Manifest
new file mode 100644
index 00000000000..a4e1ce4acc3
--- /dev/null
+++ b/kde-plasma/print-manager/Manifest
@@ -0,0 +1 @@
+DIST print-manager-5.91.0.tar.xz 327664 BLAKE2B 12ca6adb082f1a2de6616f86007da2dba4fad377619af47feccf69b82215629a6ed8bbd10a41a3dd8987acc2e73f0712f39a97f9d82b62cc3d4b571a7a4c8851 SHA512 0857dd57e93803c5f86ea530d8755a7bc7f1d29c9fc24979768ca5f71dd1e9088bf9daa4668fbbf5abb6057ced3b23d6abaeb6e30990d6bbd92023a44fe921d4
diff --git a/kde-plasma/print-manager/print-manager-5.91.0.ebuild b/kde-plasma/print-manager/print-manager-5.91.0.ebuild
new file mode 100644
index 00000000000..a36d4b75944
--- /dev/null
+++ b/kde-plasma/print-manager/print-manager-5.91.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.247.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=6.6.0
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Manage CUPS print jobs and printers in Plasma"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE="+gtk"
+
+DEPEND="
+ dev-libs/kirigami-addons:6
+ >=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
+"
+RDEPEND="${DEPEND}
+ >=kde-frameworks/kdeclarative-${KFMIN}:6
+ kde-plasma/kde-cli-tools:*
+ gtk? ( app-admin/system-config-printer )
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
+
+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
+}