public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "NP Hardass" <np-hardass@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-mate:master commit in: mate-extra/mate-power-manager/
Date: Fri, 17 Jun 2016 17:39:11 +0000 (UTC)	[thread overview]
Message-ID: <1466184880.1afaa6dc83c8d18e5e58b21cbebc86b10cecf670.np-hardass@gentoo> (raw)

commit:     1afaa6dc83c8d18e5e58b21cbebc86b10cecf670
Author:     NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 12 04:04:01 2016 +0000
Commit:     NP Hardass <np-hardass <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 17:34:40 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=1afaa6dc

mate-extra/mate-power-manager:  Version bump to 1.12.1, add 9999, add gtk3

Package-Manager: portage-2.2.26

 mate-extra/mate-power-manager/Manifest             |  1 +
 .../mate-power-manager-1.12.1.ebuild               | 89 ++++++++++++++++++++++
 .../mate-power-manager-9999.ebuild                 | 89 ++++++++++++++++++++++
 mate-extra/mate-power-manager/metadata.xml         |  1 +
 4 files changed, 180 insertions(+)

diff --git a/mate-extra/mate-power-manager/Manifest b/mate-extra/mate-power-manager/Manifest
index 16bf560..1941ae8 100644
--- a/mate-extra/mate-power-manager/Manifest
+++ b/mate-extra/mate-power-manager/Manifest
@@ -1 +1,2 @@
 DIST mate-power-manager-1.10.2.tar.xz 3350616 SHA256 49eed514cb8507d3ae7699e701afb33a90002aa833bdc507f9ac0dd031ce04de SHA512 133745446536d21102ed318d2809209e46dcef7dd312219d9b716f7785cbcd5a47d477643e1c15dd6672d088640a583a63819b394dc96e4a3437affdbc389ae7 WHIRLPOOL c250220933ba0d13e7b7377072f5e503b33af5d2245812b6c562885310737039dbed34f23918be0f82332e2eb75533285d736c46a787be26403b6fac22039791
+DIST mate-power-manager-1.12.1.tar.xz 3197824 SHA256 c43aa2ae75335a758d71cdab4b939141c352a7fb179c3e41a064ce9c007b587f SHA512 60da8ab6988a4bbef363fcf4571260bc7f70ed90badf85e4233e6ed80cfc13446319bd8686ed6d4bf9752971a6f98021a5d0354e3aa7f9274b6fdbc8f9f920b4 WHIRLPOOL de61b88835ffc9bc5f861dcc1c05726f331735ae430a71ce126fcb3553ea307e5d9163c226c16a39d1781d60d67b46d0d39c255c4a620782346e4d39e051639a

diff --git a/mate-extra/mate-power-manager/mate-power-manager-1.12.1.ebuild b/mate-extra/mate-power-manager/mate-power-manager-1.12.1.ebuild
new file mode 100644
index 0000000..62a91fb
--- /dev/null
+++ b/mate-extra/mate-power-manager/mate-power-manager-1.12.1.ebuild
@@ -0,0 +1,89 @@
+# 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 policykit test"
+
+# Interactive testsuite.
+RESTRICT="test"
+
+COMMON_DEPEND="app-text/rarian:0
+	>=dev-libs/dbus-glib-0.70:0
+	>=dev-libs/glib-2.36:2
+	>=mate-base/mate-desktop-1.9[gtk3(-)=]
+	>=sys-apps/dbus-1:0
+	|| ( >=sys-power/upower-0.9.23:= >=sys-power/upower-pm-utils-0.9.23 )
+	>=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? (
+		>=dev-libs/libunique-3:3
+		>=media-libs/libcanberra-0.10:0[gtk3]
+		>=x11-libs/gtk+-3.0:3
+	)"
+
+RDEPEND="${COMMON_DEPEND}
+	policykit? ( >=mate-extra/mate-polkit-1.6[gtk3(-)=] )"
+
+DEPEND="${COMMON_DEPEND}
+	app-text/docbook-xml-dtd:4.3
+	>=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"
+}

diff --git a/mate-extra/mate-power-manager/mate-power-manager-9999.ebuild b/mate-extra/mate-power-manager/mate-power-manager-9999.ebuild
new file mode 100644
index 0000000..62a91fb
--- /dev/null
+++ b/mate-extra/mate-power-manager/mate-power-manager-9999.ebuild
@@ -0,0 +1,89 @@
+# 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 policykit test"
+
+# Interactive testsuite.
+RESTRICT="test"
+
+COMMON_DEPEND="app-text/rarian:0
+	>=dev-libs/dbus-glib-0.70:0
+	>=dev-libs/glib-2.36:2
+	>=mate-base/mate-desktop-1.9[gtk3(-)=]
+	>=sys-apps/dbus-1:0
+	|| ( >=sys-power/upower-0.9.23:= >=sys-power/upower-pm-utils-0.9.23 )
+	>=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? (
+		>=dev-libs/libunique-3:3
+		>=media-libs/libcanberra-0.10:0[gtk3]
+		>=x11-libs/gtk+-3.0:3
+	)"
+
+RDEPEND="${COMMON_DEPEND}
+	policykit? ( >=mate-extra/mate-polkit-1.6[gtk3(-)=] )"
+
+DEPEND="${COMMON_DEPEND}
+	app-text/docbook-xml-dtd:4.3
+	>=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"
+}

diff --git a/mate-extra/mate-power-manager/metadata.xml b/mate-extra/mate-power-manager/metadata.xml
index 7c4818f..70677a0 100644
--- a/mate-extra/mate-power-manager/metadata.xml
+++ b/mate-extra/mate-power-manager/metadata.xml
@@ -7,6 +7,7 @@
     </maintainer>
 	<use>
 		<flag name="applet">Enable building of the MATE applet.</flag>
+		<flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
 		<flag name="man">Build power manager's man page.</flag>
 		<flag name="unique">Enable single instance support using 
 		<pkg>dev-libs/libunique</pkg>.</flag>


             reply	other threads:[~2016-06-17 17:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17 17:39 NP Hardass [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-02  2:01 [gentoo-commits] proj/gentoo-mate:master commit in: mate-extra/mate-power-manager/ Adam Feldman
2021-06-10 15:36 Adam Feldman
2021-06-08 22:14 Adam Feldman
2021-05-23 20:07 Adam Feldman
2018-02-11 13:49 Ettore Di Giacinto
2018-01-14 10:52 Ettore Di Giacinto
2016-11-29 19:49 Ettore Di Giacinto
2016-11-22 11:11 Ettore Di Giacinto
2016-10-15  2:58 NP Hardass
2016-08-13 18:49 NP Hardass
2016-08-11  6:06 NP Hardass
2016-01-26 18:09 NP Hardass
2015-12-31  6:27 NP Hardass
2015-07-19 20:36 NP Hardass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1466184880.1afaa6dc83c8d18e5e58b21cbebc86b10cecf670.np-hardass@gentoo \
    --to=np-hardass@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox