summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2016-08-11 15:30:38 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2016-08-12 01:12:01 -0400
commit1eb50e33049fbdb44cfdf15e4b63257786d767ab (patch)
treea4402ce580a0e577fc8bd931057781984dfe42f4 /mate-extra
parentmate-base/caja: 1.12.x vbump, add gtk3 support, import from project repo (diff)
downloadgentoo-1eb50e33049fbdb44cfdf15e4b63257786d767ab.tar.gz
gentoo-1eb50e33049fbdb44cfdf15e4b63257786d767ab.tar.bz2
gentoo-1eb50e33049fbdb44cfdf15e4b63257786d767ab.zip
mate-extra/mate-polkit: 1.12.x vbump, add gtk3 support, import from project repo
Package-Manager: portage-2.3.0
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/mate-polkit/Manifest1
-rw-r--r--mate-extra/mate-polkit/mate-polkit-1.12.0-r2.ebuild52
-rw-r--r--mate-extra/mate-polkit/metadata.xml1
3 files changed, 54 insertions, 0 deletions
diff --git a/mate-extra/mate-polkit/Manifest b/mate-extra/mate-polkit/Manifest
index a47e58ef5c0f..ad0f32a5b48d 100644
--- a/mate-extra/mate-polkit/Manifest
+++ b/mate-extra/mate-polkit/Manifest
@@ -1 +1,2 @@
DIST mate-polkit-1.10.3.tar.xz 324732 SHA256 fb829c28da0ba99eddfe3c9440852a301462e95377d064bce9a68a5d2314b20d SHA512 39d5af5d8f1f1db1f45bbbba3b1a21754fb59f1f2682e46008cd3cfedacf22dcb0bca5175d59897206c5a2a17c6a6b4daa132ce8a96462504651884afba25ce6 WHIRLPOOL 08e614fbfd5fab0717b4a981d246127a68ae43d0827e0bc0bec83ed742a7ca35e824e3aaa4daa1756587433ceb5d5d323732310edac9dde381ff56881552ca70
+DIST mate-polkit-1.12.0.tar.xz 324708 SHA256 c38f0a0c3d4e10fc95d27fa4e8d47eb6948e8c9279a82f316f563666571bf8b9 SHA512 b6e771062e29d2f4f2823638e39f5e5b349b98fcf8fd8d652d847d568eee919d37956089d7bef1463d96f801f852d10d9423bb8c20f8a54dfe8188d19ab6fb0c WHIRLPOOL bc35601f824af52ac1162aeb3342789e8fbb4f6a09b5352fffd5db87d9c02f6ddba326002a13533531c772234994c845dfbe1473563bec1c442606688b6909f4
diff --git a/mate-extra/mate-polkit/mate-polkit-1.12.0-r2.ebuild b/mate-extra/mate-polkit/mate-polkit-1.12.0-r2.ebuild
new file mode 100644
index 000000000000..7886fc25d742
--- /dev/null
+++ b/mate-extra/mate-polkit/mate-polkit-1.12.0-r2.ebuild
@@ -0,0 +1,52 @@
+# 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 MATE specific DBUS service that is used to bring up authentication dialogs"
+LICENSE="LGPL-2"
+SLOT="0"
+
+IUSE="accountsservice appindicator debug examples gtk3 +introspection"
+
+RDEPEND=">=dev-libs/glib-2.36:2
+ >=sys-auth/polkit-0.102:0[introspection?]
+ x11-libs/gdk-pixbuf:2[introspection?]
+ virtual/libintl:0
+ accountsservice? ( sys-apps/accountsservice:0[introspection?] )
+ !gtk3? (
+ >=x11-libs/gtk+-2.24:2[introspection?]
+ appindicator? ( dev-libs/libappindicator:2 )
+ )
+ gtk3? (
+ >=x11-libs/gtk+-3.0:3[introspection?]
+ appindicator? ( dev-libs/libappindicator:3 )
+ )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.2:= )"
+
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc
+ dev-util/gtk-doc-am
+ >=dev-util/intltool-0.35:*
+ sys-devel/gettext:*
+ >=sys-devel/libtool-2.2.6
+ virtual/pkgconfig:*
+ !<gnome-extra/polkit-gnome-0.102:0"
+
+src_configure() {
+ mate_src_configure \
+ --disable-static \
+ --with-gtk=$(usex gtk3 3.0 2.0) \
+ $(use_enable accountsservice) \
+ $(use_enable appindicator) \
+ $(use_enable debug) \
+ $(use_enable examples) \
+ $(use_enable introspection)
+}
diff --git a/mate-extra/mate-polkit/metadata.xml b/mate-extra/mate-polkit/metadata.xml
index a32febb6af55..5b50b1c1f37d 100644
--- a/mate-extra/mate-polkit/metadata.xml
+++ b/mate-extra/mate-polkit/metadata.xml
@@ -11,5 +11,6 @@
<use>
<flag name="accountsservice">Support extraction of data from AccountsService</flag>
<flag name="appindicator">Add support for AppIndicator</flag>
+ <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
</use>
</pkgmetadata>