summaryrefslogtreecommitdiff
blob: d5a7ef6710c6774f732e819e7c7c4f4d9ab569a8 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-open-terminal/nautilus-open-terminal-0.9-r2.ebuild,v 1.1 2009/03/28 22:40:07 eva Exp $

EAPI="2"

inherit autotools eutils gnome2

DESCRIPTION="Nautilus Plugin for Opening Terminals"
HOMEPAGE="http://manny.cluecoder.org/packages/nautilus-open-terminal/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND=">=gnome-base/eel-2.6
	>=x11-libs/gtk+-2.4.0
	>=dev-libs/glib-2.13.3
	>=gnome-base/nautilus-2.21.2
	>=gnome-base/gnome-desktop-2.9.91
	>=gnome-base/gconf-2"
DEPEND="${RDEPEND}
	sys-devel/gettext
	dev-util/pkgconfig
	>=dev-util/intltool-0.18"

DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO"

G2CONF="${G2CONF} --disable-static"

src_prepare() {
	gnome2_src_prepare

	# Be a bit more future proof, bug #260903
	sed "s/-Werror//" -i src/Makefile.am src/Makefile.in || die "sed failed"

	# Fix compilation with gnome 2.26 libs, bug #261914
	epatch "${FILESDIR}/${P}-gnomevfs.patch"

	# Respect LINGUAS
	intltoolize --force --copy --automake || die "intltoolize failed"
	eautoreconf
}