summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEttore Di Giacinto <mudler@gentoo.org>2016-11-09 22:03:58 +0100
committerEttore Di Giacinto <mudler@gentoo.org>2016-12-08 16:30:14 +0100
commit7661537fdae85062ec29f1795bd2c5258c1bf415 (patch)
treedb38ca9a427e701e9f231f172e330470bf28bc50 /mate-extra
parentmate-extra/mate-media: version bump to 1.16.0 (diff)
downloadgentoo-7661537fdae85062ec29f1795bd2c5258c1bf415.tar.gz
gentoo-7661537fdae85062ec29f1795bd2c5258c1bf415.tar.bz2
gentoo-7661537fdae85062ec29f1795bd2c5258c1bf415.zip
mate-extra/mate-power-manager: version bump to 1.16.0
* cleanup metadata Package-Manager: portage-2.3.1
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/mate-power-manager/Manifest1
-rw-r--r--mate-extra/mate-power-manager/mate-power-manager-1.16.0.ebuild88
2 files changed, 89 insertions, 0 deletions
diff --git a/mate-extra/mate-power-manager/Manifest b/mate-extra/mate-power-manager/Manifest
index dab5fc013796..cc9a484d0a72 100644
--- a/mate-extra/mate-power-manager/Manifest
+++ b/mate-extra/mate-power-manager/Manifest
@@ -1,2 +1,3 @@
DIST mate-power-manager-1.12.1.tar.xz 3197824 SHA256 c43aa2ae75335a758d71cdab4b939141c352a7fb179c3e41a064ce9c007b587f SHA512 60da8ab6988a4bbef363fcf4571260bc7f70ed90badf85e4233e6ed80cfc13446319bd8686ed6d4bf9752971a6f98021a5d0354e3aa7f9274b6fdbc8f9f920b4 WHIRLPOOL de61b88835ffc9bc5f861dcc1c05726f331735ae430a71ce126fcb3553ea307e5d9163c226c16a39d1781d60d67b46d0d39c255c4a620782346e4d39e051639a
DIST mate-power-manager-1.14.0.tar.xz 3221144 SHA256 2306f7210298dba705277b748f8e3da1481889af4cb047a3eb76f196c4ded898 SHA512 b1e6c5c0fe18b8e5d70ad66af450e86e7cf9fd5429973907618a742093fa9dec0c137e598f766824cb092d7c8c90a6d7116bc6b0417c81320dc21f8426d1eae2 WHIRLPOOL 80773ee914217c409ae49b8f8741b64ec55aa3ec8e6550441e4d0a3d99a7f44e3a0833b073c3be742fa30362da43425ace953af48820c09628ddef9c3443419a
+DIST mate-power-manager-1.16.0.tar.xz 3178780 SHA256 70449008afb448daf4c18f533d3999f76c642b492594b0eaa751dec749330a3e SHA512 c05edf0a28e9ba5aa84f8d8f2280a08c0214e03eede4701e3292747a242dd7a120078955348121faa9b68a5cc8d7601ff3d94f52ed13b918421c7b18fe028970 WHIRLPOOL e6bf8d5c86d705b18648d4bc5fe1c69d1705e76309263a590bd950eb85aabc3381e58de25206b0cef812779f9c6466139bfa487753c9ae630181831efb46fb56
diff --git a/mate-extra/mate-power-manager/mate-power-manager-1.16.0.ebuild b/mate-extra/mate-power-manager/mate-power-manager-1.16.0.ebuild
new file mode 100644
index 000000000000..7889d052079c
--- /dev/null
+++ b/mate-extra/mate-power-manager/mate-power-manager-1.16.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="A session daemon for MATE that makes it easy to manage your laptop or desktop"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="+applet gnome-keyring gtk3 man pm-utils policykit test"
+
+# Interactive testsuite.
+RESTRICT="test"
+
+COMMON_DEPEND=">=dev-libs/dbus-glib-0.70:0
+ >=dev-libs/glib-2.36:2
+ >=sys-apps/dbus-1:0
+ >=x11-apps/xrandr-1.3:0
+ >=x11-libs/cairo-1:0
+ >=x11-libs/gdk-pixbuf-2.11:2
+ x11-libs/libX11:0
+ x11-libs/libXext:0
+ x11-libs/libXrandr:0
+ >=x11-libs/libnotify-0.7:0
+ x11-libs/pango:0
+ applet? ( >=mate-base/mate-panel-1.6[gtk3(-)=] )
+ gnome-keyring? ( >=gnome-base/libgnome-keyring-3:0 )
+ !gtk3? (
+ >=dev-libs/libunique-1:1
+ >=media-libs/libcanberra-0.10:0[gtk]
+ >=x11-libs/gtk+-2.24:2
+ )
+ gtk3? (
+ >=media-libs/libcanberra-0.10:0[gtk3]
+ >=x11-libs/gtk+-3.0:3
+ )
+ pm-utils? ( >=sys-power/upower-pm-utils-0.9.23 )
+ !pm-utils? ( >=sys-power/upower-0.9.23:= )"
+
+RDEPEND="${COMMON_DEPEND}
+ policykit? ( >=mate-extra/mate-polkit-1.6 )"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.3
+ app-text/rarian:0
+ >=app-text/scrollkeeper-dtd-1:1.0
+ app-text/yelp-tools:0
+ >=dev-util/intltool-0.50.1:*
+ x11-proto/randrproto:0
+ >=x11-proto/xproto-7.0.15:0
+ sys-devel/gettext:*
+ virtual/pkgconfig:*
+ man? ( app-text/docbook-sgml-utils:0
+ >=app-text/docbook-sgml-dtd-4.3 )"
+
+src_prepare() {
+ mate_src_prepare
+
+ # This needs to be after eautoreconf to prevent problems like bug #356277
+ # Remove the docbook2man rules here since it's not handled by a proper
+ # parameter in configure.in.
+ if ! use man; then
+ sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' -i man/Makefile.in \
+ || die "docbook sed failed"
+ fi
+}
+
+src_configure() {
+ mate_src_configure \
+ --enable-compile-warnings=minimum \
+ --with-gtk=$(usex gtk3 3.0 2.0) \
+ $(use_with gnome-keyring keyring) \
+ $(use_enable applet applets) \
+ $(use_enable test tests)
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+
+ dbus-launch Xemake check || die "Test phase failed"
+}