diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-28 14:38:57 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-28 16:43:36 +0100 |
commit | 2b6ccff02cd6bd6db5c79b2dba8d3cb1faa564ee (patch) | |
tree | 7e1db393d9fedc1e9b7804fb9955b2a6f04950aa /kde-plasma/discover | |
parent | kde-plasma/breeze-plymouth: 5.27.2 version bump (diff) | |
download | gentoo-2b6ccff02cd6bd6db5c79b2dba8d3cb1faa564ee.tar.gz gentoo-2b6ccff02cd6bd6db5c79b2dba8d3cb1faa564ee.tar.bz2 gentoo-2b6ccff02cd6bd6db5c79b2dba8d3cb1faa564ee.zip |
kde-plasma/discover: 5.27.2 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-5.27.2.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/kde-plasma/discover/Manifest b/kde-plasma/discover/Manifest index 8fbe47bcb8f9..d0fb273f9a9f 100644 --- a/kde-plasma/discover/Manifest +++ b/kde-plasma/discover/Manifest @@ -1,2 +1,3 @@ DIST discover-5.26.5.tar.xz 666824 BLAKE2B 427403ae2b4a80b846919716f1eb74fe26b4989d7a2647b176863f02a4b587801eb7907f447f13e2f1f1a463da35cb55924d2f3ace57d7246d3afad641ed257b SHA512 b41381ed97fc38be1b35f3dd34e6ffd4171a55fa81e344bdd47e3a8577a6ba05aff757db20f38b2632ca788180f93ce2ed64777abe1a2d74028df679b6a4b5ea DIST discover-5.27.1.tar.xz 854908 BLAKE2B d7c0a0b8ca1e0e37a0669424058357e9bb14a650dc50768eaefbd8677e5e93ad57a9354ccf0f4743e0faf71b98e8f836fa3eb63eb7fcc94e261f75141697dca9 SHA512 4cba6599e636d245a4b2f839bfc6e6f79413e287371ad0a3d383bfb7f11f8994ccf2d975014ac25ce6e4cc2348e813d8ebc12b8f8e790319379b7f168087483f +DIST discover-5.27.2.tar.xz 857488 BLAKE2B 5a3aa181a3533bc532001736d7632b4cf725365fca07c59be64cc3055e22c32657f84625c587b930ae56f71a9c6053387e8930bdaccda187b08d6d719b38e6d8 SHA512 5c4c33274e37f40c1713dc03d0b0844fc3eb909b526ea4c9324e1e5a23c95b021be41e7916769cf0843b18d9e618c0bdf6c1c08a1158cd2d029cb9f7fa6f37d5 diff --git a/kde-plasma/discover/discover-5.27.2.ebuild b/kde-plasma/discover/discover-5.27.2.ebuild new file mode 100644 index 000000000000..52fe9d6d5df5 --- /dev/null +++ b/kde-plasma/discover/discover-5.27.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=5.102.0 +QTMIN=5.15.7 +VIRTUALX_REQUIRED="test" +inherit ecm plasma.kde.org + +DESCRIPTION="KDE Plasma resources management GUI" +HOMEPAGE="https://userbase.kde.org/Discover" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="+firmware flatpak telemetry webengine" + +# libmarkdown (app-text/discount) only used in PackageKitBackend +DEPEND=" + >=dev-libs/appstream-0.15.3:= + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/attica-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kidletime-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kirigami-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/purpose-${KFMIN}:5 + firmware? ( >=sys-apps/fwupd-1.5.0 ) + flatpak? ( sys-apps/flatpak ) + telemetry? ( dev-libs/kuserfeedback:5 ) + webengine? ( >=dev-qt/qtwebview-${QTMIN}:5 ) +" +RDEPEND="${DEPEND} + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" +BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5" + +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.*RpmOstree/#&/" \ + -e "s/^pkg_check_modules.*Ostree/#&/" \ + -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_packagekitqt5=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Snapd=ON + -DWITH_KCM=OFF + -DBUILD_FlatpakBackend=$(usex flatpak) + -DBUILD_FwupdBackend=$(usex firmware) + $(cmake_use_find_package telemetry KUserFeedback) + $(cmake_use_find_package webengine Qt5WebView) + ) + + ecm_src_configure +} + +src_test() { + # bug 686392: needs network connection + local myctestargs=( + -E "(knsbackendtest|flatpaktest)" + ) + + ecm_src_test +} |