blob: 57a6bd7d6e3e55d9128b0f6eb4ff55d6bf852ebb (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/dvdstyler/dvdstyler-1.31.ebuild,v 1.2 2005/03/30 10:55:49 luckyduck Exp $
inherit eutils
MY_P=DVDStyler-${PV}
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
virtual/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}
}
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}
make_desktop_entry dvdstyler DVDStyler dvdstyler.png Application
}
|