blob: 6e7a716debc1328064588c286ff5e3debc3972d6 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-3.2.3.ebuild,v 1.1 2004/06/10 12:33:15 caleb Exp $
inherit kde-dist flag-o-matic
DESCRIPTION="KDE multimedia apps: noatun, kscd, artsbuilder..."
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64"
IUSE="flac encode oggvorbis alsa gstreamer"
DEPEND="~kde-base/kdebase-${PV}
media-sound/cdparanoia
flac? ( media-libs/flac )
encode? ( media-sound/lame )
oggvorbis? ( media-libs/libvorbis media-libs/libogg )
>=media-libs/xine-lib-1_beta12
alsa? ( media-libs/alsa-lib )
gstreamer? ( media-libs/gstreamer )
media-libs/musicbrainz
media-libs/taglib
!media-sound/juk"
src_unpack() {
kde_src_unpack
}
src_compile() {
replace-flags -O3 -O2
# Still persists with 3.2.1 - kaboodle
filter-flags "-fno-default-inline"
myconf="$myconf --with-xine-prefix=/usr"
# make -j2 fails, at least on ppc
use ppc && export MAKEOPTS="$MAKEOPTS -j1"
use hppa && append-flags -ffunction-sections
# alsa 0.9 not supported
use alsa && myconf="$myconf --with-alsa --with-arts-alsa" || myconf="$myconf --without-alsa --disable-alsa"
use oggvorbis && myconf="$myconf --with-vorbis=/usr" || myconf="$myconf --without-vorbis"
use encode && myconf="$myconf --with-lame=/usr" || myconf="$myconf --without-lame"
myconf="$myconf --disable-strict --disable-warnings"
kde_src_compile
}
|