diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-18 14:04:41 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-18 15:46:33 +0200 |
commit | 0822c17c3aff7ed1dd3c27c005701fbdfdcd2e3f (patch) | |
tree | 83b63e38f00536617e9559e21cfe3958e9166381 /kde-plasma/discover | |
parent | kde-plasma/breeze-plymouth: 5.26.1 version bump (diff) | |
download | gentoo-0822c17c3aff7ed1dd3c27c005701fbdfdcd2e3f.tar.gz gentoo-0822c17c3aff7ed1dd3c27c005701fbdfdcd2e3f.tar.bz2 gentoo-0822c17c3aff7ed1dd3c27c005701fbdfdcd2e3f.zip |
kde-plasma/discover: 5.26.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.26.1.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/kde-plasma/discover/Manifest b/kde-plasma/discover/Manifest index b04c9fcea9b8..96089d356c49 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.0.tar.xz 652556 BLAKE2B 0fba44b54a60d1bf5c447a985085cdeba6e29ab4506447d2d0dd65f9a39d2bb8f2d2bd66b13d8f8dde04b33bad1002ed6f66518d7f9a02b78402dd458b44e4f2 SHA512 27bbd3f059f80365325490d702af6328149ae5f5f4e60d53708aeb2f8dea212c0b05fc5cba8ed7aa52a8ae71b6d2745f83cd153fb548ae391c3080f0117fc157 +DIST discover-5.26.1.tar.xz 652860 BLAKE2B ecdbd85c4b91518bc9cce3f2eada8d01a6496a188d2780d0932ae1df7ab3d3c76527246bf6435c2920ce275d211af30792a91c38b0dc4a3959d94397ac2cfba5 SHA512 fb88c4d0632473ef248642db96e45d974f64f29f0bb06efd5c198fd4fabd3cb2feb89be984f3de8c42d0150dcb3889c2de8648b81b30d16d452fc94e3d55ddc3 diff --git a/kde-plasma/discover/discover-5.26.1.ebuild b/kde-plasma/discover/discover-5.26.1.ebuild new file mode 100644 index 000000000000..c90b0c2f8edb --- /dev/null +++ b/kde-plasma/discover/discover-5.26.1.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" +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 +} |