From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/libclthreads/Manifest | 13 +++++++ .../files/libclthreads-1.0.2-makefile.patch | 23 ++++++++++++ .../files/libclthreads-2.2.1-Makefile.patch | 39 ++++++++++++++++++++ .../files/libclthreads-2.4.0-Makefile.patch | 42 ++++++++++++++++++++++ media-libs/libclthreads/libclthreads-1.0.2.ebuild | 31 ++++++++++++++++ media-libs/libclthreads/libclthreads-2.2.1.ebuild | 33 +++++++++++++++++ .../libclthreads/libclthreads-2.4.0-r1.ebuild | 33 +++++++++++++++++ media-libs/libclthreads/libclthreads-2.4.0.ebuild | 33 +++++++++++++++++ media-libs/libclthreads/metadata.xml | 8 +++++ 9 files changed, 255 insertions(+) create mode 100644 media-libs/libclthreads/Manifest create mode 100644 media-libs/libclthreads/files/libclthreads-1.0.2-makefile.patch create mode 100644 media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch create mode 100644 media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch create mode 100644 media-libs/libclthreads/libclthreads-1.0.2.ebuild create mode 100644 media-libs/libclthreads/libclthreads-2.2.1.ebuild create mode 100644 media-libs/libclthreads/libclthreads-2.4.0-r1.ebuild create mode 100644 media-libs/libclthreads/libclthreads-2.4.0.ebuild create mode 100644 media-libs/libclthreads/metadata.xml (limited to 'media-libs/libclthreads') diff --git a/media-libs/libclthreads/Manifest b/media-libs/libclthreads/Manifest new file mode 100644 index 000000000000..2ef5da9150cf --- /dev/null +++ b/media-libs/libclthreads/Manifest @@ -0,0 +1,13 @@ +AUX libclthreads-1.0.2-makefile.patch 917 SHA256 f166ab5534682912b1c341a5cb0988d9dc4137e77b2ab5e00e1eacfbf62bb0a2 SHA512 2a50e274c92103c8ea922174666f9aa69f88161ee4d6c52a34aa4b98d7d5fb1ef72326d627edf84e72b5fcab2b96c5335053e59ad428d0099c79bc2b52bd50b5 WHIRLPOOL 0161a3994fe93c3141dbb0e64e6e5e186130bc1259833a7c7800f7607bd193f4523eb7dc2a76e046f08f1b2f0741fb593917af18c5ee6bf6fc470974ed766ecf +AUX libclthreads-2.2.1-Makefile.patch 1462 SHA256 2299ed5377470ba05914db639c63da67d57ec21eed77ce1e0f259569eb17b8d4 SHA512 f89d4746ed938f95ed12f04c01150c384c1c117808504f40a4399121a7a6e6bc32d4dd9e518a705842e7ac9a4f4547618000d76381c212a6042fe93dbba08cf5 WHIRLPOOL 16520b5bedba706614475c5e6c3a92bfbcb31840ab03ff24b27c4cc3a7c6a7d00baf5053872b3ad8b1c6630b79d9a1d570ff368477d773dd78dd47a142edf544 +AUX libclthreads-2.4.0-Makefile.patch 1589 SHA256 23476e95d3d11fa7f170189ce52b013bd5663818f87c452ca2748bb8f682072a SHA512 3b58b701d46027d5c1fe7c540b100e1a62059db3d1c3b4c2201ab2e02557de5393a3b1eace0656fab4ea14089a35752e5676f1a52a2a3ed7c60f5fea89abae75 WHIRLPOOL e2636dc25b01535c5708c07dbd9c17bc891eab9e3f96e321b9d70d7754e6721d37854d85d89fdc06317f1f271203f477b1d3083ebc8696b202fe4eacd97afb48 +DIST clthreads-1.0.2.tar.bz2 5681 SHA256 df63dc5999e8522c60d2f915df7a84db9030d27dbfa2433b16e8ff0e7a2e6a37 SHA512 09ecccae900162271ba9188bf86fcf4094f1008928ff022a98007342c1663226ba74eece7bd820b8483939f876f7d85e47d7c77dc8de37006d11b00abf4c2028 WHIRLPOOL 818aa1f88fa11c35e7cb3b9640eed3b3715bc59def56785bf39de6502b503ea862af5a0175942e4724e5f07af4414355a1825f39da5a39ae748d26884862c263 +DIST clthreads-2.2.1.tar.bz2 5968 SHA256 dc29cff17bb4909a11646dc43fa6bebd90c0c64956d924b360ff46896313725e SHA512 0f0fe2d296a32ccaa4073629007ca762ed9f6c1d901d8cc8ac2aa65255c80cc6fee4ea353c914729b09be5e67012add794edbc92015e23d0e96da904dc2c3e14 WHIRLPOOL 52ee94685f8de081bbfe7e7ec73d531a0581bc05d3bdd317b61ed8e5217332668c907b2ec4999b786bb5a6f5b4161016a1b2d54e2bb299c4c36c394da27bfdee +DIST clthreads-2.4.0.tar.bz2 14796 SHA256 a69fd566af24b85a10c5ecd957a85b7f5eb1c56995d2b999219b52f353ea1de9 SHA512 c307d9611e0530469b36367f05721e6676d7bb186be97d38b851e66d9f670663ceceedf065823b27ac5864725d52cc2f462fd8d96f1398a202e30d82910ec58b WHIRLPOOL a2ee34fff689569b47208c30dfcb60e52da3e2c7186e4e22cccf218768cf7a2476f2ff48c610c57bb28c29fafb33f7745e8b58c379f6bc02ff75141d870ad52c +EBUILD libclthreads-1.0.2.ebuild 736 SHA256 ead407fdc8e4cadd3e1c556d6cd0b1b9f5f3c707c54e0580727048a9c79f9e95 SHA512 c0fca0647b9085a2da10da5ea1ad5ab2cf3de27f2ce61a79548e910c17a192b51bdc68aca009391776211e8ef72bd3cfd2cb09bc8ee85052222e55a9ff469758 WHIRLPOOL bc0708dc3211fb641312dbd2c13c5599ad91b7e91523628f17c905d065ae7de5db590c4a494d53d52d7e6e27690c2c2eb9992a13501baddb394e83785838be0a +EBUILD libclthreads-2.2.1.ebuild 766 SHA256 b49575c9005deabf1bfa26b6dbb27f3a2474b8fc3adce6ce253af9923547064b SHA512 de265f8b5b167cf7d20b235b12ffdcbd7cf4b9ec0f86a981dc2af91313a2b577ba4a6d02a14f1564069b9a5e2ff9a6fa6d4bf93bb8990a648287a175aaca9e73 WHIRLPOOL fe2c5daea9cf59308b5059f77666b94def7428065bfcc0925269f89d278a6118484e26abe63237168c29c564b76a29bb026a5f479c175d757c165dc42174668f +EBUILD libclthreads-2.4.0-r1.ebuild 739 SHA256 c49e9080dda0e1c621591727f1e21ff73d52f31f3dbf8470eda459a05676b4e7 SHA512 41cfe771ca41c61052cef3205a68864fd96e1ae93da38f22a30d72e0f1064fb95c55c122ebbdb88b97513b2e7feaa263dc5b01f9837c5c11e05420f43cca4714 WHIRLPOOL ebf488b348993ab497a29e88162141d0bc22365a58339aea9ae1c2cbf8bc9a364e76551d8a0d0d2cdbac9b42780a6e7f0366007b93a99abbdf848370b5d21bcd +EBUILD libclthreads-2.4.0.ebuild 777 SHA256 81212b7836b0a4b735bbdad24b7ce70c6073f0ef0aaf1cdf9d1689a59386e182 SHA512 6e8617184ef16b25d1943fa3c2b25dd9a9c8a520bc77db9651afa9fcae631908fdd7d25b4b5d20115a49e2272acec00f9c92387e9d171a489ac5cead0a01e93e WHIRLPOOL c4c56ed7a13bd130ff95457081a83a2a24b4520afc6d483df7379a1566b123450b57dec46f6c52ca9e8a5fc2747f23e804a07082c29ab05259157fc4507cee00 +MISC ChangeLog 3150 SHA256 26983702b49646f656e2961e39b28ebc25b035666afcf3cc7e7747b44206630d SHA512 7290a6b235c4255d5fbad6f5f90faffc95338946a04aca1fb26091a2b30ad344ab65743fc3557ce5635df9b8cad935447c06ec795c727c2b90457682707c7416 WHIRLPOOL 183bc4e28d94d0b8fcf754f261f99d97010dcf9bff4418e094417743f5851e7e3455d893919f52a54bab4ab50a18fe5b8799296f236df03d8f8c4d641653e704 +MISC ChangeLog-2015 2542 SHA256 e5e84f85e425a63807a36b2670ce911cb2957eb025419c1cfa739d4663047586 SHA512 7901bdb19eb2aeee0039101c92d3011dc04369606037e91bf6be6c514df33c94c266b80a0d01ce0588b85227fb31ef3d26736bd5f08ccaa1760261c4956d37b9 WHIRLPOOL 37770fdce99ebb298ee655048b9b3929637a235f034cd75f2264a43b94549fac903bd6a9822cb6719d2c940576bb367e8f451d61573e9d0117d40c0d02e71ed7 +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/media-libs/libclthreads/files/libclthreads-1.0.2-makefile.patch b/media-libs/libclthreads/files/libclthreads-1.0.2-makefile.patch new file mode 100644 index 000000000000..f4604f34b300 --- /dev/null +++ b/media-libs/libclthreads/files/libclthreads-1.0.2-makefile.patch @@ -0,0 +1,23 @@ +Index: clthreads-1.0.2/Makefile +=================================================================== +--- clthreads-1.0.2.orig/Makefile ++++ clthreads-1.0.2/Makefile +@@ -16,14 +16,13 @@ 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) +- cp -f $(CLTHREADS_H) $(CLTHREADS_INCDIR) +- cp -f $(CLTHREADS_MIN) $(CLTHREADS_LIBDIR) +- /sbin/ldconfig -n $(CLTHREADS_LIBDIR) +- ln -sf $(CLTHREADS_MIN) $(CLTHREADS_LIBDIR)/$(CLTHREADS_SO) ++ install -D $(CLTHREADS_H) $(DESTDIR)$(CLTHREADS_INCDIR)/$(CLTHREADS_H) ++ install -D $(CLTHREADS_MIN) $(DESTDIR)$(CLTHREADS_LIBDIR)/$(CLTHREADS_MIN) ++ ln -sf $(CLTHREADS_MIN) $(DESTDIR)$(CLTHREADS_LIBDIR)/$(CLTHREADS_SO) + + + clean: diff --git a/media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch b/media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch new file mode 100644 index 000000000000..6303edaeab9a --- /dev/null +++ b/media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch @@ -0,0 +1,39 @@ +--- 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.* diff --git a/media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch b/media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch new file mode 100644 index 000000000000..c20ba176d765 --- /dev/null +++ b/media-libs/libclthreads/files/libclthreads-2.4.0-Makefile.patch @@ -0,0 +1,42 @@ +Index: Makefile +=================================================================== +--- Makefile.orig ++++ Makefile +@@ -28,7 +28,7 @@ VERSION = $(MAJVERS).$(MINVERS) + 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 @@ LDLIBS += + 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.* diff --git a/media-libs/libclthreads/libclthreads-1.0.2.ebuild b/media-libs/libclthreads/libclthreads-1.0.2.ebuild new file mode 100644 index 000000000000..00ca14fdd3a5 --- /dev/null +++ b/media-libs/libclthreads/libclthreads-1.0.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit eutils multilib toolchain-funcs + +MY_P=clthreads-${PV} + +DESCRIPTION="An audio library by Fons Adriaensen " +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + 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 "emake install failed" +} diff --git a/media-libs/libclthreads/libclthreads-2.2.1.ebuild b/media-libs/libclthreads/libclthreads-2.2.1.ebuild new file mode 100644 index 000000000000..87d98ffe1714 --- /dev/null +++ b/media-libs/libclthreads/libclthreads-2.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib toolchain-funcs + +MY_P="${P/lib/}" + +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="An audio library by Fons Adriaensen " +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/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 +} diff --git a/media-libs/libclthreads/libclthreads-2.4.0-r1.ebuild b/media-libs/libclthreads/libclthreads-2.4.0-r1.ebuild new file mode 100644 index 000000000000..68b3a2233e65 --- /dev/null +++ b/media-libs/libclthreads/libclthreads-2.4.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +MY_P="${P/lib/}" + +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="An audio library by Fons Adriaensen " +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.4.0-Makefile.patch" +} + +src_compile() { + tc-export CC CXX + emake +} + +src_install() { + emake CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${ED}" install || die "make install failed" + dodoc AUTHORS +} diff --git a/media-libs/libclthreads/libclthreads-2.4.0.ebuild b/media-libs/libclthreads/libclthreads-2.4.0.ebuild new file mode 100644 index 000000000000..f1d4908b8474 --- /dev/null +++ b/media-libs/libclthreads/libclthreads-2.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib toolchain-funcs + +MY_P="${P/lib/}" + +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="An audio library by Fons Adriaensen " +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/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}/${PN}-2.2.1-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 +} diff --git a/media-libs/libclthreads/metadata.xml b/media-libs/libclthreads/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/media-libs/libclthreads/metadata.xml @@ -0,0 +1,8 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + -- cgit v1.2.3