summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/zita-convolver/ChangeLog11
-rw-r--r--media-libs/zita-convolver/Manifest15
-rw-r--r--media-libs/zita-convolver/files/zita-convolver-2.0.0-makefile.patch32
-rw-r--r--media-libs/zita-convolver/metadata.xml5
-rw-r--r--media-libs/zita-convolver/zita-convolver-2.0.0.ebuild33
5 files changed, 96 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/Manifest b/media-libs/zita-convolver/Manifest
new file mode 100644
index 000000000000..c753d578e2e6
--- /dev/null
+++ b/media-libs/zita-convolver/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX zita-convolver-2.0.0-makefile.patch 1247 RMD160 88e3e6627e61020e0881f83001e7820c2f8987ae SHA1 055b5ca621041b60511cf4f1a38636b103d7ef0c SHA256 a59540d6703ddf2dfc1aeef06d77513a989875f2b7b01b53b82198133885ac15
+DIST zita-convolver-2.0.0.tar.bz2 12858 RMD160 93c93d45b473156d8a1cc9f1c270ee5ac7402ef9 SHA1 0b6c6bee9bfc4c69ce572a01b84163fa4ac5d318 SHA256 a2c9b3a19f24522819ab2ff852915da27cef93b5e32b1a339ece5627ac3c63e4
+EBUILD zita-convolver-2.0.0.ebuild 830 RMD160 aaa015fc2fd8ad8e58b49b847db685089cfc8a99 SHA1 cd0496205fe8c032725730c61684f6f773dfdaf5 SHA256 1da0505baad6daace7e54ef79813aac1b46075218919ce9079e0863384a92ba6
+MISC ChangeLog 439 RMD160 1ef6be3a77e3c025bcfda06f649df1be2f777feb SHA1 e0faed3b7f2b4d98648cdbce38fb46d6944406d0 SHA256 d9f4d23b31c5d360c75dd91c50c8be2e0fa8d17467d6b1f1bf73fa30f5b0fc10
+MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk09aCQACgkQvFcC4BYPU0o0kQCgsAzvVlBYb90SY+a8H28GgFiy
+Z68Ani5ql3etUzb+4gYbmEo+peQX6Smx
+=4x9g
+-----END PGP SIGNATURE-----
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
+}