# ChangeLog for media-plugins/alsa-plugins
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.32 2006/11/25 18:00:28 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.33 2006/12/11 19:44:01 flameeyes Exp $
+
+*alsa-plugins-1.0.14_rc1 (11 Dec 2006)
+
+ 11 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/alsa-plugins-1.0.14_rc1-automagic.patch,
+ +alsa-plugins-1.0.14_rc1.ebuild:
+ Version bump.
25 Nov 2006; Bryan Østergaard <kloeri@gentoo.org>
alsa-plugins-1.0.13.ebuild:
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
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
MD5 446adb89a1a3a503fe7686afe7d1c05f files/alsa-plugins-1.0.12_rc1-automagic.patch 2414
RMD160 75c1c36c5d5165b020cd48ea17b0542ce24868a3 files/alsa-plugins-1.0.12_rc1-automagic.patch 2414
SHA256 ccdd300d969676df8950543d74daf936f6de9abcf6cab816d67bb16d36b084f5 files/alsa-plugins-1.0.12_rc1-automagic.patch 2414
+AUX alsa-plugins-1.0.14_rc1-automagic.patch 2892 RMD160 46c8541aa738d7f1b78c07318bc26bb7739020f2 SHA1 ad5ff0d6c6eb807ce06d71d2dff2600877bc3ac6 SHA256 04a820b2c2a0ce7c518fceafa290965b9caec62a6293938b74c1c828080f2ce0
+MD5 903355c77eb3b9e47cdd95e4f6acdff2 files/alsa-plugins-1.0.14_rc1-automagic.patch 2892
+RMD160 46c8541aa738d7f1b78c07318bc26bb7739020f2 files/alsa-plugins-1.0.14_rc1-automagic.patch 2892
+SHA256 04a820b2c2a0ce7c518fceafa290965b9caec62a6293938b74c1c828080f2ce0 files/alsa-plugins-1.0.14_rc1-automagic.patch 2892
DIST alsa-plugins-1.0.11.tar.bz2 236440 RMD160 24a80f68467c9a3dae9ab8c27f8e826ac1dc7ab3 SHA1 1456255d25a848e433438a79bed7e82259fb5f29 SHA256 9aef5b1e7649c279ef69b41c556d65d0c74364f015f93ac99e33eb2a7db9b3fd
DIST alsa-plugins-1.0.12.tar.bz2 230159 RMD160 5d5c37c720f3399c185c503c4ba3ceb056796069 SHA1 477877f667f8add265038f8be01d6f3e732c59bb SHA256 ad78b94bdbff363a376ee94670f699174e4699432b45509faf8b68f65b2dfbf1
DIST alsa-plugins-1.0.13.tar.bz2 230257 RMD160 c13fef547fc29bb2f7fd60e3a962e4c299cf677a SHA1 5c8c36516fe234e93c858ac640a815c1b6dcd32a SHA256 9a1a68f13e00400a2f8b7fe77c33d715b4a048931908d7c8c082adaf55c207a0
+DIST alsa-plugins-1.0.14rc1.tar.bz2 247068 RMD160 dba9585ac2f1b154c67300c2c340b25b3ddad50b SHA1 926d0b02d3a7376c904fe0205d657143aeed569d SHA256 c061433cd0568ffcb448f570d92e77caf3bcab4b8e1c1d0db45651653db0b794
EBUILD alsa-plugins-1.0.11.ebuild 1387 RMD160 f7da6c22f1e0f326d6edd6ff92f1c6c1941f120d SHA1 982a9b4de6301ef38bce3ba709cb9e155bf643b5 SHA256 c9fba7b3e989e0e0a47b12206fb78aa894490a225eb937bb1033c055a6531b15
MD5 b85462ed233c8694d68b2b44dbb1f5cc alsa-plugins-1.0.11.ebuild 1387
RMD160 f7da6c22f1e0f326d6edd6ff92f1c6c1941f120d alsa-plugins-1.0.11.ebuild 1387
MD5 9a1cc065f4896eb51d2345fc76a563cc alsa-plugins-1.0.13.ebuild 1829
RMD160 e4e7f879a1f2481481b0d5156b1bc5486c7ed77f alsa-plugins-1.0.13.ebuild 1829
SHA256 db4fcb418682b99f376ac747cf7c9d1afe321b0355725f7ce7fcfc74f1a7eeb1 alsa-plugins-1.0.13.ebuild 1829
-MISC ChangeLog 4905 RMD160 0a71dd2a168c175b9a24cc994e317b1366284dd5 SHA1 1ceca2fd941530200f090b8cb8e087b5579f17a2 SHA256 81323577abd4b7b963c16ce892a46c3766f69a3cce772d3fd644d25beea46452
-MD5 01a11095e10770eb9af38bf9106ea9fa ChangeLog 4905
-RMD160 0a71dd2a168c175b9a24cc994e317b1366284dd5 ChangeLog 4905
-SHA256 81323577abd4b7b963c16ce892a46c3766f69a3cce772d3fd644d25beea46452 ChangeLog 4905
+EBUILD alsa-plugins-1.0.14_rc1.ebuild 2032 RMD160 7c0d43abfee963d9fe9b0a5eaf9b057c9f2edb2f SHA1 60c56a575e1943c77f1445f435545c80e3fcdab1 SHA256 64887fdbdf19558e5fd44d3350fcf07af28f30e23fb7b986405e936ddcfac516
+MD5 12e80e363d5e7310a28ac2e521af67c7 alsa-plugins-1.0.14_rc1.ebuild 2032
+RMD160 7c0d43abfee963d9fe9b0a5eaf9b057c9f2edb2f alsa-plugins-1.0.14_rc1.ebuild 2032
+SHA256 64887fdbdf19558e5fd44d3350fcf07af28f30e23fb7b986405e936ddcfac516 alsa-plugins-1.0.14_rc1.ebuild 2032
+MISC ChangeLog 5103 RMD160 e08645a99d02181da37f155dc04796eb37321f67 SHA1 f37746441e1267b7173c80c4823da02eca6b7a1b SHA256 7eee10dd966a13bb38c927ad16afcb2c03880b2821f62c8d4a5632ef0e1d15d3
+MD5 7f72195b196aaa23006925354a0f5662 ChangeLog 5103
+RMD160 e08645a99d02181da37f155dc04796eb37321f67 ChangeLog 5103
+SHA256 7eee10dd966a13bb38c927ad16afcb2c03880b2821f62c8d4a5632ef0e1d15d3 ChangeLog 5103
MISC metadata.xml 220 RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb SHA1 1b895fe6cae4b8eab08ba1a6a1212baf4b4b4105 SHA256 8570ef11cd59b0d8edb71e78eecaec423616836b10eacb86bee0de941f0ae054
MD5 7c52acc7d4fe40bac97d3198a43dcbd6 metadata.xml 220
RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb metadata.xml 220
MD5 391365eaa948436792d6f9fec10395df files/digest-alsa-plugins-1.0.13 262
RMD160 d798b43243893bedf255fb2a01881a9acb856342 files/digest-alsa-plugins-1.0.13 262
SHA256 2b594d9cf70f24ecde16e8490847dcfb6af2d0798118499a70ca8dd121d0e5da files/digest-alsa-plugins-1.0.13 262
+MD5 129ba44e816a03e5b6806ff908e22773 files/digest-alsa-plugins-1.0.14_rc1 271
+RMD160 7ba63475265cba59bf589ff957b14555199c8775 files/digest-alsa-plugins-1.0.14_rc1 271
+SHA256 2091e9ff45769a2840d8dc979471fb8a48a80715e6e9a11ec72d366748704f38 files/digest-alsa-plugins-1.0.14_rc1 271
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFfbUiAiZjviIA2XgRAnhTAJ0StOukoQXfrqzBiaxADT2V0WRhMgCffi4d
+FuPEJcnkkA6FVHokF2GEc4U=
+=X+mI
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 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_rc1.ebuild,v 1.1 2006/12/11 19:44:01 flameeyes 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}"
+
+ epatch "${FILESDIR}/${PN}-1.0.14_rc1-automagic.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
+}
--- /dev/null
+Index: alsa-plugins-1.0.12rc1/configure.in
+===================================================================
+--- alsa-plugins-1.0.12rc1.orig/configure.in
++++ alsa-plugins-1.0.12rc1/configure.in
+@@ -13,22 +13,40 @@ PKG_CHECK_MODULES(ALSA, alsa >= 1.0.11)
+ AC_CHECK_LIB(asound, snd_pcm_ioplug_create,,
+ AC_ERROR([*** libasound has no external plugin SDK]), -ldl)
+
+-PKG_CHECK_MODULES(JACK, jack >= 0.98, [HAVE_JACK=yes], [HAVE_JACK=no])
++AC_ARG_ENABLE([jack],
++ AC_HELP_STRING([--disable-jack], [Disable building of JACK plugin]))
++if test "x$enable_jack" != "xno"; then
++ PKG_CHECK_MODULES(JACK, jack >= 0.98, [HAVE_JACK=yes], [HAVE_JACK=no])
++fi
+ AM_CONDITIONAL(HAVE_JACK, test x$HAVE_JACK = xyes)
+
+-PKG_CHECK_MODULES(pulseaudio, [libpulse >= 0.9.2], [HAVE_PULSE=yes], [HAVE_PULSE=no])
++AC_ARG_ENABLE([pulseaudio],
++ AC_HELP_STRING([--disable-pulseaudio], [Disable building of pulseaudio plugin]))
++if test "x$enable_pulseaudio" != "xno"; then
++ PKG_CHECK_MODULES(pulseaudio, [libpulse >= 0.9.2], [HAVE_PULSE=yes], [HAVE_PULSE=no])
++fi
+ AM_CONDITIONAL(HAVE_PULSE, test x$HAVE_PULSE = xyes)
+
+-PKG_CHECK_MODULES(samplerate, [samplerate], [HAVE_SAMPLERATE=yes], [HAVE_SAMPLERATE=no])
++AC_ARG_ENABLE([samplerate],
++ AC_HELP_STRING([--disable-samplerate], [Disable building of samplerate plugin]))
++if test "x$enable_samplerate" != "xno"; then
++ PKG_CHECK_MODULES(samplerate, [samplerate], [HAVE_SAMPLERATE=yes], [HAVE_SAMPLERATE=no])
++fi
+ AM_CONDITIONAL(HAVE_SAMPLERATE, test x$HAVE_SAMPLERATE = xyes)
+
+-PKG_CHECK_MODULES(DBUS, [dbus-1], [HAVE_DBUS=yes], [HAVE_DBUS=no])
++AC_ARG_ENABLE([dbus],
++ AC_HELP_STRING([--disable-dbus], [Disable using of dbus server as resource manager plugin]))
++if test "x$enable_dbus" != "xno"; then
++ PKG_CHECK_MODULES(DBUS, [dbus-1], [HAVE_DBUS=yes], [HAVE_DBUS=no])
++fi
+ AM_CONDITIONAL(HAVE_DBUS, test x$HAVE_DBUS = xyes)
+
+ if test "$HAVE_DBUS" = "yes"; then
+ AC_DEFINE(USE_RESOURCE_MANAGER, 1,"Use dbus server as a resouce manager")
+ fi
+
++AC_ARG_ENABLE([avcodec],
++ AC_HELP_STRING([--disable-avcodec], [Disable building of avcodec code (a52 plugin)]))
+ AC_ARG_WITH([avcodec-includedir],
+ [--with-avcodec-includedir=dir AVcodec include directory],
+ [AVCODEC_CFLAGS="-I$withval"], [AVCODEC_CFLAGS=""])
+@@ -35,9 +49,11 @@ LDFLAGS="$LDFLAGS $AVCODEC_LIBS"
+ AC_SUBST(AVCODEC_CFLAGS)
+ AVCODEC_LIBS="$AVCODEC_LIBS -lavcodec"
+ AC_SUBST(AVCODEC_LIBS)
+-AC_CHECK_LIB([avcodec], [avcodec_open], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
+-if test x$HAVE_AVCODEC = xyes; then
+- AC_CHECK_HEADER([ffmpeg/avcodec.h], [], [HAVE_AVCODEC=no])
++if test "x$enable_avcodec" != "xno"; then
++ AC_CHECK_LIB([avcodec], [avcodec_open], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
++ if test x$HAVE_AVCODEC = xyes; then
++ AC_CHECK_HEADER([ffmpeg/avcodec.h], [], [HAVE_AVCODEC=no])
++ fi
+ fi
+ AM_CONDITIONAL(HAVE_AVCODEC, test x$HAVE_AVCODEC = xyes)
+ CFLAGS="$CFLAGS_saved"
--- /dev/null
+MD5 d1dc60951c867fbdb5eb9f6a7ac4cf6b alsa-plugins-1.0.14rc1.tar.bz2 247068
+RMD160 dba9585ac2f1b154c67300c2c340b25b3ddad50b alsa-plugins-1.0.14rc1.tar.bz2 247068
+SHA256 c061433cd0568ffcb448f570d92e77caf3bcab4b8e1c1d0db45651653db0b794 alsa-plugins-1.0.14rc1.tar.bz2 247068