diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libclalsadrv | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libclalsadrv')
-rw-r--r-- | media-libs/libclalsadrv/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libclalsadrv/files/libclalsadrv-1.2.2-makefile.patch | 30 | ||||
-rw-r--r-- | media-libs/libclalsadrv/files/libclalsadrv-2.0.0-makefile.patch | 28 | ||||
-rw-r--r-- | media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild | 36 | ||||
-rw-r--r-- | media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild | 36 | ||||
-rw-r--r-- | media-libs/libclalsadrv/metadata.xml | 5 |
6 files changed, 137 insertions, 0 deletions
diff --git a/media-libs/libclalsadrv/Manifest b/media-libs/libclalsadrv/Manifest new file mode 100644 index 00000000000..905e1382618 --- /dev/null +++ b/media-libs/libclalsadrv/Manifest @@ -0,0 +1,2 @@ +DIST clalsadrv-1.2.2.tar.bz2 12593 SHA256 0fed89dd092936b5ffa74ad7df77a72b8cbeec8cea226ff48e107e326bd36f50 +DIST clalsadrv-2.0.0.tar.bz2 14373 SHA256 7886b60ea79ad16f2353bb5165404ffac8287ec56704f2d07cc5804447674a2f 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 00000000000..dd7845f6c52 --- /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 00000000000..a90d64b6953 --- /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 00000000000..2a187536cb9 --- /dev/null +++ b/media-libs/libclalsadrv/libclalsadrv-1.2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 00000000000..8b247f5363e --- /dev/null +++ b/media-libs/libclalsadrv/libclalsadrv-2.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 00000000000..e1774e3d9ad --- /dev/null +++ b/media-libs/libclalsadrv/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> |