blob: 04f3e415c7617796e554287fc26656e139b1780d (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/kdeaddons-3.0.1.20020604.ebuild,v 1.5 2002/07/11 06:30:26 drobbins Exp $
inherit kde-patch 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 )
svga? ( media-libs/svgalib )"
use sdl && myconf="$myconf --with-sdl --with-sdl-prefix=/usr" || myconf="$myconf --without-sdl --disable-sdltest"
# This is a fix used for a makefile/linking problem when destdir=!kdelibsdir. I haven't tested it
# with 3.0.1, don't know if it's still necessary.
#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
#
#}
|