diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-01-24 11:53:03 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-01-24 11:53:03 +0000 |
commit | 5d8f7d09c7922e605f90dc7383b3cf60a1a62c45 (patch) | |
tree | f0d0988d9c6ea5ec6d47eb765f2677870c1152ab /media-libs | |
parent | version bump (diff) | |
download | gentoo-2-5d8f7d09c7922e605f90dc7383b3cf60a1a62c45.tar.gz gentoo-2-5d8f7d09c7922e605f90dc7383b3cf60a1a62c45.tar.bz2 gentoo-2-5d8f7d09c7922e605f90dc7383b3cf60a1a62c45.zip |
initial import, ebuild by me
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/zita-convolver/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/zita-convolver/files/zita-convolver-2.0.0-makefile.patch | 32 | ||||
-rw-r--r-- | media-libs/zita-convolver/metadata.xml | 5 | ||||
-rw-r--r-- | media-libs/zita-convolver/zita-convolver-2.0.0.ebuild | 33 |
4 files changed, 81 insertions, 0 deletions
diff --git a/media-libs/zita-convolver/ChangeLog b/media-libs/zita-convolver/ChangeLog new file mode 100644 index 000000000000..b72fb817c9f5 --- /dev/null +++ b/media-libs/zita-convolver/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-libs/zita-convolver +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/zita-convolver/ChangeLog,v 1.1 2011/01/24 11:53:03 aballier Exp $ + +*zita-convolver-2.0.0 (24 Jan 2011) + + 24 Jan 2011; Alexis Ballier <aballier@gentoo.org> + +zita-convolver-2.0.0.ebuild, +files/zita-convolver-2.0.0-makefile.patch, + +metadata.xml: + initial import, ebuild by me + diff --git a/media-libs/zita-convolver/files/zita-convolver-2.0.0-makefile.patch b/media-libs/zita-convolver/files/zita-convolver-2.0.0-makefile.patch new file mode 100644 index 000000000000..cfc45f4e4261 --- /dev/null +++ b/media-libs/zita-convolver/files/zita-convolver-2.0.0-makefile.patch @@ -0,0 +1,32 @@ +Index: zita-convolver-2.0.0/libs/Makefile +=================================================================== +--- zita-convolver-2.0.0.orig/libs/Makefile ++++ zita-convolver-2.0.0/libs/Makefile +@@ -28,9 +28,7 @@ VERSION = $(MAJVERS).$(MINVERS) + DISTDIR = zita-convolver-$(VERSION) + + +-CPPFLAGS += -Wall -I. -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O3 +-CPPFLAGS += -mmmx -msse -mfpmath=sse -ffast-math -funroll-loops -fpermissive +-CPPFLAGS += -march=i686 ++CPPFLAGS += -Wall -I. -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS + #CPPFLAGS += -DVECTORIZE + + LDLFAGS += +@@ -46,7 +44,7 @@ ZITA-CONVOLVER_H = zita-convolver.h + + + $(ZITA-CONVOLVER_MIN): $(ZITA-CONVOLVER_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) + + + install: $(ZITA-CONVOLVER_MIN) +@@ -54,7 +52,6 @@ install: $(ZITA-CONVOLVER_MIN) + install -d $(PREFIX)/$(LIBDIR) + install -m 644 $(ZITA-CONVOLVER_H) $(PREFIX)/include + install -m 755 $(ZITA-CONVOLVER_MIN) $(PREFIX)/$(LIBDIR) +- ldconfig + ln -sf $(ZITA-CONVOLVER_MIN) $(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_SO) + + diff --git a/media-libs/zita-convolver/metadata.xml b/media-libs/zita-convolver/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-libs/zita-convolver/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>proaudio</herd> +</pkgmetadata> diff --git a/media-libs/zita-convolver/zita-convolver-2.0.0.ebuild b/media-libs/zita-convolver/zita-convolver-2.0.0.ebuild new file mode 100644 index 000000000000..7f177e16d19e --- /dev/null +++ b/media-libs/zita-convolver/zita-convolver-2.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/zita-convolver/zita-convolver-2.0.0.ebuild,v 1.1 2011/01/24 11:53:03 aballier Exp $ + +EAPI=3 + +inherit base toolchain-funcs multilib + +DESCRIPTION="C++ library implementing a real-time convolution matrix" +HOMEPAGE="http://kokkinizita.net/linuxaudio/downloads/index.html" +SRC_URI="http://kokkinizita.net/linuxaudio/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="sci-libs/fftw:3.0" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) + +S=${WORKDIR}/${P}/libs + +src_compile() { + tc-export CXX + emake || die +} + +src_install() { + emake PREFIX="${D}/usr" LIBDIR="$(get_libdir)" install || die + dodoc "${WORKDIR}/${P}/AUTHORS" || die +} |