[proaudio] [1786] media-sound/zita-resampler import |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1786
Author: gavlee
Date: 2010-10-28 00:38:07 +0200 (Thu, 28 Oct 2010)
Log Message:
-----------
media-sound/zita-resampler import
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/zita-resampler/
trunk/overlays/proaudio/media-sound/zita-resampler/ChangeLog
trunk/overlays/proaudio/media-sound/zita-resampler/Manifest
trunk/overlays/proaudio/media-sound/zita-resampler/files/
trunk/overlays/proaudio/media-sound/zita-resampler/files/zita-resampler-0.1.1-makefile.patch
trunk/overlays/proaudio/media-sound/zita-resampler/metadata.xml
trunk/overlays/proaudio/media-sound/zita-resampler/zita-resampler-0.1.1.ebuild
Added: trunk/overlays/proaudio/media-sound/zita-resampler/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-resampler/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-resampler/ChangeLog 2010-10-27 22:38:07 UTC (rev 1786)
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/zita-resampler
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*zita-resampler-0.1.1 (27 Oct 2010)
+
+ 27 Oct 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+ +zita-resampler-0.1.1.ebuild, +files/zita-resampler-0.1.1-makefile.patch,
+ +metadata.xml:
+ Initial import.
+
Added: trunk/overlays/proaudio/media-sound/zita-resampler/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-resampler/Manifest (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-resampler/Manifest 2010-10-27 22:38:07 UTC (rev 1786)
@@ -0,0 +1,5 @@
+AUX zita-resampler-0.1.1-makefile.patch 1086 RMD160 f68604ab020949f831f5290ac7a7c74177f26cb5 SHA1 b4f6a9d30236143d22763f1cf12eeec232b2e436 SHA256 a483ded2c748130773c67168778119dbddca5fe6a75e30358b8dade8122af76b
+DIST zita-resampler-0.1.1.tar.bz2 34734 RMD160 3d42d2aebf47589d7e81de47f5b2ef1a9692b1be SHA1 8399756db6b90be8a89552f16b1dab3dd70dd511 SHA256 b86f8b4b2d69a63bcf343a3beb142e1bee26e200da5cb0167828701d682de848
+EBUILD zita-resampler-0.1.1.ebuild 759 RMD160 a4a055d8bb9a25d942a8128fec982b548203e282 SHA1 521aec9dfa42754c6ca2cca27908d874cb6ff912 SHA256 d38f149b4789af29a5fb97074ab8db8f290559bb8a2ede96f2ec448f6fa04927
+MISC ChangeLog 332 RMD160 bf96f861967a9a1952dd15b34ffb7459fcfe6c92 SHA1 1de33706ea4ec1ca047e7d132fd994fedf928de3 SHA256 fa32709c73c90e7aaf9c9d4c3c32d8aed77fca92a8045d2d8e0902efda0acc57
+MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Added: trunk/overlays/proaudio/media-sound/zita-resampler/files/zita-resampler-0.1.1-makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-resampler/files/zita-resampler-0.1.1-makefile.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-resampler/files/zita-resampler-0.1.1-makefile.patch 2010-10-27 22:38:07 UTC (rev 1786)
@@ -0,0 +1,32 @@
+--- zita-resampler-0.1.1/apps/Makefile.old 2010-10-22 11:24:04.000000000 +0100
++++ zita-resampler-0.1.1/apps/Makefile 2010-10-22 11:41:07.000000000 +0100
+@@ -18,15 +18,16 @@
+ #
+ # --------------------------------------------------------------------------
+
+-
+-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)
+ DISTDIR = resample-$(VERSION)
+ VERSION = 0.4.0
+ LDFLAGS += -L$(PREFIX)/$(LIBDIR)
+-CPPFLAGS += -O3 -ffast-math -Wall -MMD -MP -DVERSION=\"$(VERSION)\"
++#CPPFLAGS += -O3 -ffast-math -Wall -MMD -MP -DVERSION=\"$(VERSION)\"
+ #CPPFLAGS += -march=native
++CXXFLAGS += -ffast-math -Wall -MMD -MP -DVERSION=\"$(VERSION)\"
+
+
+ all: resample
+@@ -35,7 +36,7 @@
+ RESAMPLE_O = resample.o audiofile.o dither.o
+ resample: LDLIBS += -lzita-resampler -lsndfile -lpthread -lrt
+ resample: $(RESAMPLE_O)
+- g++ $(LDFLAGS) -o $@ $(RESAMPLE_O) $(LDLIBS)
++ $(CXX) $(LDFLAGS) -o $@ $(RESAMPLE_O) $(LDLIBS)
+ $(RESAMPLE_O):
+ -include $(RESAMPLE_O:%.o=%.d)
+
Added: trunk/overlays/proaudio/media-sound/zita-resampler/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-resampler/metadata.xml (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-resampler/metadata.xml 2010-10-27 22:38:07 UTC (rev 1786)
@@ -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-resampler/zita-resampler-0.1.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/zita-resampler/zita-resampler-0.1.1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/zita-resampler/zita-resampler-0.1.1.ebuild 2010-10-27 22:38:07 UTC (rev 1786)
@@ -0,0 +1,37 @@
+# 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 application for resampling of audio signals"
+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=""
+
+DEPEND=">=media-libs/libsndfile-1.0.21
+ =media-libs/zita-resampler-${PV}"
+RDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/apps"
+
+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"
+}