summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-04-12 08:53:04 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-04-12 08:53:04 +0000
commit741af629c68ebc3c050c3a1f95ddeb4be81d03c2 (patch)
tree019b048896af07c7f9307de348ef608d6ed59f48 /media-libs
parentversion bump, by Richard Ash <richard@audacityteam.org>, bug #312837 (diff)
downloadgentoo-2-741af629c68ebc3c050c3a1f95ddeb4be81d03c2.tar.gz
gentoo-2-741af629c68ebc3c050c3a1f95ddeb4be81d03c2.tar.bz2
gentoo-2-741af629c68ebc3c050c3a1f95ddeb4be81d03c2.zip
version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libclalsadrv/ChangeLog10
-rw-r--r--media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch19
-rw-r--r--media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild36
3 files changed, 63 insertions, 2 deletions
diff --git a/media-libs/libclalsadrv/ChangeLog b/media-libs/libclalsadrv/ChangeLog
index cf74693b33b9..7a2f72a56c2b 100644
--- a/media-libs/libclalsadrv/ChangeLog
+++ b/media-libs/libclalsadrv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libclalsadrv
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libclalsadrv/ChangeLog,v 1.13 2009/01/25 14:53:49 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclalsadrv/ChangeLog,v 1.14 2010/04/12 08:53:04 aballier Exp $
+
+*libclalsadrv-2.0.0 (12 Apr 2010)
+
+ 12 Apr 2010; Alexis Ballier <aballier@gentoo.org>
+ +libclalsadrv-2.0.0.ebuild, +files/libclalsadrv-2.0.0-makefile.patch:
+ version bump
25 Jan 2009; Markus Meier <maekke@gentoo.org> libclalsadrv-1.2.2.ebuild:
amd64/x86 stable, bug #256042
diff --git a/media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch b/media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch
new file mode 100644
index 000000000000..d1f936928555
--- /dev/null
+++ b/media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch
@@ -0,0 +1,19 @@
+Index: clalsadrv-2.0.0/libs/Makefile
+===================================================================
+--- clalsadrv-2.0.0.orig/libs/Makefile
++++ clalsadrv-2.0.0/libs/Makefile
+@@ -41,13 +41,12 @@ CLALSADRV_H = clalsadrv.h
+
+
+ $(CLALSADRV_MIN): $(CLALSADRV_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP)
+
+
+ install: $(CLALSADRV_MIN)
+ install -Dm 644 $(CLALSADRV_H) $(DESTDIR)$(PREFIX)/include/$(CLALSADRV_H)
+ install -Dm 755 $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_MIN)
+- /sbin/ldconfig $(PREFIX)/$(LIBDIR)
+ ln -sf $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_SO)
+
+ clean:
diff --git a/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild b/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild
new file mode 100644
index 000000000000..fe8d0c85de9c
--- /dev/null
+++ b/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild,v 1.1 2010/04/12 08:53:04 aballier Exp $
+
+inherit eutils multilib toolchain-funcs
+
+MY_P="${P/lib/}"
+
+S="${WORKDIR}/${P/lib/}/libs"
+
+DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
+HOMEPAGE="http://www.kokkinizita.net/linuxaudio/"
+SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="media-libs/alsa-lib"
+
+src_unpack() {
+ unpack ${A} || die
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+ tc-export CC CXX
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake LIBDIR="$(get_libdir)" PREFIX="${D}/usr" install || die "make install failed"
+ dodoc ../AUTHORS
+}