diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-22 09:57:27 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-22 11:22:18 +0100 |
commit | daf1b4ad351bde5c263114cb4b0b2932ca1aa376 (patch) | |
tree | 18e3b55d6fad3d78a80e7cd1cd258a7fd1aa2306 /kde-plasma/discover | |
parent | kde-plasma/breeze-plymouth: 5.27.1 version bump (diff) | |
download | gentoo-daf1b4ad351bde5c263114cb4b0b2932ca1aa376.tar.gz gentoo-daf1b4ad351bde5c263114cb4b0b2932ca1aa376.tar.bz2 gentoo-daf1b4ad351bde5c263114cb4b0b2932ca1aa376.zip |
kde-plasma/discover: 5.27.1 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.1.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/kde-plasma/discover/Manifest b/kde-plasma/discover/Manifest index 6209f7306c23..5edda38b41e2 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.0.tar.xz 854408 BLAKE2B f8f728554469ab14f8edc6fac46b24bebbaba604ab86fb596e3c0699d14dcae7f6fcbc18643f2675fd0fb3c5795926ed174f5e27d3be612ace5423f9a97f8d86 SHA512 f7b9323373f00252aab64f20d2c30bfc60252f7e24bd2158a01bd954b2742bb1b709fe29fe7de7fb96cfabff69a0d2ea23bd8cdc306bd68f81dd7f6d1a8fba8c +DIST discover-5.27.1.tar.xz 854908 BLAKE2B d7c0a0b8ca1e0e37a0669424058357e9bb14a650dc50768eaefbd8677e5e93ad57a9354ccf0f4743e0faf71b98e8f836fa3eb63eb7fcc94e261f75141697dca9 SHA512 4cba6599e636d245a4b2f839bfc6e6f79413e287371ad0a3d383bfb7f11f8994ccf2d975014ac25ce6e4cc2348e813d8ebc12b8f8e790319379b7f168087483f diff --git a/kde-plasma/discover/discover-5.27.1.ebuild b/kde-plasma/discover/discover-5.27.1.ebuild new file mode 100644 index 000000000000..52fe9d6d5df5 --- /dev/null +++ b/kde-plasma/discover/discover-5.27.1.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 +} |