diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-27 02:00:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-27 02:00:01 +0000 |
commit | ead7697a01fd631b56240b2d58aedd98ba7f92d3 (patch) | |
tree | c73ecbedbb9db967a7dff614f5e8b79eacb79f5d /kde-plasma/powerdevil | |
parent | 403335d7014372971e9e9267493a808d08bab48e (diff) |
gentoo auto-resync : 27:11:2024 - 02:00:00
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 3 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-6.2.4.ebuild (renamed from kde-plasma/powerdevil/powerdevil-6.2.3.ebuild) | 24 |
2 files changed, 20 insertions, 7 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 84a022236bf7..5a13f3cad928 100644 --- a/kde-plasma/powerdevil/Manifest +++ b/kde-plasma/powerdevil/Manifest @@ -1,7 +1,8 @@ DIST powerdevil-6.1.5.tar.xz 967780 BLAKE2B 37a0e3e7c76504d83cef695c6439ebe263497ac788af4337e4f809ffc4bbad963ac3b4c9095cc4743c69a6d6ecdc4d6d61c15fe978de434cacb0ef111b320ba6 SHA512 c606dc61a7291dd87643a8d69005e005b33a03523b85be70f7d24181e988972df62a3b7a98423273307d4e5cf127e6eb6992ba534efbb0ca37c9ff308fc8a679 DIST powerdevil-6.2.3-patchset.tar.xz 3712 BLAKE2B 2aafe56fe4cad2e7abc7bbf9978459c103ed1342b266dbaf4628500a2a555529ac46d959512f4da0796ecc0c70844206ec0922a7fada34f647266946201677e9 SHA512 2e8ccbf70a66e7efdd89939d240591d1e9a2aab07f4f16f51292a838e2f17566e7269ec9ad3da5eb12fd85709193590d2a49f45b96fa8b26807a09967e9cb64d DIST powerdevil-6.2.3.tar.xz 1188160 BLAKE2B 79f4532fec0b9f6bf204e4cc1ce4b51385b4ad5c09dca690c7357f6be30a66ef7487645783823ac878aaed6489654ee18d93345ea1510bcbfcb633da5128cfb6 SHA512 e081ba799847154f4b732ff46dd34514149f2fd0673f356d572ffc9f46d2537b3c5133b1d4e059b1183038022e2037df104c81993571ed47c288a345ebfd123b +DIST powerdevil-6.2.4.tar.xz 1189360 BLAKE2B 832239c229021f9adbad6702c33e411f69e033456b1e24a1ff1dc106950d911b687830b3496d9b2458683b1755ad852857e32b9ad89c2a08e975a335f93b95ff SHA512 5a454dfef38ff717d0cb65be6b4a49a58d2cef4cb8d5583688f2ce1dc306cf3b2b56b4f6f59c78eb8b5be4bb2a643bc66e0fa4b53b9724ae2089c8b40a2c45d8 EBUILD powerdevil-6.1.5.ebuild 1909 BLAKE2B 3ee39ffd33206bd3428b367279ea3325eae88b92972965a5f2c6b95977310dcc529689873d51a83e249f625f27c1327b536f8f411b125e03ba5d6758902f67e4 SHA512 df1205631d7ded83bd2713acbd3cee2c3054780164ba0b553413d68334ae3c1d2e25cba46a8a1068efc80f9743227494d244342225cac6bdb2be37ac6a3bd5d7 EBUILD powerdevil-6.2.3-r2.ebuild 2572 BLAKE2B a22d8cb4b26e801accd67ecefc492717acfd824bdda8338215a9498bc3a473687f6afe74874734ba68d036eef5c6ebc08d83b89c6a18945c0d41353785320097 SHA512 3bbe88fee607633cacfaf5179492436ec3d9dcc2fd168b6f41d8baa161ad78b58f6682e1357e17f57f8a37c0c66077a7810a2e4db1834f166c702deacaed529a -EBUILD powerdevil-6.2.3.ebuild 2205 BLAKE2B 47b2754bff2602df8750b1e123318c1d5f9e10db1ec2861cbe581073ce96566217c851fa42f55d7d04a8d24f83751295b5ca03236972f1a504f8a9bdf39fabac SHA512 bb68731c4c6262d287d188f90dcabfb8dc5dcbbeebf0ef7a5e0af567ea7516debd2c5d360cf1c730b53e1a9cb627a0f6d61caeadbf9bfe5eb64cd3a9d96190cd +EBUILD powerdevil-6.2.4.ebuild 2409 BLAKE2B 2923608b82fdf3d440fcfe0f8827c67862318f1cf2dd7960fcdf0bc6a1538df7459aee8ede3e6c64b7ca66e2a4634674a2a046a76c2ee8515170d7f31e29a661 SHA512 fb64c177cc3ea8aa8ae36904be2116b1a6d9225d71569f920516f43594e245b3974dfb265d0210e024058042ebc126b38ead394feed320e81bc3cbd349144891 MISC metadata.xml 616 BLAKE2B 99319105a84b361a62f1f10615c4eb1a0d11514e1a63b6fbd87fbca471c4a1813646021f196c1e5ca8b22f4f64c2e2c950483f9a4e6ea72380209d3be81f0600 SHA512 770b16d5d747d450e40e3a87aa190e36e6389fff03a1af7200bd02bd564ff9093b258170a4ef67a8523629d1cdde581d90ae2951e75b5e757274569a10e76f3d diff --git a/kde-plasma/powerdevil/powerdevil-6.2.3.ebuild b/kde-plasma/powerdevil/powerdevil-6.2.4.ebuild index bfca018dfd3b..249b40fcb77e 100644 --- a/kde-plasma/powerdevil/powerdevil-6.2.3.ebuild +++ b/kde-plasma/powerdevil/powerdevil-6.2.4.ebuild @@ -8,7 +8,7 @@ ECM_TEST="forceoptional" KFMIN=6.6.0 PVCUT=$(ver_cut 1-3) QTMIN=6.7.2 -inherit ecm plasma.kde.org +inherit ecm fcaps plasma.kde.org DESCRIPTION="Power management for KDE Plasma Shell" HOMEPAGE="https://invent.kde.org/plasma/powerdevil" @@ -16,7 +16,7 @@ HOMEPAGE="https://invent.kde.org/plasma/powerdevil" LICENSE="GPL-2" # TODO: CHECK SLOT="6" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="brightness-control caps" +IUSE="brightness-control" RESTRICT="test" # bug 926513 @@ -51,13 +51,15 @@ DEPEND=" virtual/libudev:= x11-libs/libxcb brightness-control? ( app-misc/ddcutil:= ) - caps? ( sys-libs/libcap ) " RDEPEND="${DEPEND} !<kde-plasma/plasma-workspace-6.1.90:6 >=dev-libs/plasma-wayland-protocols-1.14.0 >=dev-qt/qtdeclarative-${QTMIN}:6 - sys-power/power-profiles-daemon + || ( + sys-power/power-profiles-daemon + sys-power/tlp + ) >=sys-power/upower-0.9.23 " BDEPEND=" @@ -65,11 +67,16 @@ BDEPEND=" >=kde-frameworks/kcmutils-${KFMIN}:6 " +# -m 0755 to avoid suid with USE="-filecaps" +FILECAPS=( -m 0755 cap_sys_nice=ep usr/libexec/org_kde_powerdevil ) + src_configure() { local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_SeleniumWebDriverATSPI=ON # not packaged + -DCMAKE_DISABLE_FIND_PACKAGE_Libcap=ON $(cmake_use_find_package brightness-control DDCUtil) - $(cmake_use_find_package caps Libcap) + ) + use test && mycmakeargs+=( + -DCMAKE_DISABLE_FIND_PACKAGE_SeleniumWebDriverATSPI=ON # not packaged ) ecm_src_configure @@ -79,3 +86,8 @@ src_test() { # bug 926513 ecm_src_test -j1 } + +pkg_postinst() { + ecm_pkg_postinst + fcaps_pkg_postinst +} |