summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2016-02-20 16:43:17 -0500
committerNP-Hardass <NP-Hardass@gentoo.org>2016-03-09 18:04:27 -0500
commit2795202d569db1143c5b30a614cf74485c5435d5 (patch)
treee27d8546d8a3b42811fc4825c209962b0e5e09c0 /mate-extra
parentdev-ruby/forgery: Remove ruby19 (diff)
downloadgentoo-2795202d569db1143c5b30a614cf74485c5435d5.tar.gz
gentoo-2795202d569db1143c5b30a614cf74485c5435d5.tar.bz2
gentoo-2795202d569db1143c5b30a614cf74485c5435d5.zip
mate-extra/caja-extensions: Re-enable support for gksu.
I'm not entirely sure why it was disabled to begin with, and I found no evidence as to why. Keeping -r0 until this has been tested thoroughly. Package-Manager: portage-2.2.26
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/caja-extensions/caja-extensions-1.10.1-r1.ebuild74
-rw-r--r--mate-extra/caja-extensions/metadata.xml1
2 files changed, 75 insertions, 0 deletions
diff --git a/mate-extra/caja-extensions/caja-extensions-1.10.1-r1.ebuild b/mate-extra/caja-extensions/caja-extensions-1.10.1-r1.ebuild
new file mode 100644
index 00000000000..87874ce1651
--- /dev/null
+++ b/mate-extra/caja-extensions/caja-extensions-1.10.1-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit eutils gnome2
+
+MATE_BRANCH="$(get_version_component_range 1-2)"
+
+SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
+DESCRIPTION="Several Caja extensions"
+HOMEPAGE="http://www.mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SENDTO="cdr gajim +mail pidgin upnp"
+IUSE="gksu image-converter +open-terminal share +wallpaper ${SENDTO}"
+
+RDEPEND=">=x11-libs/gtk+-2.24:2
+ >=dev-libs/glib-2.36:2
+ >=mate-base/caja-1.10:0
+ virtual/libintl:0
+ x11-libs/gdk-pixbuf:2
+ open-terminal? ( >=mate-base/mate-desktop-1.10:0 )
+ cdr? ( >=app-cdr/brasero-2.32.1:0= )
+ gajim? (
+ net-im/gajim:0
+ >=dev-libs/dbus-glib-0.60:0
+ >=sys-apps/dbus-1:0
+ )
+ gksu? ( x11-libs/gksu )
+ pidgin? ( >=dev-libs/dbus-glib-0.60:0 )
+ upnp? ( >=net-libs/gupnp-0.13:0= )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.18:*
+ >=mate-base/mate-common-1.10:0
+ sys-devel/gettext:*
+ virtual/pkgconfig:*
+ !!mate-extra/mate-file-manager-open-terminal
+ !!mate-extra/mate-file-manager-sendto
+ !!mate-extra/mate-file-manager-image-converter
+ !!mate-extra/mate-file-manager-share"
+
+src_configure() {
+ MY_CONF=""
+
+ if use cdr || use mail || use pidgin || use gajim || use upnp ; then
+ MY_CONF="${MY_CONF} --enable-sendto"
+ MY_CONF="${MY_CONF} --with-sendto-plugins=removable-devices"
+ use cdr && MY_CONF="${MY_CONF},caja-burn"
+ use mail && MY_CONF="${MY_CONF},emailclient"
+ use pidgin && MY_CONF="${MY_CONF},pidgin"
+ use gajim && MY_CONF="${MY_CONF},gajim"
+ use upnp && MY_CONF="${MY_CONF},upnp"
+ else
+ MYCONF="${MY_CONF} --disable-sendto"
+ fi
+
+ gnome2_src_configure ${MY_CONF} \
+ $(use_enable gksu) \
+ $(use_enable image-converter) \
+ $(use_enable open-terminal) \
+ $(use_enable share) \
+ $(use_enable wallpaper)
+}
+
+DOCS="AUTHORS ChangeLog NEWS README"
diff --git a/mate-extra/caja-extensions/metadata.xml b/mate-extra/caja-extensions/metadata.xml
index 8b104f715dd..ee254e892e0 100644
--- a/mate-extra/caja-extensions/metadata.xml
+++ b/mate-extra/caja-extensions/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="cdr">Add an extension to burn files to cds using <pkg>app-cdr/brasero</pkg>.</flag>
<flag name="gajim">Add an extension to support <pkg>net-im/gajim</pkg>.</flag>
+ <flag name="gksu">Add an extension to support opening files as root with <pkg>x11-libs/gksu</pkg>.</flag>
<flag name="image-converter">Add image conversion support.</flag>
<flag name="mail">Add an extension to support e-mail functionality.</flag>
<flag name="open-terminal">Add an extension to support an open terminal.</flag>