diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2016-02-08 19:39:45 -0500 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2016-02-08 21:45:03 -0500 |
commit | 7dba8949726a4c176d7a65e33bb7e6210e37d9ed (patch) | |
tree | 82dd088b2d4bf0da3f88eaefc5c00edd21b55f5a | |
parent | x11-themes/mate-icon-theme: Import 1.10.x from Project:MATE repo (diff) | |
download | gentoo-7dba8949726a4c176d7a65e33bb7e6210e37d9ed.tar.gz gentoo-7dba8949726a4c176d7a65e33bb7e6210e37d9ed.tar.bz2 gentoo-7dba8949726a4c176d7a65e33bb7e6210e37d9ed.zip |
mate-base/caja: Import 1.10.x from Project:MATE repo
Package-Manager: portage-2.2.26
-rw-r--r-- | mate-base/caja/Manifest | 1 | ||||
-rw-r--r-- | mate-base/caja/caja-1.10.4.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/mate-base/caja/Manifest b/mate-base/caja/Manifest index 229c6283970d..926dc2e6ee3f 100644 --- a/mate-base/caja/Manifest +++ b/mate-base/caja/Manifest @@ -1,2 +1,3 @@ +DIST caja-1.10.4.tar.xz 3585224 SHA256 0294f6ab2017c84e5838bc3f01d3984a4cd6c9328f733a9a183238203f64555f SHA512 42b1daf015f588842e5a02bbb3ad4f0432d20c99cc702c02056a6cf6a97161fcbacf5dbdaf503d9ce029e107e1523666fae255887700d1f87e26b594f9546ecd WHIRLPOOL 2c46fafff948f724f692da1ccdb851dce5247f08c2be59a8d2d7ad25dceecdf37dafe500320b34bad150f3238b3e85157a558fa924f7a54ec5623bee8a232f7c DIST caja-1.8.1.tar.xz 3647396 SHA256 6706fc853a6cc6a2f0a012cd08b396f2f72607bc6c50cf6dfd5b38c64d7c6818 SHA512 d3bddd25c355e8f9aad810ccec302e08f5be4992dd8680a88f6ab552fd56f0a1517dd71eef6d3f7c35aca7acad7fed63f2af9fdbb0eb65e9b6751d97f7465367 WHIRLPOOL 3c0aaf0a23e142099312272feebb71ad9272e58b47d1bb152f12cb7aeda62235624d33ed66e5e4da3cd2c38bb4aeadfd9ccc9b0b92d456c4615b834afabdd215 DIST caja-1.8.2.tar.xz 3596308 SHA256 99331a7439c346382c3b82c889fee9aaabca8760e9c7dfb60041c1fbcd2c6ac0 SHA512 0e704639ea895081f4175f88437d54635cf8b0891e04afda9f9cf87b6edae3ae32de35279f40518fb7044ef8fe38d1b2700acb5a93708e34e8ce2d6e7bc23ad6 WHIRLPOOL 28ec0d5f04c55bd71b368249a64bb0add323e3a0935d39e44b1f9c4919cfc4bfe3ce81d7e527a01abf033023405bdc272654a7ea05520004da7fb159e6abe47b diff --git a/mate-base/caja/caja-1.10.4.ebuild b/mate-base/caja/caja-1.10.4.ebuild new file mode 100644 index 000000000000..4572a7c5bd0e --- /dev/null +++ b/mate-base/caja/caja-1.10.4.ebuild @@ -0,0 +1,93 @@ +# 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 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 ~x86" + +IUSE="+mate +introspection xmp" + +RDEPEND="dev-libs/atk:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libunique-1:1 + >=dev-libs/libxml2-2.4.7:2 + gnome-base/dconf:0 + >=gnome-base/gvfs-1.10.1:0[udisks] + >=mate-base/mate-desktop-1.10:0 + >=media-libs/libexif-0.6.14: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 ) + 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/intltool-0.40.1:* + >=mate-base/mate-common-1.10:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PDEPEND="mate? ( >=x11-themes/mate-icon-theme-1.10: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 \ + --disable-packagekit \ + --disable-update-mimedb \ + --with-gtk=2.0 \ + $(use_enable introspection) \ + $(use_enable xmp) +} + +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." +} |