blob: 873de91d4d1c92f47a6d2b8ffcb13130ddb73989 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/nautilus/nautilus-2.10.1.ebuild,v 1.1 2005/04/19 02:36:29 joem Exp $
inherit gnome2 eutils
DESCRIPTION="A filemanager for the Gnome2 desktop"
HOMEPAGE="http://www.gnome.org/projects/nautilus/"
LICENSE="GPL-2 LGPL-2 FDL-1.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64 ~sparc"
IUSE="oggvorbis gstreamer mad flac"
#IUSE="oggvorbis gstreamer cups mad flac"
RDEPEND=">=dev-libs/glib-2.6
>=x11-libs/pango-1.2
>=x11-libs/gtk+-2.3
>=dev-libs/libxml2-2.4.7
=gnome-base/eel-${PV}*
>=gnome-base/gnome-vfs-2.9.1
>=media-sound/esound-0.2.27
>=gnome-base/gconf-2
>=gnome-base/libgnome-2.6
>=gnome-base/libgnomeui-2.6
>=gnome-base/gnome-desktop-2.9.91
>=media-libs/libart_lgpl-2.3.10
>=gnome-base/libbonobo-2.2
>=gnome-base/librsvg-2.0.1
>=gnome-base/orbit-2.4
>=x11-libs/startup-notification-0.8
>=media-libs/libexif-0.5.12
dev-libs/popt
virtual/fam
sys-apps/eject
!gstreamer? ( oggvorbis? ( media-sound/vorbis-tools ) )
gstreamer? (
>=media-libs/gstreamer-0.8
>=media-libs/gst-plugins-0.8
mad? ( >=media-plugins/gst-plugins-mad-0.8 )
oggvorbis? (
>=media-plugins/gst-plugins-ogg-0.8
>=media-plugins/gst-plugins-vorbis-0.8
)
flac? ( >=media-plugins/gst-plugins-flac-0.8 )
)"
# FIXME : what to do with exif/jpeg config stuff ?
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/intltool-0.29
>=app-text/scrollkeeper-0.3.11
>=dev-util/pkgconfig-0.12.0"
PDEPEND=">=x11-themes/gnome-icon-theme-1.1.91
x11-themes/gnome-themes"
DOCS="AUTHORS ChangeLo* HACKING MAINTAINERS NEWS README THANKS TODO"
G2CONF="${G2CONF} $(use_enable gstreamer)"
src_unpack() {
unpack ${A}
cd ${S}
# use gstreamer for audio preview (patch by <foser@gentoo.org>)
use gstreamer && epatch ${FILESDIR}/${PN}-2.9.90-icon_view_gst.patch
# -- Component architecture has changed in 2.9 -- this
# -- patch no longer applies.
# add libgnomeprint support
# With extra 2.8 fun - fixes #65604
# if use cups; then
# if has_version ">=net-print/gnome-cups-manager-0.28"; then
# epatch ${FILESDIR}/${PN}-2.8-x-printers.patch
# else
# epatch ${FILESDIR}/${PN}-2-x-printers.patch
# fi
# fi
#applied in 2.9.91
# patch to support libexif versions 0.5 and 0.6
#epatch ${FILESDIR}/${PN}-2.9.90-libexif.patch
# stop nautilus linking to cdda/paranoia
sed -i -e "/^CORE_LIBS/s/\$CDDA_LIBS//" configure.in
# and we always need to regenerate now, because we
# always apply the libexif patch <obz@gentoo.org>
if use gstreamer; then
WANT_AUTOCONF=2.5 autoheader || die
WANT_AUTOCONF=2.5 autoconf || die
WANT_AUTOMAKE=1.7 automake || die
fi
}
pkg_postinst() {
gnome2_pkg_postinst
einfo "Nautilus moved to a new spatial browsing model."
einfo "If you are unhappy with this behaviour you can revert to the"
einfo "old browerslike behaviour by issueing the following command :"
einfo "gconftool-2 -s /apps/nautilus/preferences/always_use_browser -t bool TRUE"
}
USE_DESTDIR="1"
|