blob: bf89b97720f4696d32319b02ff4eba98a4dfa1ff (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/kdeaddons-3.1.5.ebuild,v 1.8 2004/08/30 15:45:00 pvdabeel Exp $
inherit kde-dist flag-o-matic gcc
DESCRIPTION="KDE addon modules: plugins for konqueror, noatun etc"
IUSE="sdl svga xmms esd"
KEYWORDS="x86 ppc sparc hppa amd64 alpha ia64"
DEPEND="=kde-base/kdebase-${PV}*
~kde-base/kdenetwork-${PV}
~kde-base/kdemultimedia-${PV}
~kde-base/arts-${PV//3./1.}
esd? ( media-sound/esound )
sdl? ( >=media-libs/libsdl-1.2 )
svga? ( media-libs/svgalib )
xmms? ( media-sound/xmms )"
# enable building of konqueror carsh recovery plugin. it was disabled accidentally
# in the orig kde 3.1 release and was reenabled soon after in cvs head
PATCHES="$FILESDIR/$P-enable-crashes.diff"
src_compile() {
use sdl && myconf="$myconf --with-sdl --with-sdl-prefix=/usr" || myconf="$myconf --without-sdl --disable-sdltest"
use xmms || export ac_cv_have_xmms=no
# fix bug #7625
if [ "`gcc-major-version`" == "3" ] ; then
[ "${ARCH}" == "x86" ] && append-flags -mno-sse2
fi
need-automake 1.7
need-autoconf 2.5
AMVERSION="`automake --version | head -n 1 | cut -d " " -f4`"
if [ "$AMVERSION" != "1.7.2" ]; then
rm -f configure configure.in
fi
kde_src_compile configure
kde_src_compile make
}
|