From a861af5b16e4029beaf86cac2cabcf9fb0df7280 Mon Sep 17 00:00:00 2001 From: Dan Armak Date: Wed, 3 Apr 2002 18:14:07 +0000 Subject: new (masked) kde3 ebuilds --- kde-base/kdeaddons/kdeaddons-3.0.ebuild | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 kde-base/kdeaddons/kdeaddons-3.0.ebuild (limited to 'kde-base/kdeaddons') diff --git a/kde-base/kdeaddons/kdeaddons-3.0.ebuild b/kde-base/kdeaddons/kdeaddons-3.0.ebuild new file mode 100644 index 000000000000..98ab584cffa4 --- /dev/null +++ b/kde-base/kdeaddons/kdeaddons-3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Dan Armak +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/kdeaddons-3.0.ebuild,v 1.1 2002/04/03 18:14:06 danarmak Exp $ +. /usr/portage/eclass/inherit.eclass || die +inherit kde-dist || die + +DESCRIPTION="${DESCRIPTION}Addons" + +newdepend ">=kde-base/kdebase-${PV} + ~kde-base/kdenetwork-${PV} + ~kde-base/kdemultimedia-${PV} + >=media-libs/libsdl-1.2 + sdl? ( media-libs/libsdl )" + + +src_unpack() { + + kde_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 + +} -- cgit v1.2.3-65-gdbad