# ChangeLog for media-plugins/alsa-plugins
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.47 2007/02/11 23:35:20 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.48 2007/03/17 20:37:18 betelgeuse Exp $
+
+*alsa-plugins-1.0.14_rc3 (17 Mar 2007)
+
+ 17 Mar 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +files/1.0.14_rc3-gcd.h, +alsa-plugins-1.0.14_rc3.ebuild:
+ Version bump. Thanks to Diego Pettenò <flameeyes@gmail.com>.
11 Feb 2007; Simon Stelling <blubb@gentoo.org>
alsa-plugins-1.0.14_rc1-r1.ebuild:
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 1.0.14_rc3-gcd.h 1567 RMD160 23b2bd9c9d6cb35e60d5bc56a95a58e6de4c6935 SHA1 e06b6cf70e63d3600de36b6287dcbe85702f4764 SHA256 7a46d8751b1f6bfe0c44b1a62d68452d2c8f4283af00e56e4b97af77d0ce47a1
+MD5 57c33c0b6c18185b1413e9b95e3d6d30 files/1.0.14_rc3-gcd.h 1567
+RMD160 23b2bd9c9d6cb35e60d5bc56a95a58e6de4c6935 files/1.0.14_rc3-gcd.h 1567
+SHA256 7a46d8751b1f6bfe0c44b1a62d68452d2c8f4283af00e56e4b97af77d0ce47a1 files/1.0.14_rc3-gcd.h 1567
AUX alsa-plugins-1.0.11-automagic.patch 2387 RMD160 7ba1283bd2ac8c94b690db18ed80f2154df4e755 SHA1 fd6242d06959e20ecf4f69dabefd0f29e2fe192c SHA256 ce8a8a7de749167dce31008283045548077fc8a29704ab7742071e7deff87d39
MD5 11501a02f6428eb443cb507593790efd files/alsa-plugins-1.0.11-automagic.patch 2387
RMD160 7ba1283bd2ac8c94b690db18ed80f2154df4e755 files/alsa-plugins-1.0.11-automagic.patch 2387
DIST alsa-plugins-1.0.13.tar.bz2 230257 RMD160 c13fef547fc29bb2f7fd60e3a962e4c299cf677a SHA1 5c8c36516fe234e93c858ac640a815c1b6dcd32a SHA256 9a1a68f13e00400a2f8b7fe77c33d715b4a048931908d7c8c082adaf55c207a0
DIST alsa-plugins-1.0.14rc1a.tar.bz2 253102 RMD160 94c868b1e94159fae20f82d8a7e384370ca0c347 SHA1 9a23e8ba2e911bfb06a45cdd4989a1e4ef891e0f SHA256 b9109ec30746fa3532f674f0aeb7a9d2629650aad46bc7124d2b54533e8a322b
DIST alsa-plugins-1.0.14rc2.tar.bz2 253215 RMD160 3efb0d1748d06039b6b9d1be05e53dc3386b408a SHA1 2ce5baa63a31ae42e04ee02d9066d8dd9281db74 SHA256 32a1202b5566a12fb13c38ac95eda1fffdb753c558bd0bdd3586606af521fe3c
+DIST alsa-plugins-1.0.14rc3.tar.bz2 267428 RMD160 602789562126feb6aacc479419f195d4a8cdc36a SHA1 599e1a9320d5c3a5f34cc266701c1288811e7b06 SHA256 e64e1720cb08d86e288ee6bcbf3cf19d1c1a8420195e23b3452d1f8ff19acac2
EBUILD alsa-plugins-1.0.11.ebuild 1341 RMD160 b189936a66648e1ab3043dda35382beae5dbe598 SHA1 fe0155b9e59ec338199261ebd71ac653f00c84be SHA256 dafa087f075b80b7cb6da662c4d93920b991c325099d1dadb03273890d986b7d
MD5 334a1000cbadad42b454459002f664e1 alsa-plugins-1.0.11.ebuild 1341
RMD160 b189936a66648e1ab3043dda35382beae5dbe598 alsa-plugins-1.0.11.ebuild 1341
MD5 295d69638462dbba274db28b9e060cc8 alsa-plugins-1.0.14_rc2.ebuild 2089
RMD160 5e233cbf742240fdcf5c59b76cccfd542d0362c9 alsa-plugins-1.0.14_rc2.ebuild 2089
SHA256 d5d70d5670c18809c0b2ee0c93d129b68a8ca6ec99ff2de0c21887f80a1d6ea6 alsa-plugins-1.0.14_rc2.ebuild 2089
-MISC ChangeLog 7469 RMD160 9cfe401498da9993e2433ec8ede636c7f37727ee SHA1 713af2d9a354b6905d98f4602cf3319e10158877 SHA256 3b5351865973ad40ab3ef48792ccc691160f3c365c8ebfe8fe4853cceccecee4
-MD5 70cebb990c480301b0485fb3cfc85035 ChangeLog 7469
-RMD160 9cfe401498da9993e2433ec8ede636c7f37727ee ChangeLog 7469
-SHA256 3b5351865973ad40ab3ef48792ccc691160f3c365c8ebfe8fe4853cceccecee4 ChangeLog 7469
+EBUILD alsa-plugins-1.0.14_rc3.ebuild 2269 RMD160 bcb56f2e1392877a96df41c2ac15a0fab8c17619 SHA1 2e3bcca823218dc29679973a916a369e02df0ce3 SHA256 f8bccf23921a58b9f6188af43b140cfc8fd5d1b76c83aafdbf56c403900ea6b3
+MD5 4b90a3079b9b47c9e0fc57d2e7cff93f alsa-plugins-1.0.14_rc3.ebuild 2269
+RMD160 bcb56f2e1392877a96df41c2ac15a0fab8c17619 alsa-plugins-1.0.14_rc3.ebuild 2269
+SHA256 f8bccf23921a58b9f6188af43b140cfc8fd5d1b76c83aafdbf56c403900ea6b3 alsa-plugins-1.0.14_rc3.ebuild 2269
+MISC ChangeLog 7692 RMD160 8311c58ffa2f343156ce03957f9cfba7465588d8 SHA1 2f6f061597cf038ff6528672d3041bc9a9a0d230 SHA256 86ed69dad31536a12dcb93a5c820bac3cb25e960e8ddc324c6ea6a39b1548eb4
+MD5 0c25704c839957e2feb46f9b1892e1fd ChangeLog 7692
+RMD160 8311c58ffa2f343156ce03957f9cfba7465588d8 ChangeLog 7692
+SHA256 86ed69dad31536a12dcb93a5c820bac3cb25e960e8ddc324c6ea6a39b1548eb4 ChangeLog 7692
MISC metadata.xml 220 RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb SHA1 1b895fe6cae4b8eab08ba1a6a1212baf4b4b4105 SHA256 8570ef11cd59b0d8edb71e78eecaec423616836b10eacb86bee0de941f0ae054
MD5 7c52acc7d4fe40bac97d3198a43dcbd6 metadata.xml 220
RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb metadata.xml 220
MD5 9572f01a2b679a535c46f60ae23ff48e files/digest-alsa-plugins-1.0.14_rc2 271
RMD160 bd2849c82ce9abd47f23894a720dc0ecf558b0b8 files/digest-alsa-plugins-1.0.14_rc2 271
SHA256 7b8cda389b16db713054fbc9e50d7ab9e087e2709aafd4107086b5a8f67003c4 files/digest-alsa-plugins-1.0.14_rc2 271
+MD5 d00b4cc9627485718900ab463faea136 files/digest-alsa-plugins-1.0.14_rc3 271
+RMD160 153d364d7e2326b769d8b8c65931de94b8650bf7 files/digest-alsa-plugins-1.0.14_rc3 271
+SHA256 6968fadcf06798e68171bf6908c087a65acb52e2e1fdaffadd4fe8e7e7ff955c files/digest-alsa-plugins-1.0.14_rc3 271
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFF/FGFcxLzpIGCsLQRAlMJAJ9dq1uBLLRCDZNqxxH/SUPyA4E31ACfR3ey
+9wWqAZtaZuDbTGXmDESV0EY=
+=SASM
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.14_rc3.ebuild,v 1.1 2007/03/17 20:37:18 betelgeuse Exp $
+
+WANT_AUTOMAKE=latest
+WANT_AUTOCONF=latest
+
+inherit libtool autotools eutils flag-o-matic
+
+MY_P="${P/_/}"
+
+DESCRIPTION="ALSA extra plugins"
+HOMEPAGE="http://www.alsa-project.org/"
+SRC_URI="mirror://alsaproject/plugins/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="jack ffmpeg libsamplerate pulseaudio debug"
+
+RDEPEND=">=media-libs/alsa-lib-1.0.12_rc1
+ jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
+ ffmpeg? ( media-video/ffmpeg )
+ libsamplerate? ( media-libs/libsamplerate )
+ pulseaudio? ( media-sound/pulseaudio )
+ !media-plugins/alsa-jack"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Stupid alsa upstream forgot this from the release.
+ # Remove in next release
+ cp -i "${FILESDIR}/${PV}-gcd.h" rate-lavc/gcd.h || die
+
+ epatch "${FILESDIR}/${PN}-1.0.14_rc1-automagic.patch"
+ epatch "${FILESDIR}/${PN}-1.0.14_rc1-init-ffmpeg.patch"
+
+ # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
+ # failed assert. As the code works just fine with asserts disabled, for now
+ # disable them waiting for a better solution.
+ sed -i -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
+ "${S}/pulse/Makefile.am"
+
+ eautoreconf
+
+ elibtoolize
+}
+
+src_compile() {
+ use debug || append-flags -DNDEBUG
+
+ # D-Bus is used for Maemo SDK, that standing to the
+ # changelog is related to n770... disable it until
+ # someone ask for it explicitely, to be on the safe
+ # side.
+ econf \
+ $(use_enable jack) \
+ $(use_enable libsamplerate samplerate) \
+ $(use_enable ffmpeg avcodec) \
+ $(use_enable pulseaudio) \
+ --disable-dbus \
+ --disable-dependency-tracking \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ cd "${S}/doc"
+ dodoc upmix.txt vdownmix.txt README-pcm-oss
+ use jack && dodoc README-jack
+ use libsamplerate && dodoc samplerate.txt
+ use pulseaudio && dodoc README-pulse
+ use ffmpeg && dodoc lavcrate.txt a52.txt
+}
--- /dev/null
+/*
+ * Fast implementation of greatest common divisor using the binary algorithm.
+ * Copyright (c) 2007 Nicholas Kain
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+/* computes gcd using binary algorithm */
+static int gcd(int a, int b)
+{
+ int s,d;
+
+ if (!a || !b)
+ return a | b;
+
+ for (s=0; ((a|b)&1) == 0; ++s) {
+ a >>= 1;
+ b >>= 1;
+ }
+
+ while ((a&1) == 0)
+ a >>= 1;
+
+ do {
+ while ((b&1) == 0) {
+ b >>= 1;
+ }
+ if (a<b) {
+ b -= a;
+ } else {
+ d = a-b;
+ a = b;
+ b = d;
+ }
+ b >>= 1;
+ } while (b);
+
+ return a << s;
+}
+
--- /dev/null
+MD5 c72482d82741d9fdae15ae04c1f52227 alsa-plugins-1.0.14rc3.tar.bz2 267428
+RMD160 602789562126feb6aacc479419f195d4a8cdc36a alsa-plugins-1.0.14rc3.tar.bz2 267428
+SHA256 e64e1720cb08d86e288ee6bcbf3cf19d1c1a8420195e23b3452d1f8ff19acac2 alsa-plugins-1.0.14rc3.tar.bz2 267428