summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-05-14 06:45:19 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-05-14 06:45:19 +0000
commit0dbbbc5f2923921e3901b82d1b659e74bda1e7da (patch)
tree004674d73717059b7c432d7cb4fe6082dfb845fc /media-libs/libclalsadrv
parentadd <herd>no-herd</herd> (diff)
downloadgentoo-2-0dbbbc5f2923921e3901b82d1b659e74bda1e7da.tar.gz
gentoo-2-0dbbbc5f2923921e3901b82d1b659e74bda1e7da.tar.bz2
gentoo-2-0dbbbc5f2923921e3901b82d1b659e74bda1e7da.zip
version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-libs/libclalsadrv')
-rw-r--r--media-libs/libclalsadrv/ChangeLog8
-rw-r--r--media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.23
-rw-r--r--media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch30
-rw-r--r--media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild36
4 files changed, 76 insertions, 1 deletions
diff --git a/media-libs/libclalsadrv/ChangeLog b/media-libs/libclalsadrv/ChangeLog
index d285e0448206..6159c639bb2b 100644
--- a/media-libs/libclalsadrv/ChangeLog
+++ b/media-libs/libclalsadrv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libclalsadrv
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libclalsadrv/ChangeLog,v 1.11 2007/04/19 21:56:59 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclalsadrv/ChangeLog,v 1.12 2007/05/14 06:45:19 aballier Exp $
+
+*libclalsadrv-1.2.2 (14 May 2007)
+
+ 14 May 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/libclalsadrv-1.2.2-makefile.patch, +libclalsadrv-1.2.2.ebuild:
+ version bump
*libclalsadrv-1.2.1 (19 Apr 2007)
diff --git a/media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.2 b/media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.2
new file mode 100644
index 000000000000..6eade6fe6be1
--- /dev/null
+++ b/media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.2
@@ -0,0 +1,3 @@
+MD5 7865b6c175e457ea9cb0148ce8baa746 clalsadrv-1.2.2.tar.bz2 12593
+RMD160 db8af3b1cf975dba155064e679a444b8de5effdc clalsadrv-1.2.2.tar.bz2 12593
+SHA256 0fed89dd092936b5ffa74ad7df77a72b8cbeec8cea226ff48e107e326bd36f50 clalsadrv-1.2.2.tar.bz2 12593
diff --git a/media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch b/media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch
new file mode 100644
index 000000000000..dd7845f6c52e
--- /dev/null
+++ b/media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch
@@ -0,0 +1,30 @@
+Index: clalsadrv/Makefile
+===================================================================
+--- clalsadrv.orig/Makefile
++++ clalsadrv/Makefile
+@@ -28,7 +28,7 @@ VERSION = $(MAJVERS).$(MINVERS)
+ DISTDIR = clalsadrv-$(VERSION)
+
+
+-CPPFLAGS += -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
++CPPFLAGS += -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+ LDLFAGS +=
+ LDLIBS += -lclalsadrv -lclthreads -lrt
+
+@@ -42,14 +42,14 @@ 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)
+ /usr/bin/install -d $(PREFIX)/$(LIBDIR)
++ /usr/bin/install -d $(PREFIX)/include
+ /usr/bin/install -m 644 $(CLALSADRV_H) $(PREFIX)/include
+ /usr/bin/install -m 755 $(CLALSADRV_MIN) $(PREFIX)/$(LIBDIR)
+- /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+ ln -sf $(CLALSADRV_MIN) $(PREFIX)/$(LIBDIR)/$(CLALSADRV_SO)
+
+
diff --git a/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild b/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild
new file mode 100644
index 000000000000..d5a619e3efb7
--- /dev/null
+++ b/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild,v 1.1 2007/05/14 06:45:19 aballier Exp $
+
+inherit eutils multilib toolchain-funcs
+
+MY_P="${P/lib/}"
+
+S="${WORKDIR}/${PN/lib/}"
+
+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
+}