[proaudio] [2239] media-libs/libclthreads import for b.g.o bug 418065

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 2239
Author:   gavlee
Date:     2012-10-04 17:41:48 +0200 (Thu, 04 Oct 2012)
Log Message:
-----------
media-libs/libclthreads import for b.g.o bug 418065

Added Paths:
-----------
    trunk/overlays/proaudio/media-libs/libclthreads/
    trunk/overlays/proaudio/media-libs/libclthreads/ChangeLog
    trunk/overlays/proaudio/media-libs/libclthreads/Manifest
    trunk/overlays/proaudio/media-libs/libclthreads/files/
    trunk/overlays/proaudio/media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch
    trunk/overlays/proaudio/media-libs/libclthreads/libclthreads-2.4.0.ebuild
    trunk/overlays/proaudio/media-libs/libclthreads/metadata.xml

Added: trunk/overlays/proaudio/media-libs/libclthreads/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/libclthreads/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/libclthreads/ChangeLog	2012-10-04 15:41:48 UTC (rev 2239)
@@ -0,0 +1,12 @@
+# ChangeLog for media-libs/libclthreads
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*libclthreads-2.4.0 (04 Oct 2012)
+
+  04 Oct 2012; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>
+  +libclthreads-2.4.0.ebuild, +files/libclthreads-2.4.0-Makefile.patch,
+  +metadata.xml:
+  import from bug 418065 by Rodrigo Severo fixing packages from
+  kokkinizita.linuxaudio.org
+

Added: trunk/overlays/proaudio/media-libs/libclthreads/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/libclthreads/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/libclthreads/Manifest	2012-10-04 15:41:48 UTC (rev 2239)
@@ -0,0 +1,5 @@
+AUX libclthreads-2.4.0-Makefile.patch 1565 SHA256 0f59c4890c527e1eae63a5ade86bc681ce8194f806fdabb16ad50ea009a62547 SHA512 0b1f70437ce66303e03dd2f9b8b805740c4aeb9f880bdaf71d80fef899d72f42ba32d26e4dbc6109bf26ed103784796a1a4dbb2451d7afd81fad3ab8d4c4eee2 WHIRLPOOL d66c0724b5b4c562ccb6ded74fd22c0700d1c38690a9bb9edf47adb047f532db8485932323752899236c9eabee48f04aaf621bff6a75094619f682f72d975f94
+DIST clthreads-2.4.0.tar.bz2 14796 SHA256 a69fd566af24b85a10c5ecd957a85b7f5eb1c56995d2b999219b52f353ea1de9 SHA512 c307d9611e0530469b36367f05721e6676d7bb186be97d38b851e66d9f670663ceceedf065823b27ac5864725d52cc2f462fd8d96f1398a202e30d82910ec58b WHIRLPOOL a2ee34fff689569b47208c30dfcb60e52da3e2c7186e4e22cccf218768cf7a2476f2ff48c610c57bb28c29fafb33f7745e8b58c379f6bc02ff75141d870ad52c
+EBUILD libclthreads-2.4.0.ebuild 872 SHA256 630b5af0056124b70e4b3e5119f62490912d4f27a185cdd79f9dcfa4778f9553 SHA512 cc0ed3774fb19d85649c44c3a9d425d2cd8f22ee18e9cb54d7253712950149190212d7e19223637278d84ffeb9687317bd5ae500e16109cc3dc8d50d8648b907 WHIRLPOOL f20a18acfd99e565b2d8c948724831d99e185e192f5d8ce4b384a79b229e4b429bfdab322cd340125984e164d1786d2c916496001e3794208d0a770c579fedec
+MISC ChangeLog 407 SHA256 256cae3eaf5365ca420eb8c69b7e764fbe545a57b9ba71e58609a7d641b6df7a SHA512 e60be7076efcb342e26326b34ba713c8821c86140ce445364e0aebf8009b314ed2f1af3cb3f8fe372b1d95ef98e2b5407fe2183c47db98e0389db447a41c2708 WHIRLPOOL 99dd17d0a70bd5ae48302cc965f38fa49ab20cf4cff750bd3f223c91d1cf6596c183be951fb7f622c84ba1a9084fbd3cd7f8d816fc1e4d610cd04b6d2ae68fe8
+MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f

Added: trunk/overlays/proaudio/media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch	2012-10-04 15:41:48 UTC (rev 2239)
@@ -0,0 +1,40 @@
+--- /home/rodrigo/temp/Makefile	2012-05-28 19:28:56.187863784 -0300
++++ clthreads-2.4.0/Makefile	2012-05-28 19:31:54.242253511 -0300
+@@ -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,20 @@
+ 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_MAJ)
++	ln -sf $(CLTHREADS_MAJ) $(DESTDIR)$(CLTHREADS_LIBDIR)/$(CLTHREADS_SO)
+ 
+ clean:
+ 	/bin/rm -f *~ *.o *.a *.d *.so.*

Added: trunk/overlays/proaudio/media-libs/libclthreads/libclthreads-2.4.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/libclthreads/libclthreads-2.4.0.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/libclthreads/libclthreads-2.4.0.ebuild	2012-10-04 15:41:48 UTC (rev 2239)
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/libclthreads-2.4.0.ebuild,v 1.1 2008/04/19 12:52: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@xxxxxxxxx>"
+HOMEPAGE="http://www.kokkinizita.net/linuxaudio/";
+SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2";
+
+LICENSE="LGPL-2.1"
+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
+}

Added: trunk/overlays/proaudio/media-libs/libclthreads/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-libs/libclthreads/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/libclthreads/metadata.xml	2012-10-04 15:41:48 UTC (rev 2239)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<maintainer>
+		<email>proaudio@xxxxxxxxxxxxx</email>
+		<name>pro-audio overlay team</name>
+	</maintainer>
+</pkgmetadata>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/