diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-24 10:10:31 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-24 10:10:31 +0000 |
commit | 0bc16f7a89a737127eba9d577e8346c9fd1c1f8b (patch) | |
tree | 17544a8248f3d8ea75cf01f53cb9af55476907c4 /media-plugins/alsa-plugins | |
parent | cleanup old ebuilds (diff) | |
download | historical-0bc16f7a89a737127eba9d577e8346c9fd1c1f8b.tar.gz historical-0bc16f7a89a737127eba9d577e8346c9fd1c1f8b.tar.bz2 historical-0bc16f7a89a737127eba9d577e8346c9fd1c1f8b.zip |
New package alsa-plugins, built from upstream's alsa-plugins tarball. Features jack, resampling, a52 and other plugins. Supersedes media-plugins/alsa-jack.
Package-Manager: portage-2.1_pre9-r4
Diffstat (limited to 'media-plugins/alsa-plugins')
-rw-r--r-- | media-plugins/alsa-plugins/ChangeLog | 13 | ||||
-rw-r--r-- | media-plugins/alsa-plugins/Manifest | 30 | ||||
-rw-r--r-- | media-plugins/alsa-plugins/alsa-plugins-1.0.11.ebuild | 55 | ||||
-rw-r--r-- | media-plugins/alsa-plugins/files/alsa-plugins-1.0.11-automagic.patch | 52 | ||||
-rw-r--r-- | media-plugins/alsa-plugins/files/digest-alsa-plugins-1.0.11 | 3 | ||||
-rw-r--r-- | media-plugins/alsa-plugins/metadata.xml | 5 |
6 files changed, 158 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..d5bf73956401 --- /dev/null +++ b/media-plugins/alsa-plugins/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 1311 RMD160 8c684647151d3f61077c78d870bd19b07a930ca3 SHA1 68f99493d9142242ca71ca7ceff9aa48f583984c SHA256 c8c22dc7bcad482be59fbd2e21126f8ed9c55bf16b0b162326756a0916f429ea size 1311 +MD5 2795d8ed8ab6487184f7226a25957850 alsa-plugins-1.0.11.ebuild 1311 +RMD160 8c684647151d3f61077c78d870bd19b07a930ca3 alsa-plugins-1.0.11.ebuild 1311 +SHA256 c8c22dc7bcad482be59fbd2e21126f8ed9c55bf16b0b162326756a0916f429ea alsa-plugins-1.0.11.ebuild 1311 +MISC ChangeLog 572 RMD160 90c79025509af41e82d0714231e26baf140e365e SHA1 928f4440d433998a7c323b60992b5e03769c0775 SHA256 0981015a45616b3b3ef4fe124a796b77a658c455e25cafd602b9f3e88e69c3cd size 572 +MD5 e39c620580d07fdbe293e9a84e729bdf ChangeLog 572 +RMD160 90c79025509af41e82d0714231e26baf140e365e ChangeLog 572 +SHA256 0981015a45616b3b3ef4fe124a796b77a658c455e25cafd602b9f3e88e69c3cd ChangeLog 572 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFETKQeAiZjviIA2XgRAvzpAKCZr+fP36RFTO902Xp8bUj4OUmFMwCgzoji +GUl7NWMj+uRzKtpQhwfACb4= +=iBjo +-----END PGP SIGNATURE----- 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> |