diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-26 15:28:05 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-26 15:50:25 +0200 |
commit | 5f7e0aa1090be75d38bb80a0d830f2e32742be38 (patch) | |
tree | bd09d4f2d0d62e189b2c323705cf86512237ade7 /kde-plasma/discover | |
parent | kde-plasma/breeze-plymouth: 5.26.2 version bump (diff) | |
download | gentoo-5f7e0aa1090be75d38bb80a0d830f2e32742be38.tar.gz gentoo-5f7e0aa1090be75d38bb80a0d830f2e32742be38.tar.bz2 gentoo-5f7e0aa1090be75d38bb80a0d830f2e32742be38.zip |
kde-plasma/discover: 5.26.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.26.2.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/kde-plasma/discover/Manifest b/kde-plasma/discover/Manifest index 339881f23860..668f733a7676 100644 --- a/kde-plasma/discover/Manifest +++ b/kde-plasma/discover/Manifest @@ -1,2 +1,3 @@ DIST discover-5.25.5.tar.xz 8311084 BLAKE2B 07cf7d8ce9ae0d94770dba1d477caaa4689d001deab209e58e7986608c1f2419ccb478632aee31039ba73308933c41a134e39b163752d66d4fbaf6998eaa70f3 SHA512 936c2ac4e4f3608882960080ea51e183115d35c3b1334c6287de9356ac714cb55ce37ff614b6ada78a0c5ebcf94fa028351c5102b274adb748fb421e8ddf58c7 DIST discover-5.26.1.tar.xz 652860 BLAKE2B ecdbd85c4b91518bc9cce3f2eada8d01a6496a188d2780d0932ae1df7ab3d3c76527246bf6435c2920ce275d211af30792a91c38b0dc4a3959d94397ac2cfba5 SHA512 fb88c4d0632473ef248642db96e45d974f64f29f0bb06efd5c198fd4fabd3cb2feb89be984f3de8c42d0150dcb3889c2de8648b81b30d16d452fc94e3d55ddc3 +DIST discover-5.26.2.tar.xz 654784 BLAKE2B 085f48c062e2c9983a65bd6637dd6d4f82761cbae288e5e7322652b1507a945254188e5199abb2e8e7d0e9b0c2056863c3082f5fb466ca82ba85a4f608bcf2c9 SHA512 eec68650e0a662c983b98368726d3ffa124a44b4e96a520488465cea05a07e1b4e80b4361956ff1f54f4b9093ae9d766103fac0e10fa98b8cb1f50c69830b0f6 diff --git a/kde-plasma/discover/discover-5.26.2.ebuild b/kde-plasma/discover/discover-5.26.2.ebuild new file mode 100644 index 000000000000..d01ba3396613 --- /dev/null +++ b/kde-plasma/discover/discover-5.26.2.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=5.99.0 +QTMIN=5.15.5 +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 ~ppc64" +IUSE="+firmware flatpak telemetry webengine" + +# 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/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/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? ( + >=dev-libs/appstream-0.15.3:= + 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) + $(cmake_use_find_package flatpak AppStreamQt) + -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 +} |