blob: c900e0861c02d95c3e6841c35a0bbac70def8e22 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.2.1-r1.ebuild,v 1.6 2006/07/05 03:36:14 vapier Exp $
inherit flag-o-matic eutils
DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
HOMEPAGE="http://cdrdao.sourceforge.net/"
SRC_URI="mirror://sourceforge/cdrdao/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~ppc64 sh ~sparc ~x86"
IUSE="gnome debug encode pccts"
RESTRICT="nostrip"
RDEPEND="encode? ( >=media-sound/lame-3.90 )
gnome? ( >=dev-cpp/gtkmm-2.4
>=dev-cpp/libgnomemm-2.6
>=dev-cpp/libgnomecanvasmm-2.6
>=dev-cpp/gconfmm-2.6
>=dev-cpp/libgnomeuimm-2.6
media-libs/libao )"
DEPEND="pccts? ( >=dev-util/pccts-1.33.24-r1 )
virtual/cdrtools
${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc41.patch
# Display better SCSI messages (advise from Bug 43003)
cd scsilib/include
sed -i -e 's:HAVE_SCANSTACK:NO_FRIGGING_SCANSTACK:g' xmconfig.h
sed -i -e 's:HAVE_SCANSTACK:NO_FRIGGING_SCANSTACK:g' mconfig.h
cd "${S}"/scsilib/RULES
cp x86_64-linux-cc.rul sh4-linux-cc.rul
}
src_compile() {
# A few CFLAGS do not work see bug #99998
strip-flags
append-flags "-fno-inline"
econf \
$(use_enable debug) \
$(use_with gnome xdao) \
$(use_with encode lame) \
$(use_with pccts pcctsbin /usr/bin) \
$(use_with pccts pcctsinc /usr/include/pccts) \
--disable-dependency-tracking || die "configure failed"
make || die "could not compile"
}
src_install() {
einstall || die "could not install"
dodoc AUTHORS CREDITS ChangeLog NEWS README*
}
|