diff --git a/kde-plasma/print-manager/Manifest b/kde-plasma/print-manager/Manifest index fd36ef84ab982..250c42bc2e34d 100644 --- a/kde-plasma/print-manager/Manifest +++ b/kde-plasma/print-manager/Manifest @@ -1 +1,2 @@ DIST print-manager-6.4.5.tar.xz 371344 BLAKE2B 138d16a35341e9c3883137fe6d3993f39da87f6ba021f337a50faf48ddd7d35942d7092ed2dd60ffab62f2b3d85b9992cb9887d24e2a8d31883afa7bbc2f66a4 SHA512 127ceb034f579a423af0e3afae5a6251fa0820744ca61b3416f9a1c1f5f4b52e8a55f0e17cc227eb23fb943118cab30f56148bcf75954968e9f212510a43224d +DIST print-manager-6.5.0.tar.xz 380552 BLAKE2B e20da8c757a138fc31f1b93c5c2bcc93d0bcd21318530539c8e7c292c385b78a63727752081adf998fdf212350870203555f8d0d21369b85c0e210df5b506b30 SHA512 6d65ade6dea1ff1275b3584d161d9c83056e556aa34a2056508b2a528fd24add145419109c21fb15c2fbe56fe58e540e7b566f2774e7c920ea58c8e9cef69b7f diff --git a/kde-plasma/print-manager/print-manager-6.5.0.ebuild b/kde-plasma/print-manager/print-manager-6.5.0.ebuild new file mode 100644 index 0000000000000..f7f805cddfd28 --- /dev/null +++ b/kde-plasma/print-manager/print-manager-6.5.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KFMIN=6.18.0 +QTMIN=6.9.1 +inherit ecm plasma.kde.org xdg + +DESCRIPTION="Manage CUPS print jobs and printers in Plasma" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64" +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/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-${KDE_CATV}:6 + >=net-print/cups-2.4 +" +RDEPEND="${DEPEND} + !=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() { + xdg_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 +}