xfce-extra/xfce4-power-manager: Bump to 1.6.2
authorMichał Górny <mgorny@gentoo.org>
Fri, 17 May 2019 13:55:03 +0000 (15:55 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 17 May 2019 13:55:03 +0000 (15:55 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
xfce-extra/xfce4-power-manager/Manifest
xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.2.ebuild [new file with mode: 0644]

index b59cebfdcf63a74a6b548f117cad56148a83d644..1b45e392cb27b6ab293184858100be7db601950b 100644 (file)
@@ -1 +1,2 @@
 DIST xfce4-power-manager-1.6.1.tar.bz2 1180710 BLAKE2B bffb5f00a42a3242a0b9d35b48fe6d9813d3292757844e911a8e71d05cb59f2f91d93ab5a77ac15ae35c90ccfa60ce39db23bc94a0350232538c8621fec4473f SHA512 b81ce1b35892a6cd0b1d4fb590ccc25b906cde6f782de2fffbe78ea89e00df15e51ea1f47576c173b7512cd617f5142868fca8cf81519b6fe165a5ecc67a5478
+DIST xfce4-power-manager-1.6.2.tar.bz2 1212990 BLAKE2B d037c7fa9fae435c508d6d1656d191d763e7369938dc7158c7c8910a161f98fa20926bdd088a3a65c73e20b536150b12db883915ae95059edcd10c307c344037 SHA512 d1c475ad3cf194c19a2ad1decc4c80a9f504d74b64dec71887c14c576cd5a2932799cd0068f6356a15590fa67c6d0434401ad36b7a2fa6a3b62d51290cd7b68c
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.2.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.2.ebuild
new file mode 100644 (file)
index 0000000..2307374
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-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="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="debug kernel_linux networkmanager +panel-plugin policykit"
+
+COMMON_DEPEND=">=dev-libs/glib-2.42:=
+       >=sys-power/upower-0.99.0
+       sys-power/pm-utils
+       >=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="${COMMON_DEPEND}
+       networkmanager? ( net-misc/networkmanager )"
+DEPEND="${COMMON_DEPEND}
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig
+       x11-base/xorg-proto"
+
+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() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}