mate-extra/mate-polkit: 1.12.x vbump, add gtk3 support, import from project repo
authorNP-Hardass <NP-Hardass@gentoo.org>
Thu, 11 Aug 2016 19:30:38 +0000 (15:30 -0400)
committerNP-Hardass <NP-Hardass@gentoo.org>
Fri, 12 Aug 2016 05:12:01 +0000 (01:12 -0400)
Package-Manager: portage-2.3.0

mate-extra/mate-polkit/Manifest
mate-extra/mate-polkit/mate-polkit-1.12.0-r2.ebuild [new file with mode: 0644]
mate-extra/mate-polkit/metadata.xml

index a47e58ef5c0fc88c18a4cf021b0c67725ba7d5b8..ad0f32a5b48d51187a212ccc1cdf5af8f90182a4 100644 (file)
@@ -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 (file)
index 0000000..7886fc2
--- /dev/null
@@ -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)
+}
index a32febb6af55835a2a8c343d6dfa9a450ca14208..5b50b1c1f37d456296844de770d961bb0a7a479a 100644 (file)
@@ -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>