summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-04-19 21:56:59 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-04-19 21:56:59 +0000
commitcfd6d407b0a8a4ddb676f7db4aabd51006cf6e9a (patch)
treee4fb02099c16888ad2123ebc8a66044a0af5b4b4 /media-libs/libclalsadrv
parentVersion bump, thanks to Mike Mattie and ron widler, bug #156917 (diff)
downloadgentoo-2-cfd6d407b0a8a4ddb676f7db4aabd51006cf6e9a.tar.gz
gentoo-2-cfd6d407b0a8a4ddb676f7db4aabd51006cf6e9a.tar.bz2
gentoo-2-cfd6d407b0a8a4ddb676f7db4aabd51006cf6e9a.zip
version bump
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-libs/libclalsadrv')
-rw-r--r--media-libs/libclalsadrv/ChangeLog8
-rw-r--r--media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.13
-rw-r--r--media-libs/libclalsadrv/files/libclalsadrv-1.2.1-makefile.patch33
-rw-r--r--media-libs/libclalsadrv/libclalsadrv-1.2.1.ebuild36
4 files changed, 79 insertions, 1 deletions
diff --git a/media-libs/libclalsadrv/ChangeLog b/media-libs/libclalsadrv/ChangeLog
index 48388a8e0b8c..d285e0448206 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.10 2007/02/22 01:51:18 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclalsadrv/ChangeLog,v 1.11 2007/04/19 21:56:59 aballier Exp $
+
+*libclalsadrv-1.2.1 (19 Apr 2007)
+
+ 19 Apr 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/libclalsadrv-1.2.1-makefile.patch, +libclalsadrv-1.2.1.ebuild:
+ Version bump
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.1 b/media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.1
new file mode 100644
index 000000000000..9fd871540710
--- /dev/null
+++ b/media-libs/libclalsadrv/files/digest-libclalsadrv-1.2.1
@@ -0,0 +1,3 @@
+MD5 00c882ede29021e0a0372f6873476212 clalsadrv-1.2.1.tar.bz2 12608
+RMD160 27405b4b3b37c83de22535340f59fec883591a94 clalsadrv-1.2.1.tar.bz2 12608
+SHA256 0f3118163825e3672092033ee947d75d2bd18c288c42f5d9b28a84f3c3435277 clalsadrv-1.2.1.tar.bz2 12608
diff --git a/media-libs/libclalsadrv/files/libclalsadrv-1.2.1-makefile.patch b/media-libs/libclalsadrv/files/libclalsadrv-1.2.1-makefile.patch
new file mode 100644
index 000000000000..f38c91128ce5
--- /dev/null
+++ b/media-libs/libclalsadrv/files/libclalsadrv-1.2.1-makefile.patch
@@ -0,0 +1,33 @@
+Index: clalsadrv-1.2.1/Makefile
+===================================================================
+--- clalsadrv-1.2.1.orig/Makefile
++++ clalsadrv-1.2.1/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,15 +42,13 @@ 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 -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)
++ /usr/bin/install -D $(CLALSADRV_H) $(DESTDIR)/usr/include/$(CLALSADRV_H)
++ /usr/bin/install -D $(CLALSADRV_MIN) $(DESTDIR)/usr/$(LIBDIR)/$(CLALSADRV_MIN)
++ ln -sf $(CLALSADRV_MIN) $(DESTDIR)/usr/$(LIBDIR)/$(CLALSADRV_SO)
+
+
+ clean:
diff --git a/media-libs/libclalsadrv/libclalsadrv-1.2.1.ebuild b/media-libs/libclalsadrv/libclalsadrv-1.2.1.ebuild
new file mode 100644
index 000000000000..91d45861ed6e
--- /dev/null
+++ b/media-libs/libclalsadrv/libclalsadrv-1.2.1.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.1.ebuild,v 1.1 2007/04/19 21:56:59 aballier Exp $
+
+inherit eutils multilib toolchain-funcs
+
+MY_P="${P/lib/}"
+
+S="${WORKDIR}/${MY_P}"
+
+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)" DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS
+}