diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-01-15 03:46:10 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-01-15 03:46:10 +0000 |
commit | 1df71900f4e7da7412f5e81f1df1ee587191f2ce (patch) | |
tree | 38c0900eb8de21cc23176db980e816bcd5a52f22 /kde-base/kdeaddons/kdeaddons-3.1.5.ebuild | |
parent | New version (diff) | |
download | historical-1df71900f4e7da7412f5e81f1df1ee587191f2ce.tar.gz historical-1df71900f4e7da7412f5e81f1df1ee587191f2ce.tar.bz2 historical-1df71900f4e7da7412f5e81f1df1ee587191f2ce.zip |
New version
Diffstat (limited to 'kde-base/kdeaddons/kdeaddons-3.1.5.ebuild')
-rw-r--r-- | kde-base/kdeaddons/kdeaddons-3.1.5.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/kde-base/kdeaddons/kdeaddons-3.1.5.ebuild b/kde-base/kdeaddons/kdeaddons-3.1.5.ebuild new file mode 100644 index 000000000000..fcc3f9c497e6 --- /dev/null +++ b/kde-base/kdeaddons/kdeaddons-3.1.5.ebuild @@ -0,0 +1,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/kdeaddons/kdeaddons-3.1.5.ebuild,v 1.1 2004/01/15 03:43:58 caleb Exp $ +inherit kde-dist flag-o-matic + +IUSE="sdl svga xmms esd" +DESCRIPTION="KDE addon modules: plugins for konqueror, noatun etc" +KEYWORDS="x86 ~ppc ~sparc ~hppa ~amd64 ~alpha" + +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 )" +RDEPEND="$DEPEND" + +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 [ "$COMPILER" == "gcc3" ]; then + if [ -n "`is-flag -march=pentium4`" -o -n "`is-flag -mcpu=pentium4`" ]; then + append-flags -mno-sse2 + fi +fi + +# 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" + +need-automake 1.7 +need-autoconf 2.5 + +src_compile() { + 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 +} + |