summaryrefslogtreecommitdiff
blob: bb47e81d13c35696b732c57ba47bab711a839a8b (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-cd-burner/nautilus-cd-burner-2.10.2.ebuild,v 1.8 2005/08/31 21:37:41 herbs Exp $

inherit eutils gnome2

DESCRIPTION="CD and DVD writer plugin for Nautilus"
HOMEPAGE="http://www.gnome.org/"

LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ia64 ~mips ~ppc ~ppc64 sparc x86"
IUSE="cdr dvdr hal static"

RDEPEND=">=dev-libs/glib-2.4
	>=x11-libs/gtk+-2.5.4
	>=gnome-base/gnome-vfs-2.1.3.1
	>=gnome-base/eel-2
	>=gnome-base/nautilus-2.5.5
	>=gnome-base/libglade-2
	>=gnome-base/libgnome-2
	>=gnome-base/gconf-2
	hal? ( >=sys-apps/hal-0.4.2 )
	cdr? ( virtual/cdrtools )
	dvdr? ( app-cdr/dvd+rw-tools )"

DEPEND=">=dev-libs/glib-2.4
	>=x11-libs/gtk+-2.5.4
	>=gnome-base/gnome-vfs-2.1.3.1
	>=gnome-base/eel-2
	>=gnome-base/nautilus-2.5.5
	>=gnome-base/libglade-2
	>=gnome-base/libgnome-2
	>=gnome-base/gconf-2
	hal? ( >=sys-apps/hal-0.4.2 )
	>=dev-util/intltool-0.29
	>=dev-util/pkgconfig-0.17"

DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"

G2CONF="${G2CONF} $(use_enable hal) $(use_enable static)"

USE_DESTDIR="1"

src_unpack() {

	unpack ${A}
	cd ${S}

	# Detect pkg-config if --disable-hal is passed
	epatch ${FILESDIR}/${P}-hal_check.patch

	autoconf || die "Autoconf failed"
	libtoolize --copy --force

}