summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lermytte <gentoo@lermytte.be>2016-11-08 19:04:23 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2016-11-09 08:59:27 +0100
commit3d34e57839c86a53db2e845b04006b24573cd0ac (patch)
tree39687ed72f7f78d6eb481e35717354054333cc49 /gnome-extra
parentgnome-extra/gnome-color-manager: add gnome-color-manager-3.22.2.ebuild (diff)
downloadgentoo-3d34e57839c86a53db2e845b04006b24573cd0ac.tar.gz
gentoo-3d34e57839c86a53db2e845b04006b24573cd0ac.tar.bz2
gentoo-3d34e57839c86a53db2e845b04006b24573cd0ac.zip
gnome-extra/gnome-power-manager: add gnome-power-manager-3.22.2.ebuild
Simple bump, as no relevant changes in https://git.gnome.org/browse/gnome-power-manager/diff/?id=GNOME_POWER_MANAGER_3_22_2&&id2=GNOME_POWER_MANAGER_3_22_1 Closes: https://github.com/gentoo/gentoo/pull/2784 Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-power-manager/Manifest1
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-3.22.2.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/gnome-extra/gnome-power-manager/Manifest b/gnome-extra/gnome-power-manager/Manifest
index e53e45cee40e..70ba616a313b 100644
--- a/gnome-extra/gnome-power-manager/Manifest
+++ b/gnome-extra/gnome-power-manager/Manifest
@@ -1,2 +1,3 @@
DIST gnome-power-manager-3.20.0.tar.xz 436464 SHA256 159c23a6ed5ffd54324947adb2a32caff6d6e2210f96bdf3961edfcad8058a47 SHA512 4b0a735b64e0c8834fe5ef5d5fbe1feb00dbe0d46b6efb97d6ca8fe394f8436cdd26fc4d655e0b983ac85110404ed46657b357ee6ec733a7c821a51b05419c19 WHIRLPOOL d23db7b0ad7567e380c979d74d3f6feda96bc3e12c256d9c4d2f88a888d7f722ad5b879912e45c68b03f58ce4cc239c7b604d191813697f96d4d202dc9b911ed
DIST gnome-power-manager-3.22.1.tar.xz 442492 SHA256 4e3b8a4ecc5ea7cf4eeb976795c7bb87afbf6c1a8a398b8591bc0db67024d4e4 SHA512 622bc8064a74c3613cb76bc722c102a49bbdaf8b44cd8f338b1482622c8196bff4b6fa6a9096b0aa323e0c819c3773e29ce841c044ba12755784243c4419cb28 WHIRLPOOL e799fdd17d4a22f38ef5665a10bfded2fb790ffb9098f9f309126e9b9b8e4fc914a23711c0d22fa48bf49326bdf066d6d48b3078cb0da6b67cd1eedabd44b5b8
+DIST gnome-power-manager-3.22.2.tar.xz 453204 SHA256 4f02d101d768fc4da52b7a294b233f7e4e1fbc09515d144bf2040bab9e0724e0 SHA512 a8039404bf9850422d385281b6572485b39b5fd63c7eec1b41df14f4d551898a90c8d943683517744d0dc2d851a7fd1f7697655af91a0d17a3df476828a763aa WHIRLPOOL a992ba80a60bcc5ae84cec722043cf4377158e3c4635f34888f1c0dfc1eea3e9dcfc415c68f6ea20a6583bab5a67e45aa80044ff25653b189c85da0e8429790c
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-3.22.2.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-3.22.2.ebuild
new file mode 100644
index 000000000000..c1d20a9cd196
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-3.22.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit gnome2 virtualx
+
+DESCRIPTION="GNOME power management service"
+HOMEPAGE="https://projects.gnome.org/gnome-power-manager/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.45.8:2
+ >=x11-libs/gtk+-3.3.8:3
+ >=x11-libs/cairo-1
+ >=sys-power/upower-0.99:=
+"
+RDEPEND="${COMMON_DEPEND}
+ x11-themes/adwaita-icon-theme
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-sgml-dtd:4.1
+ app-text/docbook-sgml-utils
+ dev-libs/appstream-glib
+ >=dev-util/intltool-0.50
+ sys-devel/gettext
+ x11-proto/randrproto
+ virtual/pkgconfig
+ test? ( sys-apps/dbus )
+"
+
+# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages
+# (files under ${S}/man).
+# docbook-xml-dtd-4.4 and -4.1.2 are used by the xml files under ${S}/docs.
+
+src_prepare() {
+ # Drop debugger CFLAGS from configure
+ # Touch configure.ac only if running eautoreconf, otherwise
+ # maintainer mode gets triggered -- even if the order is correct
+ sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' \
+ -i configure || die "debugger sed failed"
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable test tests)
+}
+
+src_test() {
+ virtx emake check
+}