summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-24 10:10:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-24 10:10:31 +0000
commitcf2c1ad66f4bdf042d18bedd969c8c7cf347b7b8 (patch)
treed01800b489350a6b31640fb61961ce4d7e040a1e /media-plugins/alsa-plugins
parentcleanup old ebuilds (diff)
downloadgentoo-2-cf2c1ad66f4bdf042d18bedd969c8c7cf347b7b8.tar.gz
gentoo-2-cf2c1ad66f4bdf042d18bedd969c8c7cf347b7b8.tar.bz2
gentoo-2-cf2c1ad66f4bdf042d18bedd969c8c7cf347b7b8.zip
New package alsa-plugins, built from upstream's alsa-plugins tarball. Features jack, resampling, a52 and other plugins. Supersedes media-plugins/alsa-jack.
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'media-plugins/alsa-plugins')
-rw-r--r--media-plugins/alsa-plugins/ChangeLog13
-rw-r--r--media-plugins/alsa-plugins/Manifest20
-rw-r--r--media-plugins/alsa-plugins/alsa-plugins-1.0.11.ebuild55
-rw-r--r--media-plugins/alsa-plugins/files/alsa-plugins-1.0.11-automagic.patch52
-rw-r--r--media-plugins/alsa-plugins/files/digest-alsa-plugins-1.0.113
-rw-r--r--media-plugins/alsa-plugins/metadata.xml5
6 files changed, 148 insertions, 0 deletions
diff --git a/media-plugins/alsa-plugins/ChangeLog b/media-plugins/alsa-plugins/ChangeLog
new file mode 100644
index 000000000000..4fd19cf32a3a
--- /dev/null
+++ b/media-plugins/alsa-plugins/ChangeLog
@@ -0,0 +1,13 @@
+# 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.1 2006/04/24 10:10:31 flameeyes Exp $
+
+*alsa-plugins-1.0.11 (24 Apr 2006)
+
+ 24 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/alsa-plugins-1.0.11-automagic.patch, +metadata.xml,
+ +alsa-plugins-1.0.11.ebuild:
+ New package alsa-plugins, built from upstream's alsa-plugins tarball.
+ Features jack, resampling, a52 and other plugins. Supersedes
+ media-plugins/alsa-jack.
+
diff --git a/media-plugins/alsa-plugins/Manifest b/media-plugins/alsa-plugins/Manifest
new file mode 100644
index 000000000000..0cb3a8d8c2a8
--- /dev/null
+++ b/media-plugins/alsa-plugins/Manifest
@@ -0,0 +1,20 @@
+AUX alsa-plugins-1.0.11-automagic.patch 2387 RMD160 7ba1283bd2ac8c94b690db18ed80f2154df4e755 SHA1 fd6242d06959e20ecf4f69dabefd0f29e2fe192c SHA256 ce8a8a7de749167dce31008283045548077fc8a29704ab7742071e7deff87d39 size 2387
+MD5 11501a02f6428eb443cb507593790efd files/alsa-plugins-1.0.11-automagic.patch 2387
+RMD160 7ba1283bd2ac8c94b690db18ed80f2154df4e755 files/alsa-plugins-1.0.11-automagic.patch 2387
+SHA256 ce8a8a7de749167dce31008283045548077fc8a29704ab7742071e7deff87d39 files/alsa-plugins-1.0.11-automagic.patch 2387
+DIST alsa-plugins-1.0.11.tar.bz2 236440 RMD160 24a80f68467c9a3dae9ab8c27f8e826ac1dc7ab3 SHA256 9aef5b1e7649c279ef69b41c556d65d0c74364f015f93ac99e33eb2a7db9b3fd size 236440
+EBUILD alsa-plugins-1.0.11.ebuild 1193 RMD160 2096a3c0dbf135e293d989643fb8dd6e6824189f SHA1 464dfc2c8f3ed8955464bfd43e53ab51df96392a SHA256 23fa1f45189d63b75ff2f9f2ca94a550e6910887a9ca11b1eb647ad09b441c90 size 1193
+MD5 5732c0a87d7c0c7a05326e5b8115051f alsa-plugins-1.0.11.ebuild 1193
+RMD160 2096a3c0dbf135e293d989643fb8dd6e6824189f alsa-plugins-1.0.11.ebuild 1193
+SHA256 23fa1f45189d63b75ff2f9f2ca94a550e6910887a9ca11b1eb647ad09b441c90 alsa-plugins-1.0.11.ebuild 1193
+MISC ChangeLog 471 RMD160 e6c1a87ec9c24f166e71253b18599ce802ff2c63 SHA1 e803a64b62b31cf5bda2446340b92533b2c2ae6e SHA256 7c8b17a0ab82ccab5cf6a8ecdc5b57a4929356eb0ceb132d8d7fbef231a9194c size 471
+MD5 612f401d2baf66a362679baf802405c4 ChangeLog 471
+RMD160 e6c1a87ec9c24f166e71253b18599ce802ff2c63 ChangeLog 471
+SHA256 7c8b17a0ab82ccab5cf6a8ecdc5b57a4929356eb0ceb132d8d7fbef231a9194c ChangeLog 471
+MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b size 158
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
+SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
+MD5 ded80bafcfd920d07f2d1aa8d4ecb641 files/digest-alsa-plugins-1.0.11 262
+RMD160 58b18ae79b53b9c3885678e5e55a10ecf2e10df6 files/digest-alsa-plugins-1.0.11 262
+SHA256 aa28b3c600c7b16d100e915875efb9d411f4ac44b3fe767f56bc93c21ee730c6 files/digest-alsa-plugins-1.0.11 262
diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.11.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.11.ebuild
new file mode 100644
index 000000000000..f367df40c45a
--- /dev/null
+++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.11.ebuild
@@ -0,0 +1,55 @@
+# 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.11.ebuild,v 1.1 2006/04/24 10:10:31 flameeyes Exp $
+
+inherit libtool autotools eutils
+
+DESCRIPTION="ALSA extra plugins"
+HOMEPAGE="http://www.alsa-project.org/"
+SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="jack ffmpeg libsamplerate"
+
+# It could support polypaudio if it was in portage
+RDEPEND=">=media-libs/alsa-lib-1.0.11
+ jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
+ ffmpeg? ( media-video/ffmpeg )
+ libsamplerate? ( media-libs/libsamplerate )
+ !media-plugins/alsa-jack"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-automagic.patch"
+ eautoreconf
+
+ elibtoolize
+}
+
+src_compile() {
+ econf \
+ $(use_enable jack) \
+ $(use_enable libsamplerate samplerate) \
+ $(use_enable ffmpeg avcodec) \
+ --disable-polypaudio \
+ --disable-dependency-tracking \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install
+
+ cd "${S}/doc"
+ dodoc upmix.txt vdownmix.txt README-pcm-oss
+ use jack && dodoc README-jack
+ use libsamplerate && dodoc samplerate.txt
+}
+
diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.11-automagic.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.11-automagic.patch
new file mode 100644
index 000000000000..30d540a54237
--- /dev/null
+++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.11-automagic.patch
@@ -0,0 +1,52 @@
+Index: alsa-plugins-1.0.11/configure.in
+===================================================================
+--- alsa-plugins-1.0.11.orig/configure.in
++++ alsa-plugins-1.0.11/configure.in
+@@ -13,15 +13,29 @@ 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(polypaudio, [polyplib], [HAVE_POLYP=yes], [HAVE_POLYP=no])
++AC_ARG_ENABLE([polypaudio],
++ AC_HELP_STRING([--disable-polypaudio], [Disable building of polypaudio plugin]))
++if test "x$enable_polypaudio" != "xno"; then
++ PKG_CHECK_MODULES(polypaudio, [polyplib], [HAVE_POLYP=yes], [HAVE_POLYP=no])
++fi
+ AM_CONDITIONAL(HAVE_POLYP, test x$HAVE_POLYP = 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)
+
++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"
diff --git a/media-plugins/alsa-plugins/files/digest-alsa-plugins-1.0.11 b/media-plugins/alsa-plugins/files/digest-alsa-plugins-1.0.11
new file mode 100644
index 000000000000..773e9e7d67b7
--- /dev/null
+++ b/media-plugins/alsa-plugins/files/digest-alsa-plugins-1.0.11
@@ -0,0 +1,3 @@
+MD5 4ca9ebb9f59b6d9bd85c904134a78305 alsa-plugins-1.0.11.tar.bz2 236440
+RMD160 24a80f68467c9a3dae9ab8c27f8e826ac1dc7ab3 alsa-plugins-1.0.11.tar.bz2 236440
+SHA256 9aef5b1e7649c279ef69b41c556d65d0c74364f015f93ac99e33eb2a7db9b3fd alsa-plugins-1.0.11.tar.bz2 236440
diff --git a/media-plugins/alsa-plugins/metadata.xml b/media-plugins/alsa-plugins/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-plugins/alsa-plugins/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>