blob: f0c947e68d70648a83dc5056cc1ba496bc4f7001 (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/kdeaddons-3.0.ebuild,v 1.4 2002/05/21 18:14:08 danarmak Exp $
inherit kde-dist || die
DESCRIPTION="${DESCRIPTION}Addons"
newdepend ">=kde-base/kdebase-${PV}
~kde-base/kdenetwork-${PV}
~kde-base/kdemultimedia-${PV}
sdl? ( >=media-libs/libsdl-1.2 )"
src_unpack() {
base_src_unpack
cd ${S}/noatun-plugins
for x in `find -iname Makefile.am` `find -iname Makefile.in`; do
echo "(Maybe) patching ${x}..."
cp ${x} ${x}2
sed -e "s:\$(kde_libraries)/libnoatun.so:${KDEDIR}/lib/libnoatun.so:" ${x}2 > ${x}
rm ${x}2
done
}
src_compile() {
kde_src_compile myconf
myconf="$myconf --with-extra-includes=/usr/include/noatun"
use sdl && myconf="$myconf --with-sdl --with-sdl-prefix=/usr" || myconf="$myconf --without-sdl --disable-sdltest"
# needed for some stupid noatun plugins that can't find arts include file reference.h, which lives in /usr/kde/3/include/arts
myconf="$myconf --with-extra-includes=/usr/kde/3/include/arts"
kde_src_compile configure make
}
|