diff options
Diffstat (limited to 'kde-plasma/discover')
-rw-r--r-- | kde-plasma/discover/Manifest | 2 | ||||
-rw-r--r-- | kde-plasma/discover/discover-5.27.10.1.ebuild | 96 |
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-plasma/discover/Manifest b/kde-plasma/discover/Manifest index ca1f1014bb82..26195c5036cd 100644 --- a/kde-plasma/discover/Manifest +++ b/kde-plasma/discover/Manifest @@ -1,6 +1,8 @@ AUX discover-5.25.90-tests-optional.patch 3080 BLAKE2B 074ce41b4aee3fe8203f83fd63361189b78ddd4dc45a72a0d3e98a8ff50a92a463c680b93c7c7643e2bfc479e9374eda78148d41fed55c17035e751c0c584efa SHA512 bd82fe11d5ff1884c9457c655502831a3dab70ff172b5d49cdbdfa0cb6818735405ef1f4c519eaf46dd607bccf71077f11741cc11c85553f4e8f639125721767 +DIST discover-5.27.10.1.tar.xz 875416 BLAKE2B b8dce90276473ddaeabbbdf87b55d7c7bb449a9b7f08c83da4d447d90136b70b780f6f54074b95573a01d88feee9d4bd1ce8fdb94c8037d0b41d45a8576249c0 SHA512 1425fe285b5307def18fa61ae9e0f8c37602dc9cf276f3a54700d644f46cb7ddfa55cfd8693625bb717dec32e52f9f84b5b919730aa0e78c95ba4c619270aced DIST discover-5.27.10.tar.xz 873396 BLAKE2B a4c1a85ee389fce15826bafca4d8f474fbc3e7bfc2f1342999ca9b7a5a566f3b220e78d3d373599d7e80567632cde98dd59932f05d58c3d5bc8d58a96771761c SHA512 35e92ebc170d92267b89a99c67789732ef98c8b1847836665d3c4465be2e10a6ec39d9c53e3d6f54b9529a858ac858e64ac0db371df728750ba80b47b77528b0 DIST discover-5.92.0.tar.xz 989416 BLAKE2B 1c13b6828215f972224b6548787284ab0250608da95c263e72782957ad848578340e6459c8eb5493c24012499dbd6bfb5355399d128801a8c265d751fe41ced0 SHA512 53d4682ede1dbaa9a42a7b12e830950fce5d06ff228b9452fdb932ecbd0768cee8555ac63928203516c287ad6eeee8acd2929333ffc39bd4f1bb0f142eb37969 +EBUILD discover-5.27.10.1.ebuild 2770 BLAKE2B 20d304efc2fddac2c169fbc5b3449111a15433531f894aa840fa82303192e7a8964321e04413f616c6cd3d890709ac46d88da817ed665c193e1612338e82b1d6 SHA512 8f4922ced260a4cfff2b4ff165da0d1e7529bdd54d4f0cab1b74009f569fe9d2d8c685a1aefa66c4a0ad4a004e2e04aaf1443985faed99348727c3bf60adb357 EBUILD discover-5.27.10.ebuild 2767 BLAKE2B 4ca911d9eac3d521549645316682b015a0a6b46374d7ea7ad16939624b6a3749462d11230a2a3b70b60cd1dd57742e42db54a9895e8e804f813620ea6928c49c SHA512 30b6cf4c1c5da0f4e8a3135efe48e8fc8744cce30193113947129b6a6b3b0730ff01af35e65df62a68c41e13771e5b0dd58139f77e5bec1533f9109861c0633a EBUILD discover-5.92.0.ebuild 2751 BLAKE2B 2b79997c3dd3ebe8fcadf6f276cdc0a8a52ba5eb367c6b1a3dd6fe7f99e08f7160d59046ba20c0e39f12bc4448caa40c8228f3448a4ca2e9e1908a84138bf065 SHA512 f0def0c9663fa160e81d24a75195f912efa242203ee054b63c6a6cb5c235336eb353b7a55e152c2cce24ecf4f8b01f08f7b52286cc28850cf9e5ee05f467c578 MISC metadata.xml 845 BLAKE2B 87d892ce29180263400147d7a7b98e42093d613897bc09764b58e43712faff76bc13f0b9e09782faf6c6f8c78d02a555271159be54ccc5213241422931d43e65 SHA512 6fda677eb8dfe74813872cad68d234d7f272f7466f654b1d0a2725b6ceb6872f51887b5861f419cf5aeb09ffc593af230a923eafa22c0db9e1353b831a4a7187 diff --git a/kde-plasma/discover/discover-5.27.10.1.ebuild b/kde-plasma/discover/discover-5.27.10.1.ebuild new file mode 100644 index 000000000000..18a378d8ff7f --- /dev/null +++ b/kde-plasma/discover/discover-5.27.10.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=5.106.0 +QTMIN=5.15.9 +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 snap 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 ) + snap? ( sys-libs/snapd-glib:=[qt5] ) + telemetry? ( kde-frameworks/kuserfeedback:5 ) + webengine? ( >=dev-qt/qtwebview-${QTMIN}:5 ) +" +RDEPEND="${DEPEND} + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + snap? ( app-containers/snapd ) +" +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=( + # TODO: Port PackageKit's portage back-end to python3 + -DCMAKE_DISABLE_FIND_PACKAGE_packagekitqt5=ON + # Automated updates will not work for us + # https://invent.kde.org/plasma/discover/-/merge_requests/142 + -DWITH_KCM=OFF + -DBUILD_DummyBackend=OFF + -DBUILD_FlatpakBackend=$(usex flatpak) + -DBUILD_FwupdBackend=$(usex firmware) + -DBUILD_RpmOstreeBackend=OFF + -DBUILD_SnapBackend=$(usex snap) + -DBUILD_SteamOSBackend=OFF + $(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 +} |