summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-01-03 15:08:40 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-01-03 15:08:40 +0000
commitf221f2fbc2b0091f6e7d34da6483e9e46fe61eaf (patch)
tree59e9e3a0276e5a0cc36c7e3a9121b430e9a3415d /media-sound/sweep
parentUpdated headers, and added Makefile patches to prevent some problems on 2.6 k... (diff)
downloadgentoo-2-f221f2fbc2b0091f6e7d34da6483e9e46fe61eaf.tar.gz
gentoo-2-f221f2fbc2b0091f6e7d34da6483e9e46fe61eaf.tar.bz2
gentoo-2-f221f2fbc2b0091f6e7d34da6483e9e46fe61eaf.zip
adding alsa patch. Closes 36550
Diffstat (limited to 'media-sound/sweep')
-rw-r--r--media-sound/sweep/ChangeLog6
-rw-r--r--media-sound/sweep/Manifest11
-rw-r--r--media-sound/sweep/files/sweep-0.8.2-alsa.patch15
-rw-r--r--media-sound/sweep/sweep-0.8.2-r1.ebuild8
4 files changed, 33 insertions, 7 deletions
diff --git a/media-sound/sweep/ChangeLog b/media-sound/sweep/ChangeLog
index 7e177953ae72..b231799bb6f9 100644
--- a/media-sound/sweep/ChangeLog
+++ b/media-sound/sweep/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/sweep
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/ChangeLog,v 1.4 2003/07/19 19:09:15 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/ChangeLog,v 1.5 2004/01/03 15:08:29 mholzer Exp $
+
+ 03 Jan 2004; Martin Holzer <mholzer@gentoo.org> sweep-0.8.2-r1.ebuild,
+ files/sweep-0.8.2-alsa.patch:
+ adding alsa patch. Closes 36550
19 Jul 2003; Nick Hadaway <raker@gentoo.org> sweep-0.8.2-r1.ebuild:
Reverted mad changes and kept cleanups. :)
diff --git a/media-sound/sweep/Manifest b/media-sound/sweep/Manifest
index ec6095a38aaa..87ed018280da 100644
--- a/media-sound/sweep/Manifest
+++ b/media-sound/sweep/Manifest
@@ -1,7 +1,8 @@
-MD5 fa303e73e349b9c125d053c768fccf74 files/digest-sweep-0.8.2-r1 63
-MD5 a7efd3713b83afae0de04aaaf95234cf files/digest-sweep-0.8.1 63
-MD5 fa303e73e349b9c125d053c768fccf74 files/digest-sweep-0.8.2 63
+MD5 7b37cb1338f825a9850db56f19acc155 ChangeLog 1044
MD5 dde3e39d4e9969990c248e5e8a2dbeb5 sweep-0.8.1.ebuild 994
-MD5 73288804e74ca631ef47faa731d88010 sweep-0.8.2-r1.ebuild 1227
-MD5 bc44265ac271dd4c81251ea91b74dd7c ChangeLog 902
+MD5 445869bd401426e339c37b56d127648c sweep-0.8.2-r1.ebuild 1304
MD5 bc98057635b8058d5710289ef283f343 sweep-0.8.2.ebuild 1564
+MD5 a7efd3713b83afae0de04aaaf95234cf files/digest-sweep-0.8.1 63
+MD5 fa303e73e349b9c125d053c768fccf74 files/digest-sweep-0.8.2 63
+MD5 fa303e73e349b9c125d053c768fccf74 files/digest-sweep-0.8.2-r1 63
+MD5 b161c4813423e2a3c7a1b76b1a59527f files/sweep-0.8.2-alsa.patch 383
diff --git a/media-sound/sweep/files/sweep-0.8.2-alsa.patch b/media-sound/sweep/files/sweep-0.8.2-alsa.patch
new file mode 100644
index 000000000000..a09f6a3aa931
--- /dev/null
+++ b/media-sound/sweep/files/sweep-0.8.2-alsa.patch
@@ -0,0 +1,15 @@
+--- src/driver_alsa.c.org 2004-01-03 15:55:31.000000000 +0100
++++ src/driver_alsa.c 2004-01-03 15:56:19.000000000 +0100
+@@ -48,6 +48,12 @@
+
+ #ifdef DRIVER_ALSA
+
++#include <alsa/version.h>
++#if SND_LIB_MAJOR==1
++#define ALSA_PCM_OLD_HW_PARAMS_API
++#define ALSA_PCM_NEW_HW_PARAMS_API
++#endif
++
+ #include <alsa/asoundlib.h>
+
+ // shamelessly ripped from alsaplayer alsa-final driver:
diff --git a/media-sound/sweep/sweep-0.8.2-r1.ebuild b/media-sound/sweep/sweep-0.8.2-r1.ebuild
index f4772cf869b5..fa297271f005 100644
--- a/media-sound/sweep/sweep-0.8.2-r1.ebuild
+++ b/media-sound/sweep/sweep-0.8.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/sweep-0.8.2-r1.ebuild,v 1.3 2003/11/11 13:10:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/sweep-0.8.2-r1.ebuild,v 1.4 2004/01/03 15:08:29 mholzer Exp $
DESCRIPTION="audio editor and live playback tool"
HOMEPAGE="http://www.metadecks.org/software/sweep/"
@@ -21,6 +21,12 @@ DEPEND=">=media-libs/libsndfile-1.0*
alsa? ( media-libs/alsa-lib )
nls? ( sys-devel/gettext )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-alsa.patch
+}
+
src_compile() {
local myconf
myconf=""