# 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.
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libclalsadrv-1.0.1-makefile.patch 932 RMD160 ec2a1ac63ba1a05fefd66629b251a9da5df16456 SHA1 25042ed24a739b8a410d0b0db542493548f86859 SHA256 d9c1e084fe4fd3707995df9c0cc45aca9c8742a874d855a7d8d0c3969d83c5a8
MD5 813545a0c6104ec4da0f68c52d8ff6f4 files/libclalsadrv-1.0.1-makefile.patch 932
RMD160 ec2a1ac63ba1a05fefd66629b251a9da5df16456 files/libclalsadrv-1.0.1-makefile.patch 932
SHA256 d9c1e084fe4fd3707995df9c0cc45aca9c8742a874d855a7d8d0c3969d83c5a8 files/libclalsadrv-1.0.1-makefile.patch 932
+AUX libclalsadrv-1.2.1-makefile.patch 1279 RMD160 10c6c9ef2a8a7f43ad3ec425c73c28ccd8bd5ae4 SHA1 dccc15a6a4b076fd1fb45af8c7a13ed1dfba375f SHA256 9d02625fb5f53a640bd04ae4b1f69fc0677eb8d9c91e89e9f6ab680799a00c02
+MD5 8a631398d981a29be01dbb400cf91d4e files/libclalsadrv-1.2.1-makefile.patch 1279
+RMD160 10c6c9ef2a8a7f43ad3ec425c73c28ccd8bd5ae4 files/libclalsadrv-1.2.1-makefile.patch 1279
+SHA256 9d02625fb5f53a640bd04ae4b1f69fc0677eb8d9c91e89e9f6ab680799a00c02 files/libclalsadrv-1.2.1-makefile.patch 1279
DIST clalsadrv-1.0.1.tar.bz2 12489 RMD160 eb27f9d3e01fc75486e5230af44b8a061fe696b0 SHA1 0f32d541fabd2b555f96ba925401f5333b90197a SHA256 91b2c20343ad1fa877fa3f6f557c7fcf9d4efb67586842d75203c738f70ac811
+DIST clalsadrv-1.2.1.tar.bz2 12608 RMD160 27405b4b3b37c83de22535340f59fec883591a94 SHA1 56e1ce90682ca215609557d8946c9307278ae30d SHA256 0f3118163825e3672092033ee947d75d2bd18c288c42f5d9b28a84f3c3435277
EBUILD libclalsadrv-1.0.1.ebuild 949 RMD160 9b58c55310fe77ce40661bc643b3561389b44b84 SHA1 1d26e091a5430ef0dfead688666aa55e13af536b SHA256 29d1ad470d59a5c2cb09f730fa5501a6276fea9f52a25d3774ed65e0f2581728
MD5 f791dcc8bf325869a95c99d9cec50492 libclalsadrv-1.0.1.ebuild 949
RMD160 9b58c55310fe77ce40661bc643b3561389b44b84 libclalsadrv-1.0.1.ebuild 949
SHA256 29d1ad470d59a5c2cb09f730fa5501a6276fea9f52a25d3774ed65e0f2581728 libclalsadrv-1.0.1.ebuild 949
-MISC ChangeLog 1611 RMD160 55fdb4fcdcf0a5718e9b374a2ed2f5e5a311cf6b SHA1 c3dede30583d799fde20edfa6c34a3cf58ad85f2 SHA256 0468181fce448ac372e5cc322cafd00194c96422bbea5cc54e7495def36d9145
-MD5 97892903dccedc8abe7f9c0a0c2a67f1 ChangeLog 1611
-RMD160 55fdb4fcdcf0a5718e9b374a2ed2f5e5a311cf6b ChangeLog 1611
-SHA256 0468181fce448ac372e5cc322cafd00194c96422bbea5cc54e7495def36d9145 ChangeLog 1611
+EBUILD libclalsadrv-1.2.1.ebuild 891 RMD160 d81765fce26e3ef82d77e13ae3591804a9be7ef3 SHA1 d3bbf1b8b9cc3c266db422319918425641231dc0 SHA256 6d93530c469359935a9b5560bbd2441eda695b1ebea202df187be5d8f69ae75d
+MD5 b4b35d0ae636805c209cbf75a8690df7 libclalsadrv-1.2.1.ebuild 891
+RMD160 d81765fce26e3ef82d77e13ae3591804a9be7ef3 libclalsadrv-1.2.1.ebuild 891
+SHA256 6d93530c469359935a9b5560bbd2441eda695b1ebea202df187be5d8f69ae75d libclalsadrv-1.2.1.ebuild 891
+MISC ChangeLog 1789 RMD160 372f1838de1c7c61e9ecbe75a178d324132ab6e9 SHA1 447edc1ca18f2b583b0c78063f87da67257799a9 SHA256 5a3b6367f14f262d5ffad81b61436d5c3c8aec4515f4d7a81904acfff05c97cc
+MD5 4bdef43f1b7fa8099e69c8334b08bbf5 ChangeLog 1789
+RMD160 372f1838de1c7c61e9ecbe75a178d324132ab6e9 ChangeLog 1789
+SHA256 5a3b6367f14f262d5ffad81b61436d5c3c8aec4515f4d7a81904acfff05c97cc ChangeLog 1789
MISC metadata.xml 217 RMD160 906a4752f7a779a157215dc1c5f05e8de62aeb4a SHA1 bb95f672fc20ce8075d27f34c751073cb97849d2 SHA256 cbd33766e3d30e5e0112ad6c57ffc10052659ebb132a0a16fb3462ea8c5a2789
MD5 2f758c82434233f84f01f80f850a1112 metadata.xml 217
RMD160 906a4752f7a779a157215dc1c5f05e8de62aeb4a metadata.xml 217
MD5 a5d053a273918cad85c7a9644cbe9cd2 files/digest-libclalsadrv-1.0.1 247
RMD160 ee27b9799c46231c71c82c46b2bba7f61eab3800 files/digest-libclalsadrv-1.0.1 247
SHA256 d9a34d54b1cc42f6952ce586860167c6e578c813f6ea80b2a7bc0580448d2b74 files/digest-libclalsadrv-1.0.1 247
+MD5 764cdb8d260f2298c273a221c52ce848 files/digest-libclalsadrv-1.2.1 247
+RMD160 e4678c298389b219e4a576214858b30a727e4446 files/digest-libclalsadrv-1.2.1 247
+SHA256 259401420aa6860fc535ea0ac206547d1bbd7e683b4a48ca1e372cb53d05894e files/digest-libclalsadrv-1.2.1 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGJ+WvvFcC4BYPU0oRAm/rAKCKYm/hCZmLDB1tlReJFuhAyrd6sACdFCQt
+kVDg3ebZ8SMSVg7pGjGg/pc=
+=eYcu
+-----END PGP SIGNATURE-----
--- /dev/null
+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:
--- /dev/null
+# 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
+}