[proaudio] [2232] media-libs/zita-resampler-1.2.0

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 2232
Author:   gavlee
Date:     2012-09-26 16:57:02 +0200 (Wed, 26 Sep 2012)
Log Message:
-----------
media-libs/zita-resampler-1.2.0

Modified Paths:
--------------
    trunk/overlays/proaudio/media-libs/zita-resampler/ChangeLog
    trunk/overlays/proaudio/media-libs/zita-resampler/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-libs/zita-resampler/files/zita-resampler-1.2.0-Makefile.patch
    trunk/overlays/proaudio/media-libs/zita-resampler/zita-resampler-1.2.0.ebuild

Modified: trunk/overlays/proaudio/media-libs/zita-resampler/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/zita-resampler/ChangeLog	2012-09-26 14:00:06 UTC (rev 2231)
+++ trunk/overlays/proaudio/media-libs/zita-resampler/ChangeLog	2012-09-26 14:57:02 UTC (rev 2232)
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*zita-resampler-1.2.0 (26 Sep 2012)
+
+  26 Sep 2012; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>
+  +zita-resampler-1.2.0.ebuild, +files/zita-resampler-1.2.0-Makefile.patch:
+  bump
+
 *zita-resampler-1.1.0-r2 (24 Aug 2012)
 
   24 Aug 2012; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>

Modified: trunk/overlays/proaudio/media-libs/zita-resampler/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/zita-resampler/Manifest	2012-09-26 14:00:06 UTC (rev 2231)
+++ trunk/overlays/proaudio/media-libs/zita-resampler/Manifest	2012-09-26 14:57:02 UTC (rev 2232)
@@ -2,10 +2,13 @@
 AUX zita-resampler-0.1.1-makefile.patch 1833 SHA256 000f9dc3ee74dd9b19827287970cf1f1705f91d8315b8f5b2784acdb39107e38 SHA512 0d3735b92aa310db1d62a1e0dfbd1b75752a5c5e968cbc93a78c165776b07b577ae496d81fffa8e7576c643055d459277348834860f30c99a90f0dc72df7fbe2 WHIRLPOOL 1eeb4a1900775cbc2c617745961fb96e470ad1a4dcdfe485676fb73820cabd07e2fc9eb625f7eeaf3bcd3cf6b57e606470db6fc0455bf6a8628ecc4fe00f80c2
 AUX zita-resampler-1.1.0-Makefile-v2.patch 2633 SHA256 31c28eb9b6c921da930b975fb639af45b86f4eab50f8f4ce4274276df01de0ca SHA512 0c8db40e7ae3b0f62e4e8a55093522adbcf7ed63fe4d4adc77ef4a90e4d5840450b0e292b973da9b741bd136768f94bea07144b89ed0f48490cc7b79ffbbcf01 WHIRLPOOL 59deef7329565db23f0299e7fd084e73992a875fbb7bbc341123ff2ce48a12d4bcf063e68cc4cb2e628455e30596eaf96f33ea2fea28084dd85f5155e4cb143b
 AUX zita-resampler-1.1.0-Makefile.patch 1676 SHA256 be84e2965c86b54a0cee5807a396b437310c8ae15424c82db4e0df438de6dfcd SHA512 0821629e0363a1219c2769362c9df6a3ccac0f36486e2aec0554d6c40aecf91b1e58b37fbcb8cef68aaa92778096f22d6fd4d63993f53a6b9ad119d5592a9055 WHIRLPOOL e4be668a37065626b43d8eb5c291fd38ae8c91373c6fdd8aa4e872363e8108f57ab5cf417db46084a9b466d3e779ace8f3b89b57e8248735da9bab037ecffb8e
+AUX zita-resampler-1.2.0-Makefile.patch 2733 SHA256 a4ee2d243b0b4600d704a298798654658fb0b6abd1e4eeb6b26aeb4a196c54f8 SHA512 af0ff100871210383e14d2def489d59d7356785c4990402471baf3bf25e73df2fb35deff7d8ae5e7d4865717bf12c9296ae5f94f736ec51d2c509b81e981ce5c WHIRLPOOL 9677e0f7c7a0266a0a199706d50312e7135e5cca97a2e049f733ce48ed1696377c539d77140c90b439d0caa02e1c165e2962170ae13f03763fad09272a009479
 DIST zita-resampler-0.1.1.tar.bz2 34734 SHA256 b86f8b4b2d69a63bcf343a3beb142e1bee26e200da5cb0167828701d682de848 SHA512 d59bfb5bc31e37ef2b5589fc5c879e3cdb951d1afe5082cbae1459f18b96d3537debcb102a65eff18b46d60b34becfedee7303097ff9ab06f70b877a2cecfaa1 WHIRLPOOL f8e39ae94fe8f385c0433b6913e00cee4b8efc350cac68e098b34f9b8daf60dbf064e0c20f9d5fc1746309f61d14d2e221c23f2904df9d53a9104cba1e799bf7
 DIST zita-resampler-1.1.0.tar.bz2 123224 SHA256 c8e1b7ce7915340cc63b8590518caa45f737fc6e43799389854bab9badcd2803 SHA512 4a31e780e61591717042e7bf2583a3252eb6686e89c8931b7786fea7903a07785eb09094f9f1524cfb539b398881f21cc50eef59bfedb1f7d9c74961f4a0e572 WHIRLPOOL 6bc3cf88eaa85a9e0ccf4ee90d5216aca1ff29f4d2b227350501f88356f1c45402969fd2b790c60644e2f4a3df75f985ee3d45fff4b72d510440d35ed9c673b4
+DIST zita-resampler-1.2.0.tar.bz2 124423 SHA256 276728ccc837f145a428ecb48dd9b9c8c7249929eb6dfd6239d827caae8023e1 SHA512 bdfefb66b6ed5fe7ac26246f52b5f5d714381122012cde4c5c2e2fd7e0959a5e6d8d450eeca3f67f704731e40c3b6d0d70a372d81faba2103b7233b1eb5d359e WHIRLPOOL 257f6d4995c023b8115d6c81420aa9fc3bd40fd2f4b2c516546dac874eda9a18c048befcf08685d1e369216de061bd10c3c6690801d75cd690ec5bd5c1620d80
 EBUILD zita-resampler-0.1.1-r2.ebuild 1284 SHA256 7a53994386a397220ad76fccba12f55175ab2b5ade0d228177c4552d2f884877 SHA512 4feeb20bd5a218b46741d883bd6008eac5cdf00f49d69c8c42e0ff766259a18e3d7af4801e9ea9cf9a2cd15f256891a365692adf4374a5e81cbec1dbc975525e WHIRLPOOL 2e7e61f376984d3ec274814375def99059b44c60966a8b549f750c6d5ad278829b21fe5e82dcf609ea1860310d2c2a76e0841f325b8d4c7c8d30354412db6787
 EBUILD zita-resampler-1.1.0-r1.ebuild 1149 SHA256 2586a50da2e3af985131ecbb8497e2a1f83b463cea560ba5fd97ccdfdc1d0c18 SHA512 93430fb9ddae5dac62041a1d9d82f50f3e852ff2a521baf62351c4c3c7a910438641e56e3d2a9cc7cdc4d4e19da1109f88dce6c5952a55510a1429736959d6bc WHIRLPOOL eac286d1ce8583e1dc25345e2f59ed2e84665a58e0304ffacf541cab108519b2fc71a208f392a7e3c0e194f538e82c892bb4abeab892b5e82d63c07847c49847
 EBUILD zita-resampler-1.1.0-r2.ebuild 1205 SHA256 7745de4bcc52f8b4ad917cb491a6b0779192ce7d07bce0c639fffae3288d5907 SHA512 4a6703c4d95d4de0dec3fd60ce6df398b5cf5859d077f898bf180cd60a915818cdea272b19a8c70e3893dbc41cd7fc846f6e94b4acef49d8321382899d0b6a09 WHIRLPOOL f15c9e88a0c175731abe54cfadc1171f88bc417eae3551b93f9761fc7483998d5dd07ecd5d5e285930bc8cb9494ccd268b96efab14cca9f03a7bc005d70b5401
-MISC ChangeLog 1812 SHA256 ed0dcc7b7a1a573b19c825168bbcd84e8f54526a404ea59fdb19d8a85221f628 SHA512 dd6aca01447b36050dbfafa9feab7dacbc67b4f0e21fa18bd86263af4c12c52c881d43b240e59738a0fedc672c7675d1c4833824d749c81fdcf94b3eb1aea9ea WHIRLPOOL 9a3da80de478055e2b0bfcc361308ab04f9296b0e75af597435f44224788c7e9c6c3e229d001b554e93a995babfe19b1211df09b765f04a6164ad7606facfc1b
+EBUILD zita-resampler-1.2.0.ebuild 891 SHA256 84f19e840d731c3f4e51b6cd0088ece825673e8a3576def837be01515da3d50a SHA512 bb0aff6ead49d1c87eecaeb6fcf7bd4a7e94a0874bd4b03820cf61a4cc3f5c9d777caf26ec9aab6addf659cb397f463fb1f80465dbb5b60cddbcb9914c0121b9 WHIRLPOOL ab99d1a533013a701ed6527e11366e9e8cf47a35021c1ea76516cb0f8cb6f9c91915e474429436d797c1875f016f978a723cce9d8a5e7bacd5bc8971b7fedcb0
+MISC ChangeLog 1998 SHA256 73ff34b03182eee03d9a275a8b708c0bffa09b63c7c0b579187f180f9fc5be5e SHA512 ccee9f8d22efdc85a9cccbab8b9fcba53db042027220295a01dba3d9a2c8c527cf2d05b5bc38c622e51f0131573653006baca09ac319cdff9640ed0b797b794f WHIRLPOOL bd44a6407420fad4fed2678de69cdb06dcb068d818899e42d309232c5dd2edd1edab72f82fad67334a1905b7e9a7d166af12bdd706d69e9c084abb0c8419e632
 MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f

Added: trunk/overlays/proaudio/media-libs/zita-resampler/files/zita-resampler-1.2.0-Makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/zita-resampler/files/zita-resampler-1.2.0-Makefile.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/zita-resampler/files/zita-resampler-1.2.0-Makefile.patch	2012-09-26 14:57:02 UTC (rev 2232)
@@ -0,0 +1,86 @@
+--- libs/Makefile.orig	2012-09-26 15:09:36.730652389 +0100
++++ libs/Makefile	2012-09-26 15:35:01.381004641 +0100
+@@ -20,9 +20,10 @@
+ 
+ # Modify as required.
+ #
++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)
+ 
+ MAJVERS = 1
+ MINVERS = 1.0
+@@ -31,8 +32,7 @@
+ 
+ 
+ CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+-CXXFLAGS += -Wall -fPIC -O2 -ffast-math
+-CXXFLAGS += -march=native
++CXXFLAGS += -Wall -fPIC -ffast-math
+ LDFLAGS += 
+ LDLIBS +=
+ 
+@@ -46,7 +46,7 @@
+ 
+ 
+ $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
+-	g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
++	$(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
+ 
+ $(ZITA-RESAMPLER_O):	$(ZITA-RESAMPLER_H)
+ 
+@@ -57,7 +57,7 @@
+ 	install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(PREFIX)/include/zita-resampler
+ 	install -m 644 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)
+ 	ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-RESAMPLER_SO)
+-	ldconfig
++	/sbin/ldconfig -n $(DESTDIR)$(PREFIX)/$(LIBDIR)
+ 
+ uninstall:
+ 	/bin/rm -rf $(DESTDIR)$(PREFIX)/include/zita-resampler
+--- apps/Makefile.orig	2012-09-26 15:09:26.702966080 +0100
++++ apps/Makefile	2012-09-26 15:35:04.016922423 +0100
+@@ -17,7 +17,7 @@
+ #
+ # ----------------------------------------------------------------------------
+ 
+-
++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)
+@@ -25,26 +25,25 @@
+ VERSION = 0.4.0
+ MANDIR = /usr/share/man/man1
+ LDFLAGS += -L$(PREFIX)/$(LIBDIR)
+-CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\"
+-CXXFLAGS += -O3  -ffast-math -Wall
+-CXXFLAGS += -march=native
++CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -I../libs
++CXXFLAGS += -ffast-math -Wall
+ 
+ 
+ all:	zresample zretune zresample.1.gz zretune.1.gz
+ 
+ 
+ ZRESAMPLE_O = zresample.o audiofile.o dither.o
+-zresample:	LDLIBS += -lzita-resampler -lsndfile -lrt
++zresample:	LDLIBS += ../libs/libzita-resampler.so.1.1.0 -lsndfile -lrt
+ zresample:	$(ZRESAMPLE_O)
+-	g++ $(LDFLAGS) -o $@ $(ZRESAMPLE_O) $(LDLIBS)
++	$(CXX) $(LDFLAGS) -o $@ $(ZRESAMPLE_O) $(LDLIBS)
+ $(ZRESAMPLE_O):
+ -include $(ZRESAMPLE_O:%.o=%.d)
+ 
+ 
+ ZRETUNE_O = zretune.o audiofile.o dither.o
+-zretune:	LDLIBS += -lzita-resampler -lsndfile -lrt
++zretune:	LDLIBS += ../libs/libzita-resampler.so.1.1.0 -lsndfile -lrt
+ zretune:	$(ZRETUNE_O)
+-	g++ $(LDFLAGS) -o $@ $(ZRETUNE_O) $(LDLIBS)
++	$(CXX) $(LDFLAGS) -o $@ $(ZRETUNE_O) $(LDLIBS)
+ $(ZRETUNE_O):
+ -include $(ZRETUNE_O:%.o=%.d)
+ 

Added: trunk/overlays/proaudio/media-libs/zita-resampler/zita-resampler-1.2.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/zita-resampler/zita-resampler-1.2.0.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/zita-resampler/zita-resampler-1.2.0.ebuild	2012-09-26 14:57:02 UTC (rev 2232)
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit base toolchain-funcs multilib
+
+DESCRIPTION="C++ library for real-time resampling of audio signals"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/";
+SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsndfile"
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror"
+
+DOCS=(AUTHORS README)
+HTML_DOCS=(docs/)
+
+PATCHES=("${FILESDIR}"/${P}-Makefile.patch)
+
+src_compile() {
+	tc-export CXX
+	cd libs
+	base_src_make
+
+	cd ../apps
+	base_src_make
+}
+
+src_install() {
+	cd libs
+	base_src_make DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
+		LIBDIR=$(get_libdir) install
+
+	cd ../apps
+	base_src_make DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	cd ..
+
+	base_src_install_docs
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/