blob: 6359cb417f930a40f8f30533ec0696b1c34d1665 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/xcdroast/xcdroast-0.98_alpha14-r2.ebuild,v 1.2 2003/09/11 02:20:50 pylon Exp $
inherit eutils
S=${WORKDIR}/${P/_/}
DESCRIPTION="Menu based front-end to mkisofs and cdrecord"
HOMEPAGE="http://www.xcdroast.org/"
SRC_URI="mirror://sourceforge/xcdroast/${P/_/}.tar.gz
http://www.xcdroast.org/xcdr098/patches/error_write_tracks.patch
http://www.xcdroast.org/xcdr098/patches/cdrtools201a17.patch
http://www.xcdroast.org/xcdr098/patches/dvd_atip.patch
http://www.xcdroast.org/xcdr098/patches/debian_scan.patch"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="nls dvd dvdr"
DEPEND="=x11-libs/gtk+-1.2*
=dev-libs/glib-1.2*
>=media-libs/gdk-pixbuf-0.16.0
>=media-libs/giflib-3.0
>=app-cdr/cdrtools-2.01_alpha17"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${P/_/}.tar.gz
cd ${S}/src
# Patch to fix "Error Writing Tracks" Bug
epatch ${DISTDIR}/error_write_tracks.patch
# This will also fix the startup segfaults on Gentoo systems
epatch ${DISTDIR}/debian_scan.patch
# Patch to fix startup problem with cdrools >=2.01alpha17
epatch ${DISTDIR}/cdrtools201a17.patch
# Patch to fix fixes the display of ATIP information of DVD-media.
use dvd && epatch ${DISTDIR}/dvd_atip.patch
#Patch to enable DVD-writing
use dvdr && epatch ${FILESDIR}/${P/_/}-dvd.patch
}
src_compile() {
local myconf
use nls || myconf="${myconf} --disable-nls"
econf ${myconf} || die
make PREFIX=/usr || die
}
src_install() {
make PREFIX=/usr DESTDIR=${D} install || die
cd doc
dodoc DOCUMENTATION FAQ README* TRANSLATION.HOWTO
cd ..
# move man pages to /usr/share/man to be LFH compliant
mv ${D}/usr/man ${D}/usr/share
#remove extraneous directory
rm ${D}/usr/etc -rf
}
pkg_postinst() {
if use dvdr; then
echo
einfo "You are now using X-CD-Roast with the cdrtools patches for several"
einfo "DVD writers. You can also use cdrecord-ProDVD, which has to be"
einfo "installed manually."
einfo "See http://www.xcdroast.org/xcdr098/README.ProDVD.txt for further"
einfo "instructions."
echo
fi
}
|