diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-08 16:03:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-08 16:16:12 +0200 |
commit | f12b52078df6aa0eed8afa61e60f119134b3d003 (patch) | |
tree | f1a8f34e0d331be3d2d16d24558b8be3dcc61002 /xfce-extra | |
parent | Move {xfce-extra ⇒ xfce-base}/tumbler (diff) | |
download | gentoo-f12b52078df6aa0eed8afa61e60f119134b3d003.tar.gz gentoo-f12b52078df6aa0eed8afa61e60f119134b3d003.tar.bz2 gentoo-f12b52078df6aa0eed8afa61e60f119134b3d003.zip |
Move {xfce-extra ⇒ xfce-base}/xfce4-power-manager
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r-- | xfce-extra/xfce4-power-manager/Manifest | 1 | ||||
-rw-r--r-- | xfce-extra/xfce4-power-manager/metadata.xml | 12 | ||||
-rw-r--r-- | xfce-extra/xfce4-power-manager/xfce4-power-manager-4.16.0.ebuild | 65 |
3 files changed, 0 insertions, 78 deletions
diff --git a/xfce-extra/xfce4-power-manager/Manifest b/xfce-extra/xfce4-power-manager/Manifest deleted file mode 100644 index 200412ded410..000000000000 --- a/xfce-extra/xfce4-power-manager/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xfce4-power-manager-4.16.0.tar.bz2 1234968 BLAKE2B 0299bc293769411384b34c81c907f75ba6503db11f1636366a599938d37eda0843e1850c584c37186529c0c97eaca73bc5d488d4916087a42c5c5f68ae8787c8 SHA512 1c6ecfb7696bc13c9b11fdfb4ad4e3278de2350bbc59c84c933b28c07c1a0c55b9954794e1f57e4407d2b54ffaace9ea5baed829bf0683332cf9d12bff7e71ec diff --git a/xfce-extra/xfce4-power-manager/metadata.xml b/xfce-extra/xfce4-power-manager/metadata.xml deleted file mode 100644 index 5f20b08a3121..000000000000 --- a/xfce-extra/xfce4-power-manager/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>xfce@gentoo.org</email> - <name>XFCE Team</name> - </maintainer> - <use> - <flag name="panel-plugin">Build the power management plugin for - the XFCE panel</flag> - </use> -</pkgmetadata> diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-4.16.0.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-4.16.0.ebuild deleted file mode 100644 index fa9ed6b50472..000000000000 --- a/xfce-extra/xfce4-power-manager/xfce4-power-manager-4.16.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit xdg-utils - -DESCRIPTION="Power manager for the Xfce desktop environment" -HOMEPAGE="https://goodies.xfce.org/projects/applications/xfce4-power-manager" -SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86" -IUSE="networkmanager +panel-plugin policykit" - -DEPEND=">=dev-libs/glib-2.50 - >=sys-power/upower-0.99.0 - >=x11-libs/gtk+-3.14:3 - >=x11-libs/libnotify-0.7 - x11-libs/libX11 - >=x11-libs/libXrandr-1.2 - x11-libs/libXext - x11-libs/libXtst - >=xfce-base/xfconf-4.12:= - >=xfce-base/libxfce4ui-4.12:=[gtk3(+)] - >=xfce-base/libxfce4util-4.12:= - panel-plugin? ( >=xfce-base/xfce4-panel-4.12:= ) - policykit? ( >=sys-auth/polkit-0.112 )" -RDEPEND="${DEPEND} - networkmanager? ( net-misc/networkmanager )" -DEPEND+=" - x11-base/xorg-proto" -BDEPEND=" - dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -src_configure() { - local myconf=( - $(use_enable policykit polkit) - $(use_enable networkmanager network-manager) - $(use_enable panel-plugin xfce4panel) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - xdg_icon_cache_update - - if ! has_version sys-apps/systemd && ! has_version sys-auth/elogind - then - elog "Suspend/hibernate support requires a logind provider installed" - elog "(sys-apps/systemd or sys-auth/elogind)" - fi -} - -pkg_postrm() { - xdg_icon_cache_update -} |