summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-16 16:26:42 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-16 16:26:42 +0000
commit16c9be3e4e9207751d8cccb55dcea21b3943f710 (patch)
tree058bdd24f9a6bcf4912c7ee326d324c3b956efd5
parentupdated Description (diff)
downloadgentoo-2-16c9be3e4e9207751d8cccb55dcea21b3943f710.tar.gz
gentoo-2-16c9be3e4e9207751d8cccb55dcea21b3943f710.tar.bz2
gentoo-2-16c9be3e4e9207751d8cccb55dcea21b3943f710.zip
~hppa
-rw-r--r--kde-base/kdemultimedia/kdemultimedia-3.2.0.ebuild54
1 files changed, 29 insertions, 25 deletions
diff --git a/kde-base/kdemultimedia/kdemultimedia-3.2.0.ebuild b/kde-base/kdemultimedia/kdemultimedia-3.2.0.ebuild
index 1e4298890a42..99fcf214e15e 100644
--- a/kde-base/kdemultimedia/kdemultimedia-3.2.0.ebuild
+++ b/kde-base/kdemultimedia/kdemultimedia-3.2.0.ebuild
@@ -1,16 +1,18 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-3.2.0.ebuild,v 1.6 2004/02/15 17:11:08 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-3.2.0.ebuild,v 1.7 2004/02/16 16:26:42 vapier Exp $
+
inherit kde-dist flag-o-matic
-IUSE="nas encode esd motif slang tcltk oggvorbis gtk alsa gstreamer"
DESCRIPTION="KDE multimedia apps: noatun, kscd, artsbuilder..."
-KEYWORDS="x86 sparc ~amd64 ppc"
+
+KEYWORDS="x86 ppc sparc ~hppa ~amd64"
+IUSE="nas encode esd motif slang tcltk oggvorbis gtk alsa gstreamer"
DEPEND="~kde-base/kdebase-${PV}
sys-libs/ncurses
media-sound/cdparanoia
- media-video/xanim
+ !hppa? ( media-video/xanim )
media-sound/mpg123
encode? ( media-sound/lame )
oggvorbis? ( media-libs/libvorbis media-libs/libogg )
@@ -27,31 +29,33 @@ DEPEND="~kde-base/kdebase-${PV}
media-libs/id3lib media-libs/musicbrainz media-libs/taglib
!media-sound/juk"
-RDEPEND="$DEPEND"
+src_unpack() {
+ kde_src_unpack
+ epatch ${FILESDIR}/flac-patch.diff
+}
-replace-flags "-O3" "-O2"
+src_compile() {
+ replace-flags -O3 -O2
-myaudio="--enable-audio=oss"
-myinterface="--enable-interface=xaw,ncurses"
-myconf="$myconf --enable-xaw --enable-ncurses"
-myconf="$myconf --with-xine-prefix=/usr"
+ myaudio="--enable-audio=oss"
+ myinterface="--enable-interface=xaw,ncurses"
+ myconf="$myconf --enable-xaw --enable-ncurses"
+ myconf="$myconf --with-xine-prefix=/usr"
-# make -j2 fails, at least on ppc
-use ppc && export MAKEOPTS="$MAKEOPTS -j1"
+ # make -j2 fails, at least on ppc
+ use ppc && export MAKEOPTS="$MAKEOPTS -j1"
+ use hppa && append-flags -ffunction-sections
-# alsa 0.9 not supported
-use alsa && myconf="$myconf --with-alsa --with-arts-alsa" && myaudio="$myaudio,alsa" || myconf="$myconf --without-alsa --disable-alsa"
-use nas && myaudio="$myaudio,nas --with-nas-library=/usr/X11R6/lib/libaudio.so --with-nas-includes=/usr/X11R6/include" || myconf="$myconf --disable-nas"
-use esd && myaudio="$myaudio,esd" || myconf="$myconf --disable-esd"
-use motif && myinterface="$myinterface,motif" && myconf="$myconf --enable-motif"
-use slang && myinterface="$myinterface,slang" && myconf="$myconf --enable-slang"
-use tcltk && myinterface="$myinterface,tcltk" && myconf="$myconf --enable-tcltk"
-use oggvorbis && myconf="$myconf --with-vorbis=/usr" || myconf="$myconf --without-vorbis"
+ # alsa 0.9 not supported
+ use alsa && myconf="$myconf --with-alsa --with-arts-alsa" && myaudio="$myaudio,alsa" || myconf="$myconf --without-alsa --disable-alsa"
+ use nas && myaudio="$myaudio,nas --with-nas-library=/usr/X11R6/lib/libaudio.so --with-nas-includes=/usr/X11R6/include" || myconf="$myconf --disable-nas"
+ use esd && myaudio="$myaudio,esd" || myconf="$myconf --disable-esd"
+ use motif && myinterface="$myinterface,motif" && myconf="$myconf --enable-motif"
+ use slang && myinterface="$myinterface,slang" && myconf="$myconf --enable-slang"
+ use tcltk && myinterface="$myinterface,tcltk" && myconf="$myconf --enable-tcltk"
+ use oggvorbis && myconf="$myconf --with-vorbis=/usr" || myconf="$myconf --without-vorbis"
-myconf="$myconf $myaudio $myinterface --with-cdda --disable-strict --disable-warnings"
+ myconf="$myconf $myaudio $myinterface --with-cdda --disable-strict --disable-warnings"
-src_unpack()
-{
- kde_src_unpack
- epatch ${FILESDIR}/flac-patch.diff
+ kde_src_compile
}