[proaudio] [2221] media-sound/drc update |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2221
Author: gavlee
Date: 2012-08-30 00:47:36 +0200 (Thu, 30 Aug 2012)
Log Message:
-----------
media-sound/drc update
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/drc/ChangeLog
trunk/overlays/proaudio/media-sound/drc/Manifest
trunk/overlays/proaudio/media-sound/drc/metadata.xml
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/drc/drc-3.2.0.ebuild
trunk/overlays/proaudio/media-sound/drc/files/drc-3.2.0-makefile.patch
Removed Paths:
-------------
trunk/overlays/proaudio/media-sound/drc/drc-3.1.1.ebuild
trunk/overlays/proaudio/media-sound/drc/fix
Modified: trunk/overlays/proaudio/media-sound/drc/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/ChangeLog 2012-08-29 14:17:45 UTC (rev 2220)
+++ trunk/overlays/proaudio/media-sound/drc/ChangeLog 2012-08-29 22:47:36 UTC (rev 2221)
@@ -1,7 +1,15 @@
# ChangeLog for media-sound/drc
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*drc-3.2.0 (29 Aug 2012)
+
+ 29 Aug 2012; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>
+ -drc-3.1.1.ebuild, +drc-3.2.0.ebuild, +files/drc-3.2.0-makefile.patch, -fix,
+ metadata.xml:
+ bump. patch makefile for toolchain flags and unbundling lib, depend on
+ sci-libs/gsl. remove old.
+
14 Sep 2011; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
Removed 2.5.2 ebuild (doesn't compile anymore)
Added 3.1.1 ebuild
Modified: trunk/overlays/proaudio/media-sound/drc/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/Manifest 2012-08-29 14:17:45 UTC (rev 2220)
+++ trunk/overlays/proaudio/media-sound/drc/Manifest 2012-08-29 22:47:36 UTC (rev 2221)
@@ -1,5 +1,5 @@
-DIST drc-3.1.1.tar.gz 13989770 RMD160 a50db48cf25e6f586512a8078087d213a1957a5e SHA1 1586139c8b9c1aefaee4b6949586e066642af95a SHA256 232b07296f875057592a3558c35a8402cf2ca9394ab6204c8e6c31aa8acd44b4
-EBUILD drc-3.1.1.ebuild 2230 RMD160 e128ca7e9dbd904aad3604c76a7d5ad77f388956 SHA1 9efc03d8dbca87431a604585267752ea9afbda8f SHA256 67369ce62a77ea36c4336adf057abd9a15dd6fd7067fd693649262bd80c8f064
-MISC ChangeLog 452 RMD160 51bcdbeed3700dd05c72dea5d0895ee08ab932e4 SHA1 21f5b810e0c858ac1e9194498279f2ba002a3158 SHA256 9f4151e4e019fc1ad24c7d1962ddf3467a6980f437ec2aa2ffdcbfe615ec37a4
-MISC fix 217 RMD160 0f75a9710326a31ec9217f865c4026965c0858d6 SHA1 8bea8aeb344a6f162c3f3b4276fc4dd7bc061ded SHA256 fe18469d863b9fbd4ed8f8993d66c0b89231da0ba56d9c4dc7a3534cc49a23be
-MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
+AUX drc-3.2.0-makefile.patch 2466 SHA256 f9fcc8907964eec5432418a9e673a3a35059e9c8a269da48f3c93ba1861bff8a SHA512 800ab06f8a02590f820ee346313af4299580c6df01243bca042ee973ed4986d3dd7f4573a61667c6c79acd5a1079aeca70a30cd8586a92cad9c9c6c1db8b778c WHIRLPOOL c1ee4810bd90e33b8884d134121df4f9efabf74f9f687ded921c70bbf0844405f04c839e713b3330ee79ae8ea2acd26db8813006f119cb57999692fe4a3fd3f0
+DIST drc-3.2.0.tar.gz 12005974 SHA256 cbd0b0d78cfa3ae95ea494f57183b3b5679a106ea8a1b71e4d7da3fc84186bee SHA512 c6f3bc63cb063475519a4010817edad95044bf2f525ac2d7517349df81062a7136f20a2de9cfca3ef964dc6884cc923d5d55f82ae0e40e7c1fe840b8ab4031b5 WHIRLPOOL 078e22c86a3029c2535e202997fd2862d1b6b313e85b4bca30e611a747ff18d0d0b81249235ec00dcb6b6825f12c712a9824c56bbad5cee7a9425a89d1bab363
+EBUILD drc-3.2.0.ebuild 1222 SHA256 2bffd72e5a3a31d53ad717807a11c0a4672dfaf1c364f6ef7c4da0f265294226 SHA512 154e5c7713e283a66e9a73898144a575acd09ed10434955e81e7727e325fcbc001b2df87f5137b63283cca5f3059fb99b8ee5daff559296be6689bed022727ce WHIRLPOOL 1268adab4198e92d54f34c57c5ecaf2fb24b2bf539c8a1d55bf8f2d0cf44d75ec5a6a71f6e717743777cbf730c7702abfa46668a3f7c48ec329e252668fdcf71
+MISC ChangeLog 740 SHA256 8b7dad6698f2d42f3f377db29bea9c5401938ce4017fb6ab810485602f3c2085 SHA512 928210ab211b166015a119819b8b81ef75eaa60851e93b4367e56cc618faa1cce323a136ecd9123898f2a83811352dac290eba8144c03e6f1db42a330f0ce9ff WHIRLPOOL 8ace643707d7e9965c2208e69df8f75100e30242397e451cea2980cea673f17d23a9f91ce2db4ac56270dbd1d59722b67a169f37e7fa395c843490449eee491d
+MISC metadata.xml 350 SHA256 64369a9d95c601ea7b6f7708acdf2afecaa15e80828e926bb7ecef426117d22a SHA512 014badcaa514136f338586873f96be7f116a6da8d6a30a97ad82ff66347f1988ac00a69c7a553020c6fa285e86f4de978bd51a891cf92e503423fce28e488230 WHIRLPOOL 898811d83e3db3d3b8b52e1a1f6252aabcbf647db38ee7af0f8c80c546d402cc68211efeb1e5f1ebd1fbeeb33b7ebb9913eb5c1f87e45ed7519c7fb2aa9b9927
Deleted: trunk/overlays/proaudio/media-sound/drc/drc-3.1.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/drc-3.1.1.ebuild 2012-08-29 14:17:45 UTC (rev 2220)
+++ trunk/overlays/proaudio/media-sound/drc/drc-3.1.1.ebuild 2012-08-29 22:47:36 UTC (rev 2221)
@@ -1,87 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-IUSE="doc double-precision" # oourafft"
-
-RESTRICT="mirror"
-
-DESCRIPTION="DRC generates digital room correction FIR filters to be used within HiFi systems in conjunction with real time 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="~x86 ~amd64"
-
-DEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # remove specific CFLAGS
- sed -i -e "s:^\(CFLAGS.*\):CFLAGS += -I. -I./getopt:" ${S}/source/makefile\
- || die "cflags removal failed"
- if use double-precision ; then
- sed -i -e 's:^\(CFLAGS.*\):\1 -DUseDouble:' ${S}/source/makefile\
- || die "douvle precision setting failed"
- fi
- # fail to compile here
-# if use oourafft ; then
-# sed -i -e 's:define UseGSLFft:define UseOouraFft:' ${S}/source/drc.h\
-# || die "Enabling OouraFft failed"
-# fi
-}
-
-src_compile() {
- cd source
- emake || die "compilation failed"
-}
-
-src_install() {
- cd ${S}/source
- dobin drc glsweep lsconv
-
- cd ${S}
- dodoc readme.txt doc/text/drc.txt
- use doc && dohtml -r doc/html/./
-
- cd ${S}/sample
- insinto /usr/share/${PN}/sample
- doins *.txt *.drc *.pcm
-
- cd ${S}/source/config/"44.1 KHz"
- insinto /usr/share/${PN}/config/44.1kHz
- doins *
- cd ${S}/source/config/"48.0 KHz"
- insinto /usr/share/${PN}/config/48.0kHz
- doins *
- cd ${S}/source/config/"88.2 KHz"
- insinto /usr/share/${PN}/config/88.2kHz
- doins *
- cd ${S}/source/config/"96.0 KHz"
- insinto /usr/share/${PN}/config/96.0kHz
- doins *
-
- cd ${S}/source/contrib
- insinto /usr/share/${PN}/contrib
- doins *
- cd ${S}/source/contrib/Measure
- insinto /usr/share/${PN}/contrib/Measure
- doins *
- cd ${S}/source/contrib/MeasureJack
- insinto /usr/share/${PN}/contrib/MeasureJack
- doins *
- cd ${S}/source/contrib/"NSIS Installer Script"
- insinto /usr/share/${PN}/contrib/NSISInstallerScript
- doins *
-}
-
-pkg_postinst() {
- einfo "Example sample, config and contrib files are in /usr/share/${PN}/*"
- einfo "Documentation is in /usr/share/doc/${P}/readme.txt.gz or"
- einfo "/usr/share/doc/${P}/html/drc.html"
- einfo "To use this package emerge media-sound/brutefir"
-}
Added: trunk/overlays/proaudio/media-sound/drc/drc-3.2.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/drc-3.2.0.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/drc/drc-3.2.0.ebuild 2012-08-29 22:47:36 UTC (rev 2221)
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 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}"
+
+S=${WORKDIR}/${P}/source
+
+DOCS=(readme.txt)
+HTMLDOCS=(doc/*)
+
+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.0-makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/files/drc-3.2.0-makefile.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/drc/files/drc-3.2.0-makefile.patch 2012-08-29 22:47:36 UTC (rev 2221)
@@ -0,0 +1,66 @@
+--- source/makefile.orig 2012-08-25 17:51:53.494609462 +0100
++++ source/makefile 2012-08-29 23:31:39.080093957 +0100
+@@ -4,10 +4,10 @@
+ VERSION=3.1.0
+
+ # Where to install
+-INSTALL_PREFIX=$(DESTDIR)/usr/local
++INSTALL_PREFIX?=$(DESTDIR)/usr/local
+
+ # Compiler
+-CC=gcc
++CC?=gcc
+
+ # Standard optimization settings
+ # Tested also on Mac OS X
+@@ -21,7 +21,6 @@
+
+ # Pentium 3 or greater optimizaztions settings with SSE support
+ # Be careful: -mfpmath=sse sometimes causes accuracy problems
+-CFLAGS=-march=pentium3 -O -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 +34,6 @@
+
+ # GLSweep optimization settings
+ # GLSweep doesn't need SSE based optimization settings
+-GLSCFLAGS=-O -I.
+
+ # Debug settings
+
+@@ -46,7 +44,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.c parsecfg.c fftsg.c gsl/gsl_fft.c gsl/error.c gsl/stream.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.c parsecfg.c fftsg.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.c parsecfg.c fftsg.c getopt/getopt.c getopt/getopt1.c gsl/gsl_fft.c gsl/error.c gsl/stream.c
+@@ -65,7 +63,7 @@
+ TARGET_TARGETS=target/*
+ MIC_TARGETS=mic/*
+ IMPULSE_TARGETS=../sample/rs.pcm
+-DOC_TARGETS=readme.txt ../doc/text/drc.txt
++DOC_TARGETS=readme.txt
+ BIN_TARGETS=drc lsconv glsweep
+
+ # Targets
+@@ -73,13 +71,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)
Deleted: trunk/overlays/proaudio/media-sound/drc/fix
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/fix 2012-08-29 14:17:45 UTC (rev 2220)
+++ trunk/overlays/proaudio/media-sound/drc/fix 2012-08-29 22:47:36 UTC (rev 2221)
@@ -1,5 +0,0 @@
-Please fix the following and reopen:
-
-* http://dev.gentoo.org/~ciaranm/docs/mw-faq/spacing.txt (inherit line)
-* No need to DEPEND upon virtual/libc
-* You should use sed to modify the Makefile, and do it in src_unpack
Modified: trunk/overlays/proaudio/media-sound/drc/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/drc/metadata.xml 2012-08-29 14:17:45 UTC (rev 2220)
+++ trunk/overlays/proaudio/media-sound/drc/metadata.xml 2012-08-29 22:47:36 UTC (rev 2221)
@@ -1,9 +1,11 @@
<?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>
+ <use>
+ <flag name="double-precision">more precise calculations at the expense of speed</flag>
+ </use>
</pkgmetadata>