diff options
author | Hannes Mehnert <hannes@gentoo.org> | 2002-12-21 13:48:19 +0000 |
---|---|---|
committer | Hannes Mehnert <hannes@gentoo.org> | 2002-12-21 13:48:19 +0000 |
commit | a412401747242b77051581d022d1694e1e158985 (patch) | |
tree | ab75d70a858ba380ee5b19838d1b79e5aa6c25d2 /kde-base/kdemultimedia | |
parent | Too much python... (diff) | |
download | gentoo-2-a412401747242b77051581d022d1694e1e158985.tar.gz gentoo-2-a412401747242b77051581d022d1694e1e158985.tar.bz2 gentoo-2-a412401747242b77051581d022d1694e1e158985.zip |
kde-3.0.5a release.
Diffstat (limited to 'kde-base/kdemultimedia')
3 files changed, 95 insertions, 0 deletions
diff --git a/kde-base/kdemultimedia/files/digest-kdemultimedia-3.0.5a b/kde-base/kdemultimedia/files/digest-kdemultimedia-3.0.5a new file mode 100644 index 000000000000..69f12f17c1ce --- /dev/null +++ b/kde-base/kdemultimedia/files/digest-kdemultimedia-3.0.5a @@ -0,0 +1 @@ +MD5 641d30ecca821afc74ba47e7276b654a kdemultimedia-3.0.5a.tar.bz2 5791676 diff --git a/kde-base/kdemultimedia/files/kdemultimedia-3.0.5a-gentoo-timidity.diff b/kde-base/kdemultimedia/files/kdemultimedia-3.0.5a-gentoo-timidity.diff new file mode 100644 index 000000000000..f392a244212e --- /dev/null +++ b/kde-base/kdemultimedia/files/kdemultimedia-3.0.5a-gentoo-timidity.diff @@ -0,0 +1,21 @@ +diff -ru kdemultimedia-2.2.1.orig/kmidi/TIMIDITY/motif_p.c kdemultimedia-2.2.1/kmidi/TIMIDITY/motif_p.c +--- kmidi/TIMIDITY/motif_p.c Mon Feb 28 19:07:37 2000 ++++ kmidi/TIMIDITY/motif_p.c Fri Oct 19 04:00:10 2001 +@@ -22,6 +22,7 @@ + pipe communication between motif interface and sound generator + + */ ++#include <sys/errno.h> + #ifdef IA_MOTIF + + #include <stdio.h> +--- kmidi/TIMIDITY/tk_c.c 2002-04-04 21:15:35.000000000 -0600 ++++ kmidi/TIMIDITY/tk_c.c 2002-04-04 21:17:06.000000000 -0600 +@@ -12,6 +12,7 @@ + *================================================================*/ + #ifdef TCLTK + ++#include <sys/errno.h> + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> diff --git a/kde-base/kdemultimedia/kdemultimedia-3.0.5a.ebuild b/kde-base/kdemultimedia/kdemultimedia-3.0.5a.ebuild new file mode 100644 index 000000000000..a23e96ba2df4 --- /dev/null +++ b/kde-base/kdemultimedia/kdemultimedia-3.0.5a.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-3.0.5a.ebuild,v 1.1 2002/12/21 13:48:19 hannes Exp $ +inherit kde-dist flag-o-matic + +DESCRIPTION="KDE $PV - multimedia apps" +KEYWORDS="x86 ~ppc ~alpha" + +newdepend ">=sys-libs/ncurses-5.2 + >=media-sound/cdparanoia-3.9.8 + >=media-libs/libvorbis-1.0_beta4 + >=media-video/xanim-2.80.1 + nas? ( >=media-libs/nas-1.4.1 ) + esd? ( >=media-sound/esound-0.2.22 ) + motif? ( >=x11-libs/openmotif-2.1.30 ) + gtk? ( =x11-libs/gtk+-1.2* ) + slang? ( >=sys-libs/slang-1.4.4 ) + >=media-sound/mpg123-0.59r + tcltk? ( >=dev-lang/tk-8.0.5-r2 )" +# alsa? ( >=media-libs/alsa-lib-0.5.9 )" + +# koncd isn't compiled by default (kde.org's default) +#RDEPEND="$RDEPEND +# cdr? ( app-cdr/cdrtools +# >=app-cdr/cdrdao-1.1.5 )" + +replace-flags "-O3" "-O2" +filter-flags "-fforce-addr -fomit-frame-pointer" + +myaudio="--enable-audio=oss" +myinterface="--enable-interface=xaw,ncurses" +myconf="$myconf --enable-xaw --enable-ncurses" + +#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 gtk && myinterface="$myinterface,gtk" && myconf="$myconf --enable-gtk" +use slang && myinterface="$myinterface,slang" && myconf="$myconf --enable-slang" +use tcltk && myinterface="$myinterface,tcltk" && myconf="$myconf --enable-tcltk" + +myconf="$myconf $myaudio $myinterface" + +#use cdr || KDE_REMOVE_DIR="koncd" + +src_unpack() { + + base_src_unpack + cd ${S} + patch -p0 < ${FILESDIR}/${P}-gentoo-timidity.diff || die +# use alsa && patch -p0 < ${FILESDIR}/${P}-gentoo-alsa.diff + + kde_sandbox_patch ${S}/kmidi/config + + cd ${S}/kmidi/config + for x in Makefile.am Makefile.in; do + mv $x $x.orig + sed -e 's:TIMID_DIR = $(DESTDIR)/$(kde_datadir):TIMID_DIR = $(kde_datadir):g' $x.orig > $x + done + +} + +pkg_postinst() { + + if [ -n "`use alsa`" ]; then + einfo "WARNING: alsa support has been removed becuase of a bug in kdemm sources. +For further information see bug #2324 on bugs.gentoo.org and bug #39574 on bugs.kde.org. +Meanwhile, you can use the alsa oss emulation." + fi + return 0 + +} |