1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 inherit eutils gnome2 virtualx
10 DESCRIPTION
="A file manager for the GNOME desktop"
11 HOMEPAGE
="http://www.gnome.org/projects/nautilus/"
13 LICENSE
="GPL-2 LGPL-2 FDL-1.1"
15 KEYWORDS
="~amd64 ~arm ~hppa ~sh ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux"
18 RDEPEND
=">=dev-libs/glib-2.24.0
19 >=gnome-base/gnome-desktop-2.29.91
20 >=x11-libs/pango-1.1.2
21 >=x11-libs/gtk+-2.20.0
22 >=dev-libs/libxml2-2.4.7
23 >=media-libs/libexif-0.5.12
24 >=gnome-base/gconf-2.0
29 xmp? ( >=media-libs/exempi-2 )"
34 >=dev-util/pkgconfig-0.9
35 >=dev-util/intltool-0.40.1
36 doc? ( >=dev-util/gtk-doc-1.4 )"
38 # gnome-base/gnome-common
39 # dev-util/gtk-doc-am"
41 PDEPEND
="gnome? ( >=x11-themes/gnome-icon-theme-1.1.91 )
42 >=gnome-base/gvfs-0.1.2"
44 DOCS
="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS TODO"
48 --disable-update-mimedb
56 # FIXME: tarball generated with broken gtk-doc, revisit me.
58 sed "/^TARGET_DIR/i \GTKDOC_REBASE=/usr/bin/gtkdoc-rebase" \
59 -i gtk-doc.
make || die
"sed 1 failed"
61 sed "/^TARGET_DIR/i \GTKDOC_REBASE=/bin/true" \
62 -i gtk-doc.
make || die
"sed 2 failed"
66 sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.
in configure \
69 # Fix nautilus flipping-out with --no-desktop -- bug 266398
70 epatch
"${FILESDIR}/${PN}-2.27.4-change-reg-desktop-file-with-no-desktop.patch"
72 epatch
"${FILESDIR}/${PN}-2.26.3-webdav.patch"
76 addwrite
"/root/.gnome2_private"
79 unset DBUS_SESSION_BUS_ADDRESS
80 Xemake check || die
"Test phase failed"
85 find "${D}" -name "*.la" -delete || die
"remove of la files failed"
91 elog
"nautilus can use gstreamer to preview audio files. Just make sure"
92 elog
"to have the necessary plugins available to play the media type you"
93 elog
"want to preview"