summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2014-05-04 21:43:31 +0000
committerTom Wijsman <tomwij@gentoo.org>2014-05-04 21:43:31 +0000
commitab4dbdae0e945ff943e8bb8cd1f8140359d5c2db (patch)
tree7226e888467bd6c9d15189fd719671601bf70f42 /mate-extra/caja-extensions/caja-extensions-1.8.0.ebuild
parentcaja-extensions was in wrong category, also removed the packages that it repl... (diff)
downloadhistorical-ab4dbdae0e945ff943e8bb8cd1f8140359d5c2db.tar.gz
historical-ab4dbdae0e945ff943e8bb8cd1f8140359d5c2db.tar.bz2
historical-ab4dbdae0e945ff943e8bb8cd1f8140359d5c2db.zip
New ebuild for mate-extra/caja-extensions for MATE 1.8, several Caja extensions; imported from the mate-overlay, reviewed and adjusted.
Package-Manager: portage-HEAD/cvs/Linux x86_64 Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'mate-extra/caja-extensions/caja-extensions-1.8.0.ebuild')
-rw-r--r--mate-extra/caja-extensions/caja-extensions-1.8.0.ebuild80
1 files changed, 80 insertions, 0 deletions
diff --git a/mate-extra/caja-extensions/caja-extensions-1.8.0.ebuild b/mate-extra/caja-extensions/caja-extensions-1.8.0.ebuild
new file mode 100644
index 000000000000..52658fef027d
--- /dev/null
+++ b/mate-extra/caja-extensions/caja-extensions-1.8.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mate-extra/caja-extensions/caja-extensions-1.8.0.ebuild,v 1.1 2014/05/04 21:43:26 tomwij Exp $
+
+EAPI="5"
+
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit autotools 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"
+
+SENDTO="cdr gajim +mail pidgin upnp"
+IUSE="image-converter +open-terminal share ${SENDTO}"
+
+RDEPEND=">=x11-libs/gtk+-2.18:2
+ >=dev-libs/glib-2.26:2
+ >=mate-base/caja-1.8:0
+ virtual/libintl:0
+ x11-libs/gdk-pixbuf:2
+ open-terminal? ( >=mate-base/mate-desktop-1.8: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
+ )
+ 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.8: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_prepare() {
+ epatch "${FILESDIR}/${PN}-1.8.0-sendto-options.patch"
+
+ eautoreconf
+}
+
+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} \
+ --disable-gksu \
+ $(use_enable image-converter) \
+ $(use_enable open-terminal) \
+ $(use_enable share)
+}
+
+DOCS="AUTHORS ChangeLog NEWS README"