diff options
author | Pacho Ramos <pacho@gentoo.org> | 2024-06-19 11:00:02 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2024-06-19 11:00:02 +0200 |
commit | 35ea87491c5cd2e031eb9c93a825ff427b71effc (patch) | |
tree | 951f511ffd1fd766adeeb65536719d5f464a13d9 /sys-power | |
parent | sys-power/power-profiles-daemon: add 0.21 (diff) | |
download | gentoo-35ea87491c5cd2e031eb9c93a825ff427b71effc.tar.gz gentoo-35ea87491c5cd2e031eb9c93a825ff427b71effc.tar.bz2 gentoo-35ea87491c5cd2e031eb9c93a825ff427b71effc.zip |
sys-power/power-profiles-daemon: drop 0.13
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/power-profiles-daemon/Manifest | 1 | ||||
-rw-r--r-- | sys-power/power-profiles-daemon/power-profiles-daemon-0.13.ebuild | 79 |
2 files changed, 0 insertions, 80 deletions
diff --git a/sys-power/power-profiles-daemon/Manifest b/sys-power/power-profiles-daemon/Manifest index 64131b4f22b8..4e77da6b1705 100644 --- a/sys-power/power-profiles-daemon/Manifest +++ b/sys-power/power-profiles-daemon/Manifest @@ -1,3 +1,2 @@ -DIST power-profiles-daemon-0.13.tar.bz2 49079 BLAKE2B 2a7c81b0ac8b4ac4a9805f5dcd722959ff0abe736782eba7678f49eb3c5790d59b2bcc35577733aaae9fc8baa76a65ca9a973ac9f0d9154061c3af86abe0e65d SHA512 dab0c44968480a2f5ae2074f07a48d901970c9b3b3ec104d14108615f85b1eb0f9f3e1b5f0ff766659e4d76b243da2cd4c025cd81b992b7149fb671e103a7d6b DIST power-profiles-daemon-0.20.tar.bz2 58388 BLAKE2B f25bc2618441f53624567c4f40d9960b28bf46fb2098eb0e2098207149df3d4923a13c40d781885e37708bf896b537ccb969ec7a928669a3776722e5e58801cf SHA512 2236aac94dafbf6fd951f3bd44953f1a14bc7c5e55349307374d836e20377e1768dcf1250fa8dcf9f01d4eddea8ab64082881189b4e958fbfcd5e2e90d3e823a DIST power-profiles-daemon-0.21.tar.bz2 63984 BLAKE2B 206c954272fb93b17a09e4108c74462d2524ef9160880ce59709504314fd38f413c7eb65ab4f0a085f6458b04f85b4833e0df3786f0aff08e7bdc0a3a65d8d2a SHA512 8038ff7c164bbcbeebc50c911f3129e79d4f8d63278bc674e10bf2920af0bc9b0b139d5a2e056889b0b7ec86df19cc7be3e8c84e70e777544e117ee7a036b375 diff --git a/sys-power/power-profiles-daemon/power-profiles-daemon-0.13.ebuild b/sys-power/power-profiles-daemon/power-profiles-daemon-0.13.ebuild deleted file mode 100644 index 93d50305add9..000000000000 --- a/sys-power/power-profiles-daemon/power-profiles-daemon-0.13.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-single-r1 systemd - -DESCRIPTION="Makes power profiles handling available over D-Bus" -HOMEPAGE="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/" -SRC_URI="https://gitlab.freedesktop.org/hadess/${PN}/-/archive/${PV}/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" - -IUSE="gtk-doc selinux test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -RDEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') - dev-libs/glib:2 - >=dev-libs/libgudev-234 - >=sys-auth/polkit-0.114 - sys-power/upower - selinux? ( sec-policy/selinux-powerprofiles ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-util/glib-utils - gtk-doc? ( - dev-util/gi-docgen - dev-util/gtk-doc - ) - test? ( - dev-util/umockdev - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-dbusmock[${PYTHON_USEDEP}] - ') - ) -" - -python_check_deps() { - if use test; then - python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" - else - python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" - fi -} - -src_configure() { - local emesonargs=( - -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" - $(meson_use gtk-doc gtk_doc) - $(meson_use test tests) - ) - meson_src_configure -} - -src_install() { - meson_src_install - python_fix_shebang "${D}"/usr/bin/powerprofilesctl - newinitd "${FILESDIR}/power-profiles-daemon.initd" power-profiles-daemon -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - if systemd_is_booted; then - elog "You need to enable the service:" - elog "# systemctl enable ${PN}" - else - elog "# rc-update add ${PN} default" - fi - fi -} |