diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 12:43:31 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 14:52:24 +0100 |
commit | e0f6fb0de2569968f2e2302a5b88cc6c2cb93d16 (patch) | |
tree | 64f1054cce75d05ba84a3be7ae4f546cf0d6a9be /kde-plasma/discover | |
parent | kde-plasma/breeze-plymouth: 6.0.0 version bump (diff) | |
download | gentoo-e0f6fb0de2569968f2e2302a5b88cc6c2cb93d16.tar.gz gentoo-e0f6fb0de2569968f2e2302a5b88cc6c2cb93d16.tar.bz2 gentoo-e0f6fb0de2569968f2e2302a5b88cc6c2cb93d16.zip |
kde-plasma/discover: 6.0.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/discover')
-rw-r--r-- | kde-plasma/discover/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/discover/discover-6.0.0.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/discover/Manifest b/kde-plasma/discover/Manifest index 746471edbf60..a0be74ac23e9 100644 --- a/kde-plasma/discover/Manifest +++ b/kde-plasma/discover/Manifest @@ -1,3 +1,4 @@ DIST discover-5.27.10.1.tar.xz 875416 BLAKE2B b8dce90276473ddaeabbbdf87b55d7c7bb449a9b7f08c83da4d447d90136b70b780f6f54074b95573a01d88feee9d4bd1ce8fdb94c8037d0b41d45a8576249c0 SHA512 1425fe285b5307def18fa61ae9e0f8c37602dc9cf276f3a54700d644f46cb7ddfa55cfd8693625bb717dec32e52f9f84b5b919730aa0e78c95ba4c619270aced DIST discover-5.27.10.tar.xz 873396 BLAKE2B a4c1a85ee389fce15826bafca4d8f474fbc3e7bfc2f1342999ca9b7a5a566f3b220e78d3d373599d7e80567632cde98dd59932f05d58c3d5bc8d58a96771761c SHA512 35e92ebc170d92267b89a99c67789732ef98c8b1847836665d3c4465be2e10a6ec39d9c53e3d6f54b9529a858ac858e64ac0db371df728750ba80b47b77528b0 DIST discover-5.93.0.tar.xz 994412 BLAKE2B 135f2e5e90d7a720b438d7cfb0f885ce3f8e6acd2db85287a433386f7294b06c5914923aa3fe0694656dcabfcc95c4c754099a4af64922533d6155fa1103b0a9 SHA512 4d8e461ef99bc1f723d80644416b125caafbbda43c1ea72f224da2c08dc70b7becc15497ad0fc7b1153e644c5884bd2415c2425c8feca8bfde318cfb1b577c7e +DIST discover-6.0.0.tar.xz 998144 BLAKE2B 39f694939e0dc4f22c371554e5f025f03c181e8cfc5559a54d6d05405267e7468e3f085566f77a0ea058ce62980ef74c0841578dd4b3390386f92dc97fada096 SHA512 b7e56f3bb799ae00953cc3213acc832b3582b6b6c3ad1f93769396246187191ff4a42ad80fa87aaaef26cce14db2b165339265796ac2c3ae2a6cd1be6c4c1302 diff --git a/kde-plasma/discover/discover-6.0.0.ebuild b/kde-plasma/discover/discover-6.0.0.ebuild new file mode 100644 index 000000000000..7a4ff24ff1ed --- /dev/null +++ b/kde-plasma/discover/discover-6.0.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=6.0 +QTMIN=6.6.2 +inherit ecm plasma.kde.org + +DESCRIPTION="KDE Plasma resources management GUI" +HOMEPAGE="https://userbase.kde.org/Discover" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64" +IUSE="+firmware flatpak snap telemetry webengine" + +# libmarkdown (app-text/discount) only used in PackageKitBackend +DEPEND=" + >=dev-libs/appstream-1.0.0:=[qt6] + dev-libs/kirigami-addons:6 + >=dev-qt/qtbase-${QTMIN}:6=[concurrent,dbus,gui,network,widgets] + >=dev-qt/qtdeclarative-${QTMIN}:6 + >=kde-frameworks/attica-${KFMIN}:6 + >=kde-frameworks/kauth-${KFMIN}:6 + >=kde-frameworks/kcmutils-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kidletime-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kirigami-${KFMIN}:6 + >=kde-frameworks/knewstuff-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-frameworks/purpose-${KFMIN}:6 + firmware? ( >=sys-apps/fwupd-1.9.4 ) + flatpak? ( sys-apps/flatpak ) + snap? ( sys-libs/snapd-glib:=[qt6(-)] ) + telemetry? ( >=kde-frameworks/kuserfeedback-${KFMIN}:6 ) + webengine? ( >=dev-qt/qtwebview-${QTMIN}:6 ) +" +RDEPEND="${DEPEND} + snap? ( app-containers/snapd ) +" +BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6" + +PATCHES=( "${FILESDIR}/${PN}-5.25.90-tests-optional.patch" ) + +src_prepare() { + ecm_src_prepare + # we don't need it with PackageKitBackend off + ecm_punt_kf_module Archive + # we don't do anything with this + sed -e "s/^pkg_check_modules.*Markdown/#&/" \ + -e "s/^pkg_check_modules.*RpmOstree/#&/" \ + -e "s/^pkg_check_modules.*Ostree/#&/" \ + -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + # TODO: Port PackageKit's portage back-end to python3 + -DCMAKE_DISABLE_FIND_PACKAGE_packagekitqt6=ON + # Automated updates will not work for us + # https://invent.kde.org/plasma/discover/-/merge_requests/142 + -DWITH_KCM=OFF + -DBUILD_DummyBackend=OFF + -DBUILD_FlatpakBackend=$(usex flatpak) + -DBUILD_FwupdBackend=$(usex firmware) + -DBUILD_RpmOstreeBackend=OFF + -DBUILD_SnapBackend=$(usex snap) + -DBUILD_SteamOSBackend=OFF + $(cmake_use_find_package telemetry KF6UserFeedback) + $(cmake_use_find_package webengine Qt6WebView) + ) + + ecm_src_configure +} + +src_test() { + # bug 686392: needs network connection + local myctestargs=( + -E "(knsbackendtest|flatpaktest)" + ) + + ecm_src_test +} |