summaryrefslogtreecommitdiff
blob: 6c62c542db877fd0f4fb294a5ba66c043710142d (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/dvdstyler/dvdstyler-1.3_beta.ebuild,v 1.1 2004/11/21 10:26:16 dragonheart Exp $

inherit eutils

MY_P=DVDStyler-${PV/_beta/b}

DESCRIPTION="DVD filesystem Builder"
HOMEPAGE="http://dvdstyler.sourceforge.net"
SRC_URI="mirror://sourceforge/dvdstyler/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="gnome"
S=${WORKDIR}/${MY_P}

RDEPEND="virtual/x11
	>=x11-libs/wxGTK-2.4.2
	>=media-video/mjpegtools-1.6.2
	>=media-video/dvdauthor-0.6.10
	gnome? ( >=gnome-base/libgnomeui-2.0 )
	media-video/mpgtx
	x11-libs/gtk+
	dev-libs/expat
	virtual/libc
	media-libs/tiff
	media-libs/libpng
	media-libs/jpeg
	media-libs/netpbm
	dev-libs/glib
	sys-libs/zlib
	app-cdr/dvd+rw-tools
	app-cdr/cdrtools"


DEPEND="${RDEPEND}
	dev-util/pkgconfig
	sys-devel/gcc
	sys-devel/automake
	>=sys-apps/sed-4"

#	sys-devel/autoconf"
#PDEPEND= kde? and gnome

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PV}-code.patch || die "patch failed"
}

src_compile() {
	# Propergate automake patch
	autoconf
	automake

	econf || die "Failed to configure"
	emake || die "Failed to make"
}


src_install() {
	emake DESTDIR=${D} install || die "failed to install"
	mv ${D}usr/share/docs ${D}usr/share/doc
	mv ${D}usr/share/doc/${PN} ${D}usr/share/doc/${PF}
}