summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2016-08-11 15:18:33 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2016-08-12 01:12:00 -0400
commit998b2ef860d5ca73e38d92edd9c6dcf35e765d49 (patch)
tree012b5ae05dcfcc5f5dfed7a8d5895387be7745c3 /mate-base/caja
parentx11-themes/mate-icon-theme: 1.12.x vbump, import from project repo (diff)
downloadgentoo-998b2ef860d5ca73e38d92edd9c6dcf35e765d49.tar.gz
gentoo-998b2ef860d5ca73e38d92edd9c6dcf35e765d49.tar.bz2
gentoo-998b2ef860d5ca73e38d92edd9c6dcf35e765d49.zip
mate-base/caja: 1.12.x vbump, add gtk3 support, import from project repo
Package-Manager: portage-2.3.0
Diffstat (limited to 'mate-base/caja')
-rw-r--r--mate-base/caja/Manifest1
-rw-r--r--mate-base/caja/caja-1.12.7-r2.ebuild96
-rw-r--r--mate-base/caja/metadata.xml3
3 files changed, 100 insertions, 0 deletions
diff --git a/mate-base/caja/Manifest b/mate-base/caja/Manifest
index a12eba543f72..990d6ed2ea74 100644
--- a/mate-base/caja/Manifest
+++ b/mate-base/caja/Manifest
@@ -1 +1,2 @@
DIST caja-1.10.4.tar.xz 3585224 SHA256 0294f6ab2017c84e5838bc3f01d3984a4cd6c9328f733a9a183238203f64555f SHA512 42b1daf015f588842e5a02bbb3ad4f0432d20c99cc702c02056a6cf6a97161fcbacf5dbdaf503d9ce029e107e1523666fae255887700d1f87e26b594f9546ecd WHIRLPOOL 2c46fafff948f724f692da1ccdb851dce5247f08c2be59a8d2d7ad25dceecdf37dafe500320b34bad150f3238b3e85157a558fa924f7a54ec5623bee8a232f7c
+DIST caja-1.12.7.tar.xz 3645820 SHA256 94bd13a34a8a1ef725bb9d9de7f0db8da16e701fc5bcf5d2f1d39c7af18f42cf SHA512 32761370cc419ab8d8f815a291782d1ce380d04bf2450dbcea9d0f17d91a1c0b9a487a67a51a0c769a5fcb11091638a7b60e27b28f3148899ba44fb6feb313da WHIRLPOOL 373e24e548f620a7c5c48838d8660a298c021b3c49bda3d524b3bde9d70b012ef057752c3be3eec8c3a170f28da294fa1b000debe7a3cc1e45e3ffa0e881170b
diff --git a/mate-base/caja/caja-1.12.7-r2.ebuild b/mate-base/caja/caja-1.12.7-r2.ebuild
new file mode 100644
index 000000000000..fc82f95cc8b6
--- /dev/null
+++ b/mate-base/caja/caja-1.12.7-r2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate virtualx
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Caja file manager for the MATE desktop"
+LICENSE="GPL-2 LGPL-2 FDL-1.1"
+SLOT="0"
+
+IUSE="gtk3 +introspection +mate packagekit xmp"
+
+RDEPEND="dev-libs/atk:0
+ >=dev-libs/glib-2.36:2
+ >=dev-libs/libxml2-2.4.7:2
+ gnome-base/dconf:0
+ >=gnome-base/gvfs-1.10.1:0[udisks]
+ >=mate-base/mate-desktop-1.9:0[gtk3(-)=]
+ >=media-libs/libexif-0.6.14:0
+ 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
+ !gtk3? (
+ >=dev-libs/libunique-1:1
+ >=x11-libs/gtk+-2.24:2[introspection?]
+ )
+ gtk3? (
+ >=dev-libs/libunique-3:3
+ >=x11-libs/gtk+-3.0:3[introspection?]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.4:= )
+ packagekit? ( app-admin/packagekit-base )
+ xmp? ( >=media-libs/exempi-1.99.5:2 )"
+
+DEPEND="${RDEPEND}
+ !!mate-base/mate-file-manager
+ >=dev-lang/perl-5:0=
+ dev-util/gdbus-codegen:0
+ dev-util/gtk-doc
+ dev-util/gtk-doc-am
+ >=dev-util/intltool-0.40.1:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+PDEPEND="mate? ( >=x11-themes/mate-icon-theme-${MATE_BRANCH} )"
+
+# 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
+
+ mate_src_prepare
+}
+
+src_configure() {
+ mate_src_configure \
+ --disable-update-mimedb \
+ --with-gtk=$(usex gtk3 3.0 2.0) \
+ $(use_enable introspection) \
+ $(use_enable packagekit) \
+ $(use_enable xmp)
+}
+
+src_test() {
+ unset SESSION_MANAGER
+ unset DBUS_SESSION_BUS_ADDRESS
+
+ Xemake check || die "Test phase failed"
+}
+
+pkg_postinst() {
+ mate_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
index 5978359ed19d..bcfdd1bc24b4 100644
--- a/mate-base/caja/metadata.xml
+++ b/mate-base/caja/metadata.xml
@@ -6,9 +6,12 @@
<name>Gentoo MATE Desktop</name>
</maintainer>
<use>
+ <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
<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="packagekit">Enable support for installing via <pkg>app-admin/packagekit</pkg>
+ based on mimetype</flag>
</use>
<upstream>
<remote-id type="github">mate-desktop/caja</remote-id>