diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-10-22 17:09:51 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-10-22 17:30:30 +0200 |
commit | 62590ba97265721059a405765fcdefef5d457865 (patch) | |
tree | 5bf2234448da72f13e2e6450405deeba1b67ece1 /kde-plasma/print-manager | |
parent | kde-plasma/powerdevil: 6.2.2 version bump (diff) | |
download | gentoo-62590ba97265721059a405765fcdefef5d457865.tar.gz gentoo-62590ba97265721059a405765fcdefef5d457865.tar.bz2 gentoo-62590ba97265721059a405765fcdefef5d457865.zip |
kde-plasma/print-manager: 6.2.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/print-manager')
-rw-r--r-- | kde-plasma/print-manager/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/print-manager/print-manager-6.2.2.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-plasma/print-manager/Manifest b/kde-plasma/print-manager/Manifest index 4891d92f3066..f591782fcbe9 100644 --- a/kde-plasma/print-manager/Manifest +++ b/kde-plasma/print-manager/Manifest @@ -1,2 +1,3 @@ DIST print-manager-6.1.5.tar.xz 371292 BLAKE2B 140f63488f381dde409d673fac692197163efa200866311c0bb346e9dd57a57780dc3dd1a47fb950793b6bd5512e3d82ed2bae47e9476e1ece20e7dc0079b928 SHA512 0c83c5fdbd73ad47cde287ed2f3d89c735a44cce4c2d753201258183491bc9612091802bf639445a775f0b2ed7f485d7bc94d98904fb40ca11e23affbd046ceb DIST print-manager-6.2.1.tar.xz 374992 BLAKE2B 608851d04a765dabe0a32045dbe504d942310a5bb019c32820bf1f7d8b774d016efc77222e13f83d2d57ce121531c05d6d37b4b75a8c59c695f2922044191f70 SHA512 1e918544b432ff4b0be2650decaa64a67b1d01e5f6732335edc2081970d9491127f23d8467127dd95252eee590758d4dcde23b8a6966968e8fa9f23c4eefd275 +DIST print-manager-6.2.2.tar.xz 375008 BLAKE2B 2390877a4fd7cf7c400d09ae4f82bb4ed0e5b0aca119d63d3939644c6a903749b16f2247694fc71342ba1256f613eace09391ae04dd0c49ed1adc0649051562b SHA512 a4fa5b35b3aba036bbfdb1ad8e6aee26e905a234ba3ba7bb8ee8713baa75ecaadfbb1104d03f6f7a4674a7a41fb8770c6bbbb62ff82d73486624fd5bac4dff46 diff --git a/kde-plasma/print-manager/print-manager-6.2.2.ebuild b/kde-plasma/print-manager/print-manager-6.2.2.ebuild new file mode 100644 index 000000000000..62e8df621130 --- /dev/null +++ b/kde-plasma/print-manager/print-manager-6.2.2.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 +} |