[proaudio] [1787] media-sound/zita-at1 import |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1787
Author: gavlee
Date: 2010-10-28 00:38:09 +0200 (Thu, 28 Oct 2010)
Log Message:
-----------
media-sound/zita-at1 import
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/zita-at1/
trunk/overlays/proaudio/media-sound/zita-at1/ChangeLog
trunk/overlays/proaudio/media-sound/zita-at1/Manifest
trunk/overlays/proaudio/media-sound/zita-at1/files/
trunk/overlays/proaudio/media-sound/zita-at1/files/zita-at1-0.1.1-makefile.patch
trunk/overlays/proaudio/media-sound/zita-at1/metadata.xml
trunk/overlays/proaudio/media-sound/zita-at1/zita-at1-0.1.1.ebuild
Added: trunk/overlays/proaudio/media-sound/zita-at1/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-at1/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-at1/ChangeLog 2010-10-27 22:38:09 UTC (rev 1787)
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/zita-at1
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*zita-at1-0.1.1 (27 Oct 2010)
+
+ 27 Oct 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+ +zita-at1-0.1.1.ebuild, +files/zita-at1-0.1.1-makefile.patch,
+ +metadata.xml:
+ Initial import.
+
Added: trunk/overlays/proaudio/media-sound/zita-at1/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-at1/Manifest (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-at1/Manifest 2010-10-27 22:38:09 UTC (rev 1787)
@@ -0,0 +1,5 @@
+AUX zita-at1-0.1.1-makefile.patch 1355 RMD160 064e9ae885d477ebea73509696acd7972c2d09c2 SHA1 a2eb1583095bca224cdd245f482dac4f120b266c SHA256 2f36ce2429563f449f7f2d81faf71a86707d5f9630709f7360de689f186b2b2d
+DIST zita-at1-0.1.1.tar.bz2 51261 RMD160 560552d3c513a6ccba77447cfdd252419c1e9f5b SHA1 5b11a0b7eb66c41a37fa7d10d799e066bd7f4ce0 SHA256 a8a14aa59a86a68d88484dcfee737d6e86fdfc29bff79a630287051712bd0b7b
+EBUILD zita-at1-0.1.1.ebuild 1004 RMD160 dfdbe918eb17f75c224b62fd5a2ad5cc9b82a90b SHA1 b1329de37687b37aec3115ba7cef86e7bf7ab1d8 SHA256 256e43405e51b399d547ebdefcb2efac1b2516b70ab4d224c62d2de4c31162f1
+MISC ChangeLog 308 RMD160 03335971c39a8377230e282c3bc4b900c9ed1532 SHA1 5ede35a45e811aa96521e3c8677abe41fedee5c9 SHA256 e9c7208886091bef62d22273f0b051c6424a2a52e1b419f222c596eb45c41390
+MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Added: trunk/overlays/proaudio/media-sound/zita-at1/files/zita-at1-0.1.1-makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-at1/files/zita-at1-0.1.1-makefile.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-at1/files/zita-at1-0.1.1-makefile.patch 2010-10-27 22:38:09 UTC (rev 1787)
@@ -0,0 +1,39 @@
+--- zita-at1-0.1.1/source/Makefile.old 2010-10-22 13:17:37.000000000 +0100
++++ zita-at1-0.1.1/source/Makefile 2010-10-22 13:47:21.000000000 +0100
+@@ -18,14 +18,15 @@
+ #
+ # --------------------------------------------------------------------------
+
+-
+-PREFIX = /usr/local
++CXX ?= g++
++PREFIX ?= /usr/local
+ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+-LIBDIR = lib$(SUFFIX)
++LIBDIR ?= lib$(SUFFIX)
+ SHARED = $(PREFIX)/share/zita-at1
+ VERSION = 0.1.1
+-CPPFLAGS += -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
+-CPPFLAGS += -march=native
++#CPPFLAGS += -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
++#CPPFLAGS += -march=native
++CXXFLAGS += -ffast-math -Wall -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
+
+
+ all: zita-at1
+@@ -36,13 +37,14 @@
+ zita-at1: LDLIBS += -lcairo -lclxclient -lclthreads -lzita-resampler -lfftw3f -ljack -lpng -lXft -lX11 -lrt
+ zita-at1: LDFLAGS += -L/usr/X11R6/lib
+ zita-at1: $(ZITA-AT1_O)
+- g++ $(LDFLAGS) -o $@ $(ZITA-AT1_O) $(LDLIBS)
++ $(CXX) $(LDFLAGS) -o $@ $(ZITA-AT1_O) $(LDLIBS)
+ $(ZITA-AT1_O):
+ -include $(ZITA-AT1_O:%.o=%.d)
+
+
+
+ install: all
++ install -d $(DESTDIR)$(PREFIX)/bin
+ install -m 755 zita-at1 $(DESTDIR)$(PREFIX)/bin
+ install -d $(DESTDIR)$(SHARED)
+ rm -rf $(DESTDIR)$(SHARED)/*
Added: trunk/overlays/proaudio/media-sound/zita-at1/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-at1/metadata.xml (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-at1/metadata.xml 2010-10-27 22:38:09 UTC (rev 1787)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>proaudio@xxxxxxxxxxxxx</email>
+ <name>pro-audio overlay team</name>
+ </maintainer>
+</pkgmetadata>
Added: trunk/overlays/proaudio/media-sound/zita-at1/zita-at1-0.1.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-at1/zita-at1-0.1.1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-at1/zita-at1-0.1.1.ebuild 2010-10-27 22:38:09 UTC (rev 1787)
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="An autotuner, normally used to correct the pitch of a voice singing (slightly) out of tune"
+HOMEPAGE="http://www.kokkinizita.net/linuxaudio/"
+SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${P}.tar.bz2"
+
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=media-libs/libclthreads-2.4.0
+ >=media-libs/libclxclient-3.6.1
+ >=media-libs/zita-resampler-0.1.1
+ media-sound/jack-audio-connection-kit
+ >=sci-libs/fftw-3.2.2:3.0"
+RDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/source"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+ tc-export CXX
+ emake PREFIX=/usr || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" PREFIX=/usr install || die "make install failed"
+
+ dodoc ../AUTHORS
+
+ if use doc ; then
+ cd ../doc || die "cd ../doc failed"
+ dohtml -r *
+ fi
+}