diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-11-10 19:47:04 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-11-10 19:47:04 +0000 |
commit | 8d9efbb18832024e424359febe7fa3849eea6a05 (patch) | |
tree | 08db8c7f33aac469245bda88b9612e916e2f390c /media-libs/alsa-lib | |
parent | moving to ~sparc (diff) | |
download | gentoo-2-8d9efbb18832024e424359febe7fa3849eea6a05.tar.gz gentoo-2-8d9efbb18832024e424359febe7fa3849eea6a05.tar.bz2 gentoo-2-8d9efbb18832024e424359febe7fa3849eea6a05.zip |
adding jack useflag.
Diffstat (limited to 'media-libs/alsa-lib')
-rw-r--r-- | media-libs/alsa-lib/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/alsa-lib/Manifest | 4 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-0.9.8.ebuild | 21 |
3 files changed, 25 insertions, 6 deletions
diff --git a/media-libs/alsa-lib/ChangeLog b/media-libs/alsa-lib/ChangeLog index 0c62109704e9..af1cd9659474 100644 --- a/media-libs/alsa-lib/ChangeLog +++ b/media-libs/alsa-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/alsa-lib # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.39 2003/10/26 11:59:53 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.40 2003/11/10 19:46:59 mholzer Exp $ + + 10 Nov 2003; Martin Holzer <mholzer@gentoo.org> alsa-lib-0.9.8.ebuild: + adding jack useflag. Submitted by Rick Harris <rickfharris@yahoo.com.au> In + #32608. 26 Oct 2003; Martin Holzer <mholzer@gentoo.org> alsa-lib-0.9.8.ebuild: Now uses emake. Closes #32024. diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest index 8384fb9a94e6..31998a0490aa 100644 --- a/media-libs/alsa-lib/Manifest +++ b/media-libs/alsa-lib/Manifest @@ -1,7 +1,7 @@ -MD5 2eafc4d856b5db3733019c48d17bd869 ChangeLog 5607 +MD5 4be376f699e90865abbd97274f15de4b ChangeLog 5769 MD5 2e21e108e4eea4ad02a15cffe02aad9d alsa-lib-0.5.10b.ebuild 700 MD5 a65f7c1d4c53c0b96f859bef315457c1 alsa-lib-0.9.0_rc2.ebuild 1148 -MD5 7e012d3c8b0025155f51d0889e1732b7 alsa-lib-0.9.8.ebuild 1120 +MD5 e045979732bcba96c41764761478d2bd alsa-lib-0.9.8.ebuild 1560 MD5 a32cb12ce4396f9f77a24e459c60cd7b alsa-lib-0.9.2.ebuild 1115 MD5 83b4b95f7f82b82111f137b0715c6c4d alsa-lib-0.9.6.ebuild 1100 MD5 6ab3c413cf2bfe55a0423242597f7fab alsa-lib-0.9.7.ebuild 1099 diff --git a/media-libs/alsa-lib/alsa-lib-0.9.8.ebuild b/media-libs/alsa-lib/alsa-lib-0.9.8.ebuild index 1d81d3610630..51ceded70385 100644 --- a/media-libs/alsa-lib/alsa-lib-0.9.8.ebuild +++ b/media-libs/alsa-lib/alsa-lib-0.9.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-0.9.8.ebuild,v 1.2 2003/10/26 11:59:53 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-0.9.8.ebuild,v 1.3 2003/11/10 19:46:59 mholzer Exp $ inherit libtool @@ -11,9 +11,12 @@ SLOT="0" KEYWORDS="~x86 ~ppc ~alpha" LICENSE="GPL-2 LGPL-2.1" +IUSE="jack" + DEPEND="virtual/glibc >=sys-devel/automake-1.7.2 - >=sys-devel/autoconf-2.57-r1" + >=sys-devel/autoconf-2.57-r1 + jack? ( virtual/jack )" SRC_URI="mirror://alsaproject/lib/${P}.tar.bz2" RESTRICT="nomirror" @@ -23,6 +26,14 @@ src_compile() { elibtoolize econf || die "./configure failed" emake || die "make failed" + + if use jack; then + cd ${S}/src/pcm/ext + make jack || die "make on jack plugin failed" + sed -i \ + -e "s:\$(pkglibLTLIBRARIES_INSTALL) \$(INSTALL_STRIP_FLAG):\$(pkglibLTLIBRARIES_INSTALL) \$(INSTALL) \$(INSTALL_STRIP_FLAG):" Makefile || \ + die "make on jack plugin failed" + fi } src_install() { @@ -35,6 +46,10 @@ src_install() { #compatible with libasound.so.2 and a simple link #fixes the problem (fingers crossed) dosym /usr/lib/libasound.so.2 /usr/lib/libasound.so.1 - dodoc ChangeLog COPYING TODO + + if use jack; then + cd ${S}/src/pcm/ext + make DESTDIR=${D} install-jack || die "make install on jack plugin failed" + fi } |