summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-08 13:52:44 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-08 14:09:39 +0100
commit9e93445a40d2ada8806a4215088cb075cb2a4fe8 (patch)
treeb3a00f85112d47a52ecb26ebddc04c83808c48f4 /kde-plasma/discover
parentkde-plasma/breeze-plymouth: 5.24.0 version bump (diff)
downloadgentoo-9e93445a40d2ada8806a4215088cb075cb2a4fe8.tar.gz
gentoo-9e93445a40d2ada8806a4215088cb075cb2a4fe8.tar.bz2
gentoo-9e93445a40d2ada8806a4215088cb075cb2a4fe8.zip
kde-plasma/discover: 5.24.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/discover')
-rw-r--r--kde-plasma/discover/Manifest1
-rw-r--r--kde-plasma/discover/discover-5.24.0.ebuild92
2 files changed, 93 insertions, 0 deletions
diff --git a/kde-plasma/discover/Manifest b/kde-plasma/discover/Manifest
index 0db85436312d..8c655f33f54d 100644
--- a/kde-plasma/discover/Manifest
+++ b/kde-plasma/discover/Manifest
@@ -1,2 +1,3 @@
DIST discover-5.23.5.tar.xz 8237796 BLAKE2B 75b06d47044251b15e599e29631ad030d7cf46361e7104f6c7907d2e35d98e629c5ff7cade88147a65e1b7f22a8996aaf19787fb90b9984745e1af8f637a8669 SHA512 1a5efea14b7966713240a085c632172eee7e11c6b6a600460374f1abae5446c998397326530231c09946c96495a6591adb9d3c278001279f05dfd6c5e7eb8873
DIST discover-5.23.90.tar.xz 8254544 BLAKE2B 1cb9ec52167fe564552852cf343929001084a1395cbc02a0ced8768d3aee529f106fcd9b4c6ef8368532ef3498189dde9ca31210d6dd2b56ba42956f70afc16d SHA512 56906543537a9757f4ba6eb20156aedf91ac76a23ef358a92cac1c89b471ad6770928e85bb9e3fc558ad2f701670ce5bb770f1775845bf0fbfd3b8134e4529e8
+DIST discover-5.24.0.tar.xz 8258244 BLAKE2B 37b630f08896325c3985d885bbaffc9ef3c2c5da6d53959abec7b79ffbe7b3a71a53c2975a29467ebc711916ef5e412c30818cb7809498f401a62d126231c9de SHA512 b7e25aea9e0a6980bfa39b5b9f30cc5d9d9c06e4996c61805cb5d1fa41b3979bedb162b5d39657eee74ca509be322746983b469b9d5d8296ac88418b27e2eb2a
diff --git a/kde-plasma/discover/discover-5.24.0.ebuild b/kde-plasma/discover/discover-5.24.0.ebuild
new file mode 100644
index 000000000000..67d530c388e1
--- /dev/null
+++ b/kde-plasma/discover/discover-5.24.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="true"
+KFMIN=5.90.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm 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 ~ppc64 ~riscv ~x86"
+IUSE="+firmware flatpak telemetry"
+
+# libmarkdown (app-text/discount) only used in PackageKitBackend
+DEPEND="
+ >=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
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=dev-qt/qtxml-${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/kitemmodels-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ firmware? ( >=sys-apps/fwupd-1.5.0 )
+ flatpak? (
+ >=dev-libs/appstream-0.14.4:=
+ sys-apps/flatpak
+ )
+ telemetry? ( dev-libs/kuserfeedback:5 )
+"
+RDEPEND="${DEPEND}
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.21.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)
+ $(cmake_use_find_package flatpak AppStreamQt)
+ -DBUILD_FwupdBackend=$(usex firmware)
+ $(cmake_use_find_package telemetry KUserFeedback)
+ )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # bug 686392: needs network connection
+ local myctestargs=(
+ -E "(knsbackendtest)"
+ )
+
+ ecm_src_test
+}