summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2014-04-10 12:23:00 +0000
committerTom Wijsman <tomwij@gentoo.org>2014-04-10 12:23:00 +0000
commitfb81bcd87cd9820a54faa6e3b0b7723454aff1c1 (patch)
treea34a3909d05190be928c88f1aa696baffefa2b50 /mate-base/caja
parentAdjust mate-base/mate-file-manager mask to be mate-base/caja due to upstream ... (diff)
downloadgentoo-2-fb81bcd87cd9820a54faa6e3b0b7723454aff1c1.tar.gz
gentoo-2-fb81bcd87cd9820a54faa6e3b0b7723454aff1c1.tar.bz2
gentoo-2-fb81bcd87cd9820a54faa6e3b0b7723454aff1c1.zip
New package for mate-base/caja, continuation of mate-base/mate-file-manager; version bump to 1.8.0.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'mate-base/caja')
-rw-r--r--mate-base/caja/ChangeLog10
-rw-r--r--mate-base/caja/caja-1.8.0.ebuild98
-rw-r--r--mate-base/caja/metadata.xml15
3 files changed, 123 insertions, 0 deletions
diff --git a/mate-base/caja/ChangeLog b/mate-base/caja/ChangeLog
new file mode 100644
index 000000000000..d01ca39d865c
--- /dev/null
+++ b/mate-base/caja/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for mate-base/caja
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mate-base/caja/ChangeLog,v 1.1 2014/04/10 12:23:00 tomwij Exp $
+
+*caja-1.8.0 (10 Apr 2014)
+
+ 10 Apr 2014; Tom Wijsman <TomWij@gentoo.org> +caja-1.8.0.ebuild,
+ +metadata.xml:
+ New package for mate-base/caja, continuation of mate-base/mate-file-manager;
+ version bump to 1.8.0.
diff --git a/mate-base/caja/caja-1.8.0.ebuild b/mate-base/caja/caja-1.8.0.ebuild
new file mode 100644
index 000000000000..368d8915d525
--- /dev/null
+++ b/mate-base/caja/caja-1.8.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mate-base/caja/caja-1.8.0.ebuild,v 1.1 2014/04/10 12:23:00 tomwij Exp $
+
+EAPI="5"
+
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit eutils gnome2 versionator virtualx
+
+MATE_BRANCH="$(get_version_component_range 1-2)"
+
+SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
+DESCRIPTION="Caja file manager for the MATE desktop"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2 LGPL-2 FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="X +mate +introspection +unique xmp"
+
+RDEPEND="dev-libs/atk:0
+ >=dev-libs/glib-2.28:2
+ >=dev-libs/libxml2-2.4.7:2
+ || (
+ >=gnome-base/gvfs-1.10.1:0[gdu]
+ >=gnome-base/gvfs-1.10.1:0[udisks]
+ )
+ >=mate-base/mate-desktop-1.8:0
+ >=media-libs/libexif-0.5.12:0
+ >=x11-libs/gtk+-2.24:2[introspection?]
+ x11-libs/cairo:0
+ x11-libs/gdk-pixbuf:2
+ x11-libs/libICE:0
+ x11-libs/libSM:0
+ x11-libs/libX11:0
+ x11-libs/libXext:0
+ x11-libs/libXft:0
+ x11-libs/libXrender:0
+ >=x11-libs/pango-1.1.2:0
+ virtual/libintl:0
+ introspection? ( >=dev-libs/gobject-introspection-0.6.4:0 )
+ unique? ( >=dev-libs/libunique-1:1 )
+ xmp? ( >=media-libs/exempi-1.99.2:2 )"
+
+DEPEND="${RDEPEND}
+ !!mate-base/mate-file-manager
+ >=dev-lang/perl-5:0=
+ dev-util/gdbus-codegen:0
+ >=dev-util/intltool-0.40.1:*
+ >=mate-base/mate-common-1.6:0
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+PDEPEND="mate? ( >=x11-themes/mate-icon-theme-1.6:0 )"
+
+# TODO: Test fails because Caja is not merged yet:
+# GLib-GIO-ERROR **: Settings schema 'org.mate.caja.preferences' is not installed
+RESTRICT="test"
+
+src_prepare() {
+ # Remove unnecessary CFLAGS.
+ sed -i -e 's:-DG.*DISABLE_DEPRECATED::g' \
+ configure{,.ac} eel/Makefile.{am,in} || die
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --enable-unique \
+ --disable-packagekit \
+ --disable-update-mimedb \
+ --with-gtk=2.0 \
+ $(use_enable introspection) \
+ $(use_enable unique) \
+ $(use_enable xmp) \
+ $(use_with X x)
+}
+
+DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS TODO"
+
+src_test() {
+ unset SESSION_MANAGER
+ unset DBUS_SESSION_BUS_ADDRESS
+
+ Xemake check || die "Test phase failed"
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ elog "Caja can use gstreamer to preview audio files. Just make sure"
+ elog "to have the necessary plugins available to play the media type you"
+ elog "want to preview."
+}
diff --git a/mate-base/caja/metadata.xml b/mate-base/caja/metadata.xml
new file mode 100644
index 000000000000..954ab7c91067
--- /dev/null
+++ b/mate-base/caja/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>TomWij@gentoo.org</email>
+ <name>Tom Wijsman</name>
+ </maintainer>
+ <use>
+ <flag name="mate">Install <pkg>x11-themes/mate-icon-theme</pkg> which
+ is needed when this package is used in the MATE desktop
+ environment.</flag>
+ <flag name="unique">Enable single instance support using
+ <pkg>dev-libs/libunique</pkg>.</flag>
+ </use>
+</pkgmetadata>