diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-06-25 20:04:30 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-06-25 20:42:50 +0200 |
commit | 91d3e2522e90c8c8986a6dfc9a609bc84c55b319 (patch) | |
tree | e7c8d4a61fd737f64e2f20e5ece90010b795e395 /gnome-extra | |
parent | gnome-extra/gnome-power-manager: Drop old (diff) | |
download | gentoo-91d3e2522e90c8c8986a6dfc9a609bc84c55b319.tar.gz gentoo-91d3e2522e90c8c8986a6dfc9a609bc84c55b319.tar.bz2 gentoo-91d3e2522e90c8c8986a6dfc9a609bc84c55b319.zip |
gnome-extra/gnome-power-manager: Version bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gnome-power-manager/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-power-manager/gnome-power-manager-3.20.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/gnome-extra/gnome-power-manager/Manifest b/gnome-extra/gnome-power-manager/Manifest index bfa4b8c3fc7c..0c94ab15a8e9 100644 --- a/gnome-extra/gnome-power-manager/Manifest +++ b/gnome-extra/gnome-power-manager/Manifest @@ -1 +1,2 @@ DIST gnome-power-manager-3.18.0.tar.xz 433960 SHA256 afe5921a4313d15757f39f6ff4ec6f7c9e9cbb9b2aaa0b8a290e1cd7557e28f0 SHA512 53ec940882b1b037e5d32bcda72b34582925608df30f96147b975651f26cde268a608bbc55242bfee67a48950fa0c395f6b893c047e6b4f1a1c45793376d9b44 WHIRLPOOL 05492c60557744fb86c92c4d47cc54a4b37b7d6ad1eb1701fa2d68acc9a39e3a9a69c3dec96efc0b306d7ba40a54d94da3d3c265cc2d6b643ae0964b4b211326 +DIST gnome-power-manager-3.20.0.tar.xz 436464 SHA256 159c23a6ed5ffd54324947adb2a32caff6d6e2210f96bdf3961edfcad8058a47 SHA512 4b0a735b64e0c8834fe5ef5d5fbe1feb00dbe0d46b6efb97d6ca8fe394f8436cdd26fc4d655e0b983ac85110404ed46657b357ee6ec733a7c821a51b05419c19 WHIRLPOOL d23db7b0ad7567e380c979d74d3f6feda96bc3e12c256d9c4d2f88a888d7f722ad5b879912e45c68b03f58ce4cc239c7b604d191813697f96d4d202dc9b911ed diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-3.20.0.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-3.20.0.ebuild new file mode 100644 index 000000000000..c1d20a9cd196 --- /dev/null +++ b/gnome-extra/gnome-power-manager/gnome-power-manager-3.20.0.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 +} |