summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn J. Ellis <jje@gentoo.org>2003-04-12 06:23:12 +0000
committerJohn J. Ellis <jje@gentoo.org>2003-04-12 06:23:12 +0000
commit4a477272c8168100e802193b69684654dcc260dd (patch)
treec6e5e883a481598314fd75c36f75427893a82fcf /media-libs/libao
parentFixes 14341 (diff)
downloadhistorical-4a477272c8168100e802193b69684654dcc260dd.tar.gz
historical-4a477272c8168100e802193b69684654dcc260dd.tar.bz2
historical-4a477272c8168100e802193b69684654dcc260dd.zip
Fixes 14341
Diffstat (limited to 'media-libs/libao')
-rw-r--r--media-libs/libao/Manifest6
-rw-r--r--media-libs/libao/files/digest-libao-0.8.3-r11
-rw-r--r--media-libs/libao/files/libao-0.8.3-r1.patch21
-rw-r--r--media-libs/libao/libao-0.8.3-r1.ebuild35
-rw-r--r--media-libs/libao/libao-0.8.3.ebuild6
5 files changed, 64 insertions, 5 deletions
diff --git a/media-libs/libao/Manifest b/media-libs/libao/Manifest
index baa328ba734e..16b208d0585b 100644
--- a/media-libs/libao/Manifest
+++ b/media-libs/libao/Manifest
@@ -1,6 +1,6 @@
-MD5 2d196c3b68fa0e3b39f18d294646ab74 ChangeLog 1278
-MD5 e781346f287a534944898a6ec2a727b3 libao-0.8.3.ebuild 857
-MD5 c3bb21291ee2165869a610080724e9d0 libao-0.8.3-r1.ebuild 842
+MD5 aba98029e622dd82c149d23f8173a90e ChangeLog 1274
+MD5 3d45fa5621e9e1d3a9e928a1867f3d05 libao-0.8.3.ebuild 854
+MD5 e2675aa8b5072734bd5b8b0ce072db72 libao-0.8.3-r1.ebuild 841
MD5 5d49f3e442bd95b0fe757ce978db12f9 files/digest-libao-0.8.3 63
MD5 5f642fcbb8941a2f070cce0697f218fd files/libao-0.8.3-r1.patch 720
MD5 5d49f3e442bd95b0fe757ce978db12f9 files/digest-libao-0.8.3-r1 63
diff --git a/media-libs/libao/files/digest-libao-0.8.3-r1 b/media-libs/libao/files/digest-libao-0.8.3-r1
new file mode 100644
index 000000000000..4826f09dcd10
--- /dev/null
+++ b/media-libs/libao/files/digest-libao-0.8.3-r1
@@ -0,0 +1 @@
+MD5 b1422a6ff7f58131921b9f2fabe2295c libao-0.8.3.tar.gz 210690
diff --git a/media-libs/libao/files/libao-0.8.3-r1.patch b/media-libs/libao/files/libao-0.8.3-r1.patch
new file mode 100644
index 000000000000..e94367728a59
--- /dev/null
+++ b/media-libs/libao/files/libao-0.8.3-r1.patch
@@ -0,0 +1,21 @@
+--- /var/tmp/portage/libao-0.8.3-r1/work/libao-0.8.3/src/plugins/alsa09/ao_alsa09.c 2001-12-19 07:39:24.000000000 +0900
++++ ao_alsa09.c 2003-03-23 17:30:40.000000000 +0900
+@@ -192,18 +192,6 @@
+ if (err < 0)
+ goto error;
+
+- cmd = "snd_pcm_hw_params_set_period_size";
+- err = snd_pcm_hw_params_set_period_size(internal->pcm_handle, hwparams,
+- internal->buf_size / internal->sample_size, 0);
+- if (err < 0)
+- goto error;
+-
+- cmd = "snd_pcm_hw_params_set_periods";
+- err = snd_pcm_hw_params_set_periods(internal->pcm_handle, hwparams,
+- internal->periods * format->channels, 0);
+- if (err < 0)
+- goto error;
+-
+ cmd = "snd_pcm_hw_params";
+ err = snd_pcm_hw_params(internal->pcm_handle, hwparams);
+ if (err < 0)
diff --git a/media-libs/libao/libao-0.8.3-r1.ebuild b/media-libs/libao/libao-0.8.3-r1.ebuild
new file mode 100644
index 000000000000..704272bdf8ea
--- /dev/null
+++ b/media-libs/libao/libao-0.8.3-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-0.8.3-r1.ebuild,v 1.1 2003/04/12 06:22:59 jje Exp $
+
+IUSE="esd"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="the audio output library"
+SRC_URI="http://fatpipe.vorbis.com/files/1.0/unix/${P}.tar.gz"
+HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc
+ esd? ( >=media-sound/esound-0.2.22 )"
+
+src_compile() {
+ cd ${S}
+ epatch ${FILESDIR}/${P}-${PR}.patch
+ econf \
+ --enable-shared \
+ --enable-static || die
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ rm -rf ${D}/usr/share/doc
+ dodoc AUTHORS CHANGES COPYING README TODO
+ dodoc doc/API doc/DRIVERS doc/USAGE doc/WANTED
+}
diff --git a/media-libs/libao/libao-0.8.3.ebuild b/media-libs/libao/libao-0.8.3.ebuild
index d4ca0a8a4e12..46108de21216 100644
--- a/media-libs/libao/libao-0.8.3.ebuild
+++ b/media-libs/libao/libao-0.8.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-0.8.3.ebuild,v 1.9 2003/03/02 14:03:56 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-0.8.3.ebuild,v 1.10 2003/04/12 06:22:59 jje Exp $
IUSE="esd"
-S=${WORKDIR}/${P}
+S=${WORKDIR}/${P}-${PR}
DESCRIPTION="the audio output library"
SRC_URI="http://fatpipe.vorbis.com/files/1.0/unix/${P}.tar.gz"
HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
@@ -17,6 +17,8 @@ DEPEND="virtual/glibc
esd? ( >=media-sound/esound-0.2.22 )"
src_compile() {
+ cd ${S}
+ epatch ${FILESDIR}/${P}.patch
econf \
--enable-shared \
--enable-static || die