# ChangeLog for media-libs/libclthreads
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/ChangeLog,v 1.9 2007/02/22 01:51:48 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/ChangeLog,v 1.10 2007/04/19 20:46:24 aballier Exp $
+
+*libclthreads-2.2.1 (19 Apr 2007)
+
+ 19 Apr 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/libclthreads-2.2.1-Makefile.patch, +libclthreads-2.2.1.ebuild:
+ Version bump, thanks to Mike Mattie and ron widler, bug #156914
22 Feb 2007; Piotr JaroszyĆski <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libclthreads-1.0.0-makefile.patch 863 RMD160 d99364dfb53a8309d8b71b1b4dc34aefb5253256 SHA1 7af216386d7b567a147db9422bb6002a618c39fb SHA256 1895ef3414b49256a349960003ed9d2a3dfc2b252acf803d730acb8b04eda3b5
MD5 15457e6804d7144803490194460b485d files/libclthreads-1.0.0-makefile.patch 863
RMD160 d99364dfb53a8309d8b71b1b4dc34aefb5253256 files/libclthreads-1.0.0-makefile.patch 863
MD5 5e337a4dc1bb530a362e90a2caf1ffb7 files/libclthreads-1.0.2-makefile.patch 917
RMD160 4323934eeaf35aad7747ad6b25fda85aa591eeaa files/libclthreads-1.0.2-makefile.patch 917
SHA256 f166ab5534682912b1c341a5cb0988d9dc4137e77b2ab5e00e1eacfbf62bb0a2 files/libclthreads-1.0.2-makefile.patch 917
+AUX libclthreads-2.2.1-Makefile.patch 1462 RMD160 a05c6b574b5b6c36a2679da7b6b0c42030bde9ea SHA1 df7eda2c2b291be9b369ffe22de74326019302d3 SHA256 2299ed5377470ba05914db639c63da67d57ec21eed77ce1e0f259569eb17b8d4
+MD5 d566038761556b7b564c76ae348a0b1d files/libclthreads-2.2.1-Makefile.patch 1462
+RMD160 a05c6b574b5b6c36a2679da7b6b0c42030bde9ea files/libclthreads-2.2.1-Makefile.patch 1462
+SHA256 2299ed5377470ba05914db639c63da67d57ec21eed77ce1e0f259569eb17b8d4 files/libclthreads-2.2.1-Makefile.patch 1462
DIST clthreads-1.0.2.tar.bz2 5681 RMD160 512555003dc14171698e775591b63f533d117694 SHA1 92059ac240b709026b3ce8599cb731dfc9742be6 SHA256 df63dc5999e8522c60d2f915df7a84db9030d27dbfa2433b16e8ff0e7a2e6a37
+DIST clthreads-2.2.1.tar.bz2 5968 RMD160 f13167fc0181466596d243e833497c16f66963f8 SHA1 92965633e41989e596aeca8c1fdf96496017a66c SHA256 dc29cff17bb4909a11646dc43fa6bebd90c0c64956d924b360ff46896313725e
EBUILD libclthreads-1.0.2.ebuild 863 RMD160 b08aae6e68ebcbf53f2037cca4df7ae931623a43 SHA1 3597d99306d8c0f1fba8b6908e979cf76e16150c SHA256 2ed5841ba55b786d2d07748c6e798dbabedc0855685d6431e72b172e7d6f331c
MD5 0d597af93df8f96217e2a77b4e714193 libclthreads-1.0.2.ebuild 863
RMD160 b08aae6e68ebcbf53f2037cca4df7ae931623a43 libclthreads-1.0.2.ebuild 863
SHA256 2ed5841ba55b786d2d07748c6e798dbabedc0855685d6431e72b172e7d6f331c libclthreads-1.0.2.ebuild 863
-MISC ChangeLog 1499 RMD160 bee7d8a5ba05c0a2df92be3d6564da9dd0bf1887 SHA1 f3882e460f847d92be0877927d12cd3d56bc366c SHA256 6ed8e50879b0457aaec4b80dede5721396bc7548cc0c8051c48e464dfe7bdf53
-MD5 d1f4934817aa11ebd50f419a26c818fa ChangeLog 1499
-RMD160 bee7d8a5ba05c0a2df92be3d6564da9dd0bf1887 ChangeLog 1499
-SHA256 6ed8e50879b0457aaec4b80dede5721396bc7548cc0c8051c48e464dfe7bdf53 ChangeLog 1499
+EBUILD libclthreads-2.2.1.ebuild 870 RMD160 d46454b67cad203aacd2da92db06daec600991bf SHA1 4e3a419abc2d9de3639a7a43f0a800ae7946f8f8 SHA256 0bd2b681cb2fc6068b41c5e72a6a17de2a2b3b574de5624b183810bd48f1fea8
+MD5 37692c642701847f0c6ca6a432bde893 libclthreads-2.2.1.ebuild 870
+RMD160 d46454b67cad203aacd2da92db06daec600991bf libclthreads-2.2.1.ebuild 870
+SHA256 0bd2b681cb2fc6068b41c5e72a6a17de2a2b3b574de5624b183810bd48f1fea8 libclthreads-2.2.1.ebuild 870
+MISC ChangeLog 1733 RMD160 850514dec613bada9b3e128f883af1c5ced017ed SHA1 e142d758c428d0d6b67d333325677a766a393b79 SHA256 8c3e7911cc4d9f13ebd720403324d81dcd93f19922bad5f31845883b4989317a
+MD5 e111cc1bf1f8733863f1205e315d47e5 ChangeLog 1733
+RMD160 850514dec613bada9b3e128f883af1c5ced017ed ChangeLog 1733
+SHA256 8c3e7911cc4d9f13ebd720403324d81dcd93f19922bad5f31845883b4989317a ChangeLog 1733
MISC metadata.xml 217 RMD160 906a4752f7a779a157215dc1c5f05e8de62aeb4a SHA1 bb95f672fc20ce8075d27f34c751073cb97849d2 SHA256 cbd33766e3d30e5e0112ad6c57ffc10052659ebb132a0a16fb3462ea8c5a2789
MD5 2f758c82434233f84f01f80f850a1112 metadata.xml 217
RMD160 906a4752f7a779a157215dc1c5f05e8de62aeb4a metadata.xml 217
MD5 a688ae563ff15af10bc3500b6fd8e22b files/digest-libclthreads-1.0.2 244
RMD160 658b760f66b0805c979eddf36d9b72afb917d9ef files/digest-libclthreads-1.0.2 244
SHA256 08de1925e67cf87e2cefde2ac01973fc63b47d6f455eb7ea18fed60a412db1e5 files/digest-libclthreads-1.0.2 244
+MD5 e9faffdf6244a71261252d40f6c6bb8a files/digest-libclthreads-2.2.1 244
+RMD160 f0e3650bc9e511eb3cc8cb097c43ec63733da98d files/digest-libclthreads-2.2.1 244
+SHA256 2cc12e4f256d39c8250cb0c395ec9494c5505862e78c11388834cda5bfe4df8b files/digest-libclthreads-2.2.1 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGJ9UkvFcC4BYPU0oRAlmlAKCD0bMqzO78lHWDSnCsUQ8enD1cpwCfVh9Z
+5betLgt+Lp8urhAxduvpNIE=
+=UK1j
+-----END PGP SIGNATURE-----
--- /dev/null
+--- Makefile.orig 2006-11-23 10:01:20.000000000 -0800
++++ Makefile 2007-01-05 06:15:50.000000000 -0800
+@@ -28,7 +28,7 @@
+ DISTDIR = clthreads-$(VERSION)
+
+
+-CPPFLAGS += -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
++CPPFLAGS += -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+ LDLFAGS +=
+ LDLIBS +=
+
+@@ -36,22 +36,19 @@
+ CLTHREADS_SO = libclthreads.so
+ CLTHREADS_MAJ = $(CLTHREADS_SO).$(MAJVERS)
+ CLTHREADS_MIN = $(CLTHREADS_MAJ).$(MINVERS)
+-CLTHREADS_DEP = -lpthread
++CLTHREADS_DEP = -lpthread -lrt
+ CLTHREADS_O = p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o
+ CLTHREADS_H = clthreads.h
+
+
+ $(CLTHREADS_MIN): $(CLTHREADS_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
+
+
+ install: $(CLTHREADS_MIN)
+- /usr/bin/install -d $(PREFIX)/$(LIBDIR)
+- /usr/bin/install -m 644 $(CLTHREADS_H) $(PREFIX)/include
+- /usr/bin/install -m 755 $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR)
+- /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+- ln -sf $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR)/$(CLTHREADS_SO)
+-
++ /usr/bin/install -D $(CLTHREADS_H) $(DESTDIR)usr/include/$(CLTHREADS_H)
++ /usr/bin/install -D $(CLTHREADS_MIN) $(DESTDIR)$(CLTHREADS_LIBDIR)/$(CLTHREADS_MIN)
++ ln -sf $(CLTHREADS_MIN) $(DESTDIR)$(CLTHREADS_LIBDIR)/$(CLTHREADS_SO)
+
+ clean:
+ /bin/rm -f *~ *.o *.a *.d *.so.*
--- /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/libclthreads/libclthreads-2.2.1.ebuild,v 1.1 2007/04/19 20:46:24 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="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ tc-export CC CXX
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS
+}