[proaudio] [2441] drc bump to-3.2.1, fixed html doc install

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


Revision: 2441
Author:   dominique
Date:     2013-02-06 21:41:18 +0100 (Wed, 06 Feb 2013)
Log Message:
-----------
drc bump to-3.2.1, fixed html doc install

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/drc/ChangeLog
    trunk/overlays/proaudio/media-sound/drc/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/drc/drc-3.2.1.ebuild
    trunk/overlays/proaudio/media-sound/drc/files/drc-3.2.1-makefile.patch

Modified: trunk/overlays/proaudio/media-sound/drc/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/ChangeLog	2013-02-04 02:00:54 UTC (rev 2440)
+++ trunk/overlays/proaudio/media-sound/drc/ChangeLog	2013-02-06 20:41:18 UTC (rev 2441)
@@ -1,7 +1,14 @@
 # ChangeLog for media-sound/drc
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*drc-3.2.1 (06 Feb 2013)
+
+  06 Feb 2012; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
+  +drc-3.2.1.ebuild, +files/drc-3.2.1-makefile.patch:
+  bump. patch makefile for toolchain flags and unbundling lib, depend on
+  sci-libs/gsl. remove old, fix html doc install
+
 *drc-3.2.0 (29 Aug 2012)
 
   29 Aug 2012; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>

Modified: trunk/overlays/proaudio/media-sound/drc/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/Manifest	2013-02-04 02:00:54 UTC (rev 2440)
+++ trunk/overlays/proaudio/media-sound/drc/Manifest	2013-02-06 20:41:18 UTC (rev 2441)
@@ -1,5 +1,8 @@
 AUX drc-3.2.0-makefile.patch 2466 SHA256 f9fcc8907964eec5432418a9e673a3a35059e9c8a269da48f3c93ba1861bff8a SHA512 800ab06f8a02590f820ee346313af4299580c6df01243bca042ee973ed4986d3dd7f4573a61667c6c79acd5a1079aeca70a30cd8586a92cad9c9c6c1db8b778c WHIRLPOOL c1ee4810bd90e33b8884d134121df4f9efabf74f9f687ded921c70bbf0844405f04c839e713b3330ee79ae8ea2acd26db8813006f119cb57999692fe4a3fd3f0
+AUX drc-3.2.1-makefile.patch 2419 SHA256 e66225c9ee7ff5779eb055a1f7ac916159954a48a07708ce3666ee56d838ab5e SHA512 a57b71a0a2f6eb1f6e24d2bdad8d3205d82aac54a3b29f3ebd2e1557612788c33a9abed72b4640143e893a76813098d1799fab5b0abce901f56b76a8a2148b48 WHIRLPOOL e5b22ff0f6690e40f5d680d65afcffbee35e6845d5fa4b58e6dfa18fa52edf0378a07b0fc53d8d75063fc017a195d62765ffa8de26b8f866ecec6e20a5e2ef54
 DIST drc-3.2.0.tar.gz 12005974 SHA256 cbd0b0d78cfa3ae95ea494f57183b3b5679a106ea8a1b71e4d7da3fc84186bee SHA512 c6f3bc63cb063475519a4010817edad95044bf2f525ac2d7517349df81062a7136f20a2de9cfca3ef964dc6884cc923d5d55f82ae0e40e7c1fe840b8ab4031b5 WHIRLPOOL 078e22c86a3029c2535e202997fd2862d1b6b313e85b4bca30e611a747ff18d0d0b81249235ec00dcb6b6825f12c712a9824c56bbad5cee7a9425a89d1bab363
+DIST drc-3.2.1.tar.gz 12579287 SHA256 13a0f64583beaa9f14e217f52b8f3839d10311c55da45d6171293760436a5998 SHA512 c67144563848b9e04a97b5e4027935d77604d64fbf536140369a482a2ea29834f04554b6b20a0a0f482c0ae47f4841042429a1fe74e21fc6a62bc5168ecc9c7b WHIRLPOOL 1f942c0f58e173d28a95a0d78d9a63a808910233031e50a90e4d0b2cbb03bdaa87b4f217d270fb8589484560561cef4ff472800f31d9a75850544e6589321ec6
 EBUILD drc-3.2.0.ebuild 1222 SHA256 2bffd72e5a3a31d53ad717807a11c0a4672dfaf1c364f6ef7c4da0f265294226 SHA512 154e5c7713e283a66e9a73898144a575acd09ed10434955e81e7727e325fcbc001b2df87f5137b63283cca5f3059fb99b8ee5daff559296be6689bed022727ce WHIRLPOOL 1268adab4198e92d54f34c57c5ecaf2fb24b2bf539c8a1d55bf8f2d0cf44d75ec5a6a71f6e717743777cbf730c7702abfa46668a3f7c48ec329e252668fdcf71
-MISC ChangeLog 740 SHA256 8b7dad6698f2d42f3f377db29bea9c5401938ce4017fb6ab810485602f3c2085 SHA512 928210ab211b166015a119819b8b81ef75eaa60851e93b4367e56cc618faa1cce323a136ecd9123898f2a83811352dac290eba8144c03e6f1db42a330f0ce9ff WHIRLPOOL 8ace643707d7e9965c2208e69df8f75100e30242397e451cea2980cea673f17d23a9f91ce2db4ac56270dbd1d59722b67a169f37e7fa395c843490449eee491d
+EBUILD drc-3.2.1.ebuild 1240 SHA256 9be584939416a9b4c387f010bf46d212416b0f6abd756ab90d7513bd99f16767 SHA512 37833cef911e690f39017d182e38a8691674cd0edca5b6275dec5c02d2dcc0b15abfdc30821bde4d478ebeca96fa2f628535b56b9eda585da8ab2d30aadd4368 WHIRLPOOL 80ddd450ef41487bb9d0fc67193c475744cd13fda931f6426b161bc87610447cd073b9b88b849da3ecb7726520bd78db871bc785aca1345ca877ab2c70b83651
+MISC ChangeLog 1009 SHA256 acbbad4ef3b3f7c76cb095416e13e1b8565548f2f71fcad9177a379f419d388e SHA512 828bca0b06c0a1a30e9bab4290219922573cff618fb4be3cc5c09d9564a9637a315b4476773f77f9e836ca1b55e15699b6f230aa4a9796b1f8012f930e938718 WHIRLPOOL 1b5d88631b684d7ee9bcd3e8ef38182fadd53db53fe85d9154226ed9e955a25d41ac3255bdd0e2042d1c6eb5f36dc7484e4df9653dad317dc9f5c9ef4ae8881c
 MISC metadata.xml 350 SHA256 64369a9d95c601ea7b6f7708acdf2afecaa15e80828e926bb7ecef426117d22a SHA512 014badcaa514136f338586873f96be7f116a6da8d6a30a97ad82ff66347f1988ac00a69c7a553020c6fa285e86f4de978bd51a891cf92e503423fce28e488230 WHIRLPOOL 898811d83e3db3d3b8b52e1a1f6252aabcbf647db38ee7af0f8c80c546d402cc68211efeb1e5f1ebd1fbeeb33b7ebb9913eb5c1f87e45ed7519c7fb2aa9b9927

Added: trunk/overlays/proaudio/media-sound/drc/drc-3.2.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/drc-3.2.1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/drc/drc-3.2.1.ebuild	2013-02-06 20:41:18 UTC (rev 2441)
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit base toolchain-funcs flag-o-matic
+
+DESCRIPTION="Generate digital room correction FIR filters for use in realtime
+convolution engines like BruteFIR"
+HOMEPAGE="http://drc-fir.sourceforge.net";
+SRC_URI="mirror://sourceforge/drc-fir/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="double-precision"
+
+RESTRICT="mirror"
+
+DEPEND=">=sci-libs/gsl-1.14"
+RDEPEND="${DEPEND}"
+
+DOCS=( "${S}/readme.txt" )
+HTML_DOCS=( "${S}/doc/" )
+
+S=${WORKDIR}/${P}/source
+
+PATCHES=("${FILESDIR}"/${P}-makefile.patch)
+
+src_compile() {
+	use double-precision && append-cppflags -DUseDouble
+	CC="$(tc-getCC)" base_src_make
+}
+
+src_install() {
+	# make install in makefile needs looking at
+	dobin drc glsweep lsconv
+	insinto /usr/share/drc
+	doins -r config/ target/ mic/
+	insinto /usr/share/drc/impulse
+	doins ../sample/rs.pcm
+	base_src_install_docs
+}
+
+pkg_postinst() {
+	einfo "Example sample, config and contrib files are in /usr/share/${PN}/*"
+	einfo "Documentation is in /usr/share/doc/${PF}/readme.txt* or"
+	einfo "/usr/share/doc/${PF}/html/drc.html"
+	einfo "To use this package emerge media-sound/brutefir"
+}

Added: trunk/overlays/proaudio/media-sound/drc/files/drc-3.2.1-makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/files/drc-3.2.1-makefile.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/drc/files/drc-3.2.1-makefile.patch	2013-02-06 20:41:18 UTC (rev 2441)
@@ -0,0 +1,59 @@
+--- makefile.orig	2012-05-07 15:15:49.000000000 +0200
++++ makefile	2013-02-06 21:04:05.000000000 +0100
+@@ -4,10 +4,10 @@
+ VERSION=3.2.1
+ 
+ # Where to install
+-INSTALL_PREFIX=$(DESTDIR)/usr/local
++INSTALL_PREFIX?=$(DESTDIR)/usr/local
+ 
+ # Compiler
+-CC=g++
++CC?=g++
+ 
+ # Standard optimization settings
+ # Tested also on Mac OS X
+@@ -21,7 +21,7 @@
+ 
+ # Pentium 3 or greater optimizaztions settings with SSE support
+ # Be careful: -mfpmath=sse sometimes causes accuracy problems
+-CFLAGS=-march=pentium3 -O -s -mfancy-math-387 -msse -mfpmath=sse -mtune=pentium3 -I. 
++#CFLAGS=-march=pentium3 -O -s -mfancy-math-387 -msse -mfpmath=sse -mtune=pentium3 -I. 
+ 
+ # Same as above, but tested on recent Mac OS X
+ # Be careful: -mfpmath=sse sometimes causes accuracy problems
+@@ -35,7 +35,7 @@
+ 
+ # GLSweep optimization settings
+ # GLSweep doesn't need SSE based optimization settings
+-GLSCFLAGS=-O -s -I.
++#GLSCFLAGS=-O -s -I.
+ 
+ # Debug settings
+ 
+@@ -46,7 +46,7 @@
+ # CFLAGS=-march=pentium3 -O -pg -g -mfancy-math-387 -msse -mfpmath=sse -mtune=pentium3 -I. 
+ 
+ # DRC sources
+-DRCSRC=baselib.cpp drc.cpp fft.cpp hd.cpp slprefilt.cpp bwprefilt.cpp convol.cpp dspwind.cpp spline.cpp fir.cpp level.cpp toeplitz.cpp kirkebyfd.cpp drccfg.cpp psychoacoustic.cpp cmdline.cpp cfgparse.cpp fftsg.c gsl/gsl_fft.c gsl/error.c gsl/stream.c minIni/minIni.c
++DRCSRC=baselib.cpp drc.cpp fft.cpp hd.cpp slprefilt.cpp bwprefilt.cpp convol.cpp dspwind.cpp spline.cpp fir.cpp level.cpp toeplitz.cpp kirkebyfd.cpp drccfg.cpp psychoacoustic.cpp cmdline.cpp cfgparse.cpp fftsg.c minIni/minIni.c
+ 
+ # DRC sources for systems missing getopt
+ # DRCSRC=baselib.cpp drc.cpp fft.cpp hd.cpp slprefilt.cpp bwprefilt.cpp convol.cpp dspwind.cpp spline.cpp fir.cpp level.cpp toeplitz.cpp kirkebyfd.cpp drccfg.cpp psychoacoustic.cpp cmdline.cpp cfgparse.cpp fftsg.c gsl/gsl_fft.c gsl/error.c gsl/stream.c minIni/minIni.c getopt/getopt.c getopt/getopt1.c
+@@ -73,13 +73,13 @@
+ ALL: drc glsweep lsconv
+ 
+ drc: $(DRCSRC)
+-	$(CC) $(CFLAGS) -lm -lstdc++ -o drc $(DRCSRC)
++	$(CC) $(CPPFLAGS) $(LDFLAGS) $(CFLAGS) -o drc $(DRCSRC) -lgsl -lgslcblas -lm -lstdc++
+ 
+ glsweep: $(GLSWEEPSRC)
+-	$(CC) $(GLSCFLAGS) -lm -o glsweep $(GLSWEEPSRC)
++	$(CC) $(CPPFLAGS) $(LDFLAGS) $(CFLAGS) -o glsweep $(GLSWEEPSRC) -lm
+ 	
+ lsconv: $(LSCONVSRC)
+-	$(CC) $(CFLAGS) -lm -o lsconv $(LSCONVSRC)
++	$(CC) $(CPPFLAGS) $(LDFLAGS) $(CFLAGS) -o lsconv $(LSCONVSRC) -lm
+ 	
+ clean:
+ 	rm -f $(OBJS)


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