blob: 2d4912fa1ba608478d3a8dcbb3e7f62170f02424 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.9-r1.ebuild,v 1.1 2003/10/02 15:41:15 caleb Exp $
inherit kde-base
need-kde 3.1
MY_P=${P/_/""}
S=${WORKDIR}/${MY_P}
DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://k3b.sourceforge.net/"
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
IUSE="debug"
newdepend ">=media-sound/mpg123-0.59
>=media-sound/cdparanoia-3.9.8
>=media-libs/id3lib-3.8.0_pre2
>=media-sound/mad-0.14.2b
media-libs/libvorbis"
RDEPEND="$RDEPEND sys-apps/eject
>=app-cdr/cdrtools-1.11
>=app-cdr/cdrdao-1.1.5
media-sound/normalize
dvd? ( media-video/transcode media-libs/xvid )"
myconf="$myconf --enable-sso"
[ `use debug` ] \
&& myconf="$myconf --enable-debugging --enable-profiling" \
|| myconf="$myconf --disable-debugging --disable-profiling"
MAKEOPTS="${MAKEOPTS} -j1"
src_compile()
{
econf $myconf
sed 's:-pedantic::' src/audio/input/mp3/Makefile > src/audio/input/mp3/Makefile.temp
cp src/audio/input/mp3/Makefile.temp src/audio/input/mp3/Makefile
emake
}
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
epatch ${FILESDIR}/mp3decoder_fix.diff
}
pkg_postinst()
{
einfo "The k3b setup program will offer to change some permissions and"
einfo "create a user group. These changes are not necessary. We recommend"
einfo "that you clear the two check boxes that let k3b make changes for"
einfo "cdrecord and cdrdao and let k3b make changes for the devices when"
einfo "running k3b setup."
}
|