summaryrefslogtreecommitdiff
path: root/media-libs/libclalsadrv
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libclalsadrv')
-rw-r--r--media-libs/libclalsadrv/Manifest9
-rw-r--r--media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch30
-rw-r--r--media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch28
-rw-r--r--media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild35
-rw-r--r--media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild35
-rw-r--r--media-libs/libclalsadrv/metadata.xml8
6 files changed, 145 insertions, 0 deletions
diff --git a/media-libs/libclalsadrv/Manifest b/media-libs/libclalsadrv/Manifest
new file mode 100644
index 000000000000..f978407ad87d
--- /dev/null
+++ b/media-libs/libclalsadrv/Manifest
@@ -0,0 +1,9 @@
+AUX libclalsadrv-1.2.2-makefile.patch 1069 SHA256 a6bf505ab646f7a6a807d17607b3bfbe53142d7d178a8f77fd55c0d5b1a83b45 SHA512 07c812f168a4d51439b1d1c135bec7d6512b4d0fb8010272e35e184f988eed6e2abc3d6a547fe5894e0741f542c817a45660798205e3bd69baadb5e877bfa6cc WHIRLPOOL 245966655b551d93a46521b9590f5ce3b56d115918698fe68a0521d352a98b2840724aa968d695f24c5048b1e80766f2b1563e4a3d53f2378aeb49c973f75808
+AUX libclalsadrv-2.0.0-makefile.patch 980 SHA256 f64aa4ef109e25fdf0ed9b2928d992d775fd04516975c71572ce3a464fdb67a8 SHA512 1eb4f2ce611f7677a6cf547a0439a276c8788b165d2f6b0ee6aea02d72af6da9a6e94faa04791ba16a25243338d25cb23a8987813e0e6b82110c7b1e9d0d9ac5 WHIRLPOOL 78f2543ec8bb026e3fe37c539fa68953c2fea5e23ef011da025af12d858ca61757da9307397c71d016c5b0ee229957af58fd87d3dd4652226ad2b8070e2f5b4d
+DIST clalsadrv-1.2.2.tar.bz2 12593 SHA256 0fed89dd092936b5ffa74ad7df77a72b8cbeec8cea226ff48e107e326bd36f50 SHA512 a1b15551488d0bb597339804b36ed4cbb2459db24a3f71c1a068e3874eba10059668d358d8e0202b2964d3b80ed41d51f6db657614102a9a2b99597a7cd87106 WHIRLPOOL d7739cd64004ace5580ed1d219995b2040f2f51624374ddd90c5952162b05ac77b8e5a29c936fa9d86fbe59af717c82ebcff30130400a409532be39773ad2461
+DIST clalsadrv-2.0.0.tar.bz2 14373 SHA256 7886b60ea79ad16f2353bb5165404ffac8287ec56704f2d07cc5804447674a2f SHA512 6913fefa913ef50a8245541a7a1cafe76d1768bb4fa302d6ac0db86b40cc8b702ae3d257d0998809cc26f116a69db591b73f01a4ca0021bd062189438ca69ab8 WHIRLPOOL 39f1e55969197282c87a9d3928048f2e9430dda4e113c37b72f3a830c7397bd6bf3539f814b2b2871317560a171451051f9c5d2317be35a597e08dcc105bdea1
+EBUILD libclalsadrv-1.2.2.ebuild 769 SHA256 d8f1faca2bd642195308f297f6fdfe0db760cf89fc9b60599b197452ea91b463 SHA512 210bab465da8f27d69880ddd97fe1446a01d16b2ebd2cc9806294539d3abc8c8632a7440f6def964ff72fe0cac955b1b021d346b77565d804f2e480e38e20ef3 WHIRLPOOL 8c018458a8c72bee62be9f5e2b55800208e0a47471f0cda2ea8c06a6e4d877dd63b2e7defa58a655b154e4dc9ebba8a7842099e2befa42a5a398bebdfef66969
+EBUILD libclalsadrv-2.0.0.ebuild 650 SHA256 edcf9b9ae65a8d725f845230c1692389662ca8ba7723a02447be0f7891264e03 SHA512 99277fb3cca1205193a120d6960d170505cb246e81cb9a4d727c26f84b4bd7bcdf5d749a1263a452c29ee677e2a7b3b737afb1a23470b302eff8347270005b5d WHIRLPOOL 32884bcbeb7fd662d9abba31094a529ea3486dbb06e170a2046cc92b518397077ecf7a1efb57f3effad727e2928b7edd43dd790119bbeba742010ecfa538f19b
+MISC ChangeLog 2968 SHA256 6c73ac2f169d18c0f4e8cd23b88f50e832865adbe395e0b6e8ae9fcd57afea7b SHA512 c9f48da7c2882cd1acd834dfb2e9301e0acd3302de8d38287901db35d8abbc8cbfb4e854948aa58cd360ba5be9d2cf01275b11db819eb847b3bd7c44d367ec57 WHIRLPOOL 13128a690391c2bdccbed26a327b2e85e984ccceb4487ea92fd08fe141430ca1c1827321d693c67600e67b6c6dbd075758c54ca112b2efcdb1ab355a2db021b1
+MISC ChangeLog-2015 3096 SHA256 d9516dfe23ad4d39d34b4a9806249e102cd1574a572e4e853623196a899d9075 SHA512 5ddbf8bd01ee04f006a24de104d6b7ac7f95054492679b65ee69a1530ac94f7c1087fea28bea6a0e486f53e8d2d442aaea9b8b423908cbdfec5adc7cd536cb2e WHIRLPOOL 2042a7cfd90fe41d530a6ead46c2dd4b827a3b2ae2d66b6aa38ce05c22a022e2a7db0a2229eae7b6d218a28b6927a6de8834d849a30f0d9f1b7f11e14b85b34b
+MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723
diff --git a/media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch b/media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch
new file mode 100644
index 000000000000..dd7845f6c52e
--- /dev/null
+++ b/media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch
@@ -0,0 +1,30 @@
+Index: clalsadrv/Makefile
+===================================================================
+--- clalsadrv.orig/Makefile
++++ clalsadrv/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,14 +42,14 @@ 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 -d $(PREFIX)/include
+ /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)
+
+
diff --git a/media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch b/media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch
new file mode 100644
index 000000000000..a90d64b6953d
--- /dev/null
+++ b/media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch
@@ -0,0 +1,28 @@
+--- libs/Makefile
++++ libs/Makefile
+@@ -27,7 +27,7 @@
+ VERSION = $(MAJVERS).$(MINVERS)
+
+
+-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
+
+@@ -41,14 +41,14 @@
+
+
+ $(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)
+ install -Dm 644 $(CLALSADRV_H) $(DESTDIR)$(PREFIX)/include/$(CLALSADRV_H)
+ install -Dm 755 $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_MIN)
+- /sbin/ldconfig $(PREFIX)/$(LIBDIR)
+ ln -sf $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_SO)
++ ln -sf $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_MAJ)
+
+ clean:
+ /bin/rm -f *~ *.o *.a *.d *.so.*
diff --git a/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild b/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild
new file mode 100644
index 000000000000..a1bd51676397
--- /dev/null
+++ b/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib toolchain-funcs
+
+MY_P="${P/lib/}"
+
+S="${WORKDIR}/${PN/lib/}"
+
+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)" PREFIX="${D}/usr" install || die "make install failed"
+ dodoc AUTHORS
+}
diff --git a/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild b/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild
new file mode 100644
index 000000000000..54f5b2432558
--- /dev/null
+++ b/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils multilib toolchain-funcs
+
+MY_P=${P/lib}
+
+DESCRIPTION="ALSA driver C++ access library"
+HOMEPAGE="http://packages.debian.org/libclalsadrv"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="media-libs/alsa-lib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P/lib}/libs
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ tc-export CXX
+ emake
+}
+
+src_install() {
+ emake LIBDIR="$(get_libdir)" PREFIX="${D}/usr" install
+ dodoc ../AUTHORS
+}
diff --git a/media-libs/libclalsadrv/metadata.xml b/media-libs/libclalsadrv/metadata.xml
new file mode 100644
index 000000000000..c870d0eef0ab
--- /dev/null
+++ b/media-libs/libclalsadrv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+</pkgmetadata>