1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
10 if [[ ${PV} != 9999 ]]; then
11 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
14 DESCRIPTION="Caja file manager for the MATE desktop"
15 LICENSE="GPL-2+ LGPL-2+"
18 IUSE="+introspection +mate packagekit xmp"
22 >=dev-libs/glib-2.58.1:2
23 >=dev-libs/libxml2-2.4.7:2
25 >=gnome-base/gvfs-1.10.1:0[udisks]
26 >=mate-base/mate-desktop-1.17.3:0
27 >=media-libs/libexif-0.6.14:0
29 >=x11-libs/gdk-pixbuf-2.36.5:2
30 >=x11-libs/gtk+-3.22:3[introspection?]
31 >=x11-libs/libnotify-0.7.0:0
38 >=x11-libs/pango-1.1.2
39 introspection? ( >=dev-libs/gobject-introspection-0.6.4:= )
40 packagekit? ( app-admin/packagekit-base )
41 xmp? ( >=media-libs/exempi-1.99.5:2 )
44 RDEPEND="${COMMON_DEPEND}
46 !!mate-base/mate-file-manager
49 DEPEND="${COMMON_DEPEND}
51 dev-util/gdbus-codegen
55 >=sys-devel/gettext-0.19.8:*
58 PDEPEND="mate? ( >=x11-themes/mate-icon-theme-${MATE_BRANCH} )"
60 # TODO: Test fails because Caja is not merged yet:
61 # GLib-GIO-ERROR **: Settings schema 'org.mate.caja.preferences' is not installed
65 # Remove unnecessary CFLAGS.
66 sed -i -e 's:-DG.*DISABLE_DEPRECATED::g' \
67 configure.ac eel/Makefile.am || die
74 --disable-update-mimedb \
75 $(use_enable introspection) \
76 $(use_enable packagekit) \
82 unset DBUS_SESSION_BUS_ADDRESS
84 Xemake check || die "Test phase failed"
90 elog "Caja can use gstreamer to preview audio files. Just make sure"
91 elog "to have the necessary plugins available to play the media type you"
92 elog "want to preview."