# ChangeLog for media-libs/libdsp
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdsp/ChangeLog,v 1.6 2005/04/19 08:32:13 kloeri Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdsp/ChangeLog,v 1.7 2007/01/13 19:08:01 dirtyepic Exp $
+
+*libdsp-5.0.2 (13 Jan 2007)
+
+ 13 Jan 2007; Ryan Hill <dirtyepic@gentoo.org>
+ +files/libdsp-5.0.2-Makefile.patch, metadata.xml, +libdsp-5.0.2.ebuild:
+ Version bump for bug #111647.
19 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove retired developer from metadata.xml.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a01b90fed05a410b3bc6aecc2601067a ChangeLog 1510
+AUX Makefile.patch 2012 RMD160 950962b11a081bbf11358a960ffe759678b321cd SHA1 2276fa4ef7379e9113cdbef8e8875d8318ad60e8 SHA256 833e80caa7813a758ea676cb3c8346ac23dab78fbe10269cff57b99cb01b3388
MD5 0f21eaa6e644359d7a33dad21b8f330d files/Makefile.patch 2012
-MD5 7026d7f1b8c75423ecfad3ceaf859760 files/digest-libdsp-4.9.2 136
-MD5 7026d7f1b8c75423ecfad3ceaf859760 files/digest-libdsp-4.9.2-r1 136
+RMD160 950962b11a081bbf11358a960ffe759678b321cd files/Makefile.patch 2012
+SHA256 833e80caa7813a758ea676cb3c8346ac23dab78fbe10269cff57b99cb01b3388 files/Makefile.patch 2012
+AUX libdsp-5.0.2-Makefile.patch 3275 RMD160 0920b3e8a54fb762732f62d8eb84957710935244 SHA1 8538368daf6054cc0360c574d807a6493f26865e SHA256 cb405558701b4e0799374f605fd812b1348a996a3c5df5767790157bf5109aea
+MD5 14da9dbd5261937d7cfa59ca93d10678 files/libdsp-5.0.2-Makefile.patch 3275
+RMD160 0920b3e8a54fb762732f62d8eb84957710935244 files/libdsp-5.0.2-Makefile.patch 3275
+SHA256 cb405558701b4e0799374f605fd812b1348a996a3c5df5767790157bf5109aea files/libdsp-5.0.2-Makefile.patch 3275
+DIST libdsp-doc-html.tar.gz 1299174 RMD160 18b795382a25590fb1a00c18623ed299f566863d SHA1 ce4c1efeaab8ee42d1911769aca97453a5166573 SHA256 5267a7824b4a0a5dd0fa2a7753e3ed8c7f8e04583e4949c5fa567bde86b2e9ee
+DIST libdsp-src-4.9.2.tar.gz 324883 RMD160 42253122d32b994f687310a8d8692f7a2a627797 SHA1 b844df3a585551a481f7dae3d1739c4d15af90bd SHA256 04354715c3ad558a430bc50db1f1c701f51a5664bafe27cae6f6738c677d044b
+DIST libdsp-src-5.0.2.tar.gz 218725 RMD160 6d38dc7acfdeed7626923f4d8ac2be362f6ff873 SHA1 6745d42465df7637e0527380df7d722786837acc SHA256 0bb084e02d0d460b7d78b6d3512c9ed23577d834d472cf5569bba0b4e7c09efe
+EBUILD libdsp-4.9.2-r1.ebuild 1750 RMD160 da09752ae71f2881d9c28795cf667f7f81576514 SHA1 c762f14b712d5ed0fb3cf031b53ff1f1193444ac SHA256 c8d0f7493e2fec393990dfef7d9bf797f8df86c1b35ef7dac1a2f2df0d708779
MD5 0c16f3a3a111ff2472aa617647db1a9f libdsp-4.9.2-r1.ebuild 1750
+RMD160 da09752ae71f2881d9c28795cf667f7f81576514 libdsp-4.9.2-r1.ebuild 1750
+SHA256 c8d0f7493e2fec393990dfef7d9bf797f8df86c1b35ef7dac1a2f2df0d708779 libdsp-4.9.2-r1.ebuild 1750
+EBUILD libdsp-4.9.2.ebuild 1488 RMD160 b782478fcbb41d72625a00908671c167469d667d SHA1 128fb1633b4162dc4eeba7903d9323f81a86b905 SHA256 d96d75a61b6cbfcb34875f969384cdfe1c5a273f89c9e86087fa85eff8863f44
MD5 5ef7d9899fe4576ed2dffab23d597019 libdsp-4.9.2.ebuild 1488
-MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC1SRfI1lqEGTUzyQRAnEeAJsFfFF5UqWVV9mUcgfaju6mPj/ZWwCeMS/f
-V4jaSSVzEG5pVNj8epj6MMI=
-=bavn
------END PGP SIGNATURE-----
+RMD160 b782478fcbb41d72625a00908671c167469d667d libdsp-4.9.2.ebuild 1488
+SHA256 d96d75a61b6cbfcb34875f969384cdfe1c5a273f89c9e86087fa85eff8863f44 libdsp-4.9.2.ebuild 1488
+EBUILD libdsp-5.0.2.ebuild 1927 RMD160 b92dfb362ed7ddd5a07f04bcfdd5275d2621bcdb SHA1 581261236827b7d3b5d61556457ca0fc33233990 SHA256 62ea1531b4e41b993c094b908cb6261226e78b1c321e01187a07d1d86835bb25
+MD5 f0da6ba8a442331d09a25b3f5bb4c93f libdsp-5.0.2.ebuild 1927
+RMD160 b92dfb362ed7ddd5a07f04bcfdd5275d2621bcdb libdsp-5.0.2.ebuild 1927
+SHA256 62ea1531b4e41b993c094b908cb6261226e78b1c321e01187a07d1d86835bb25 libdsp-5.0.2.ebuild 1927
+MISC ChangeLog 1697 RMD160 1e691c4164204fa2341864203b77ecbb937ec61e SHA1 451f88b54da4cb6fe6968c5e7fe4aed928ddc495 SHA256 949293896397b2289e192ced51a540536232861772a03114fe2cdeaefd3c0c3b
+MD5 62a93fb8b401a5d37ef9d3acffb58dfe ChangeLog 1697
+RMD160 1e691c4164204fa2341864203b77ecbb937ec61e ChangeLog 1697
+SHA256 949293896397b2289e192ced51a540536232861772a03114fe2cdeaefd3c0c3b ChangeLog 1697
+MISC metadata.xml 222 RMD160 8294127c41749203367a7352ec3e955ea5939cf9 SHA1 557b53846c9a9179288d772caa2d69453e47885c SHA256 a2ba0909975db0797f3bda202c7df8e7dc8905098e7ce11767437dbc0e8a6096
+MD5 7cdc73d6e5b77b80f7917da628fd31b8 metadata.xml 222
+RMD160 8294127c41749203367a7352ec3e955ea5939cf9 metadata.xml 222
+SHA256 a2ba0909975db0797f3bda202c7df8e7dc8905098e7ce11767437dbc0e8a6096 metadata.xml 222
+MD5 f602e50a3bd14e3243a944c3b2952a62 files/digest-libdsp-4.9.2 500
+RMD160 153954801a45014729241072a02e63d74ff8aec3 files/digest-libdsp-4.9.2 500
+SHA256 685b3f1a2ca5afecf010bc5f4d130bbfc2ae09b32cf90e9c85c874445ccd3b4e files/digest-libdsp-4.9.2 500
+MD5 f602e50a3bd14e3243a944c3b2952a62 files/digest-libdsp-4.9.2-r1 500
+RMD160 153954801a45014729241072a02e63d74ff8aec3 files/digest-libdsp-4.9.2-r1 500
+SHA256 685b3f1a2ca5afecf010bc5f4d130bbfc2ae09b32cf90e9c85c874445ccd3b4e files/digest-libdsp-4.9.2-r1 500
+MD5 44ff660b1d2ad8cbd9c00d4fdd7dced0 files/digest-libdsp-5.0.2 500
+RMD160 44048d97a402520bcf1ea69937b2741304a83524 files/digest-libdsp-5.0.2 500
+SHA256 695a34cc28b7589508a98f722d06558c06b56603bdc246afb5e3b65c18324b28 files/digest-libdsp-5.0.2 500
-MD5 91ff67c7d4c25e73ab7166f0ebf873e6 libdsp-src-4.9.2.tar.gz 324883
MD5 bd51911d22b7f67bf7c67277f73c6f5c libdsp-doc-html.tar.gz 1299174
+RMD160 18b795382a25590fb1a00c18623ed299f566863d libdsp-doc-html.tar.gz 1299174
+SHA256 5267a7824b4a0a5dd0fa2a7753e3ed8c7f8e04583e4949c5fa567bde86b2e9ee libdsp-doc-html.tar.gz 1299174
+MD5 91ff67c7d4c25e73ab7166f0ebf873e6 libdsp-src-4.9.2.tar.gz 324883
+RMD160 42253122d32b994f687310a8d8692f7a2a627797 libdsp-src-4.9.2.tar.gz 324883
+SHA256 04354715c3ad558a430bc50db1f1c701f51a5664bafe27cae6f6738c677d044b libdsp-src-4.9.2.tar.gz 324883
-MD5 91ff67c7d4c25e73ab7166f0ebf873e6 libdsp-src-4.9.2.tar.gz 324883
MD5 bd51911d22b7f67bf7c67277f73c6f5c libdsp-doc-html.tar.gz 1299174
+RMD160 18b795382a25590fb1a00c18623ed299f566863d libdsp-doc-html.tar.gz 1299174
+SHA256 5267a7824b4a0a5dd0fa2a7753e3ed8c7f8e04583e4949c5fa567bde86b2e9ee libdsp-doc-html.tar.gz 1299174
+MD5 91ff67c7d4c25e73ab7166f0ebf873e6 libdsp-src-4.9.2.tar.gz 324883
+RMD160 42253122d32b994f687310a8d8692f7a2a627797 libdsp-src-4.9.2.tar.gz 324883
+SHA256 04354715c3ad558a430bc50db1f1c701f51a5664bafe27cae6f6738c677d044b libdsp-src-4.9.2.tar.gz 324883
--- /dev/null
+MD5 bd51911d22b7f67bf7c67277f73c6f5c libdsp-doc-html.tar.gz 1299174
+RMD160 18b795382a25590fb1a00c18623ed299f566863d libdsp-doc-html.tar.gz 1299174
+SHA256 5267a7824b4a0a5dd0fa2a7753e3ed8c7f8e04583e4949c5fa567bde86b2e9ee libdsp-doc-html.tar.gz 1299174
+MD5 4edd3cdb28a21a35148d89a409858925 libdsp-src-5.0.2.tar.gz 218725
+RMD160 6d38dc7acfdeed7626923f4d8ac2be362f6ff873 libdsp-src-5.0.2.tar.gz 218725
+SHA256 0bb084e02d0d460b7d78b6d3512c9ed23577d834d472cf5569bba0b4e7c09efe libdsp-src-5.0.2.tar.gz 218725
--- /dev/null
+diff -Naur libdsp-src-5.0.2-orig/DynThreads/Makefile libdsp-src-5.0.2/DynThreads/Makefile
+--- libdsp-src-5.0.2-orig/DynThreads/Makefile 2007-01-13 12:51:51.000000000 -0600
++++ libdsp-src-5.0.2/DynThreads/Makefile 2007-01-13 12:53:18.000000000 -0600
+@@ -18,10 +18,10 @@
+ #
+
+ CXX = g++
+-CXXFLAGS = -march=pentium2 -mtune=pentium4 -O2 -Wall -Werror #-ggdb
++#CXXFLAGS = -march=pentium2 -mtune=pentium4 -O2 -Wall -Werror #-ggdb
+ DEFS = -D_REENTRANT -D_THREAD_SAFE
+ DEFS += -DUSE_NPTL
+-INCS = $(PKGINC) #-I/usr/local/include
++INCS = $(PKGINC) -I. -I../Inlines -I/usr/include
+ LIBS = -lpthread
+
+ PREFIX = /usr/local
+diff -Naur libdsp-src-5.0.2-orig/libDSP/Makefile libdsp-src-5.0.2/libDSP/Makefile
+--- libdsp-src-5.0.2-orig/libDSP/Makefile 2007-01-13 12:51:51.000000000 -0600
++++ libdsp-src-5.0.2/libDSP/Makefile 2007-01-13 12:55:11.000000000 -0600
+@@ -25,7 +25,7 @@
+ #OPTCFLAGS = -march=athlon -O3 -ffast-math -funroll-loops -malign-loops=5 -malign-jumps=5 -malign-functions=5 -mpreferred-stack-boundary=5 -mfancy-math-387 -Wall -Werror #-g
+ # gcc >= 3.1.x
+ # -tbird, -4, -xp, -mp
+-CFLAGS = -march=pentium2 -mcpu=pentium4 -mmmx
++#CFLAGS = -march=pentium2 -mcpu=pentium4 -mmmx
+ #CFLAGS = -march=athlon-tbird -mcpu=athlon-xp -m3dnow
+ #CFLAGS = -march=pentium3 -mcpu=pentium3 -msse -mfpmath=sse
+ #CFLAGS = -march=pentium4 -mcpu=pentium4 -msse2 -mfpmath=sse -m128bit-long-double
+@@ -35,8 +35,8 @@
+ #CFLAGS = -march=pentium3 -mtune=pentium3 -msse -mfpmath=sse
+ #CFLAGS = -march=pentium4 -mtune=pentium4 -msse2 -mfpmath=sse -m128bit-long-double
+ #CFLAGS = -march=pentium4 -O2 -mfpmath=387
+-CFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays
+-CFLAGS += -Wall -Werror -g
++#CFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays
++#CFLAGS += -Wall -Werror -g
+ #CFLAGS += -ftracer
+ # gcc >= 4.x
+ #CFLAGS += -fmodulo-sched
+@@ -46,7 +46,7 @@
+ #
+ #
+ # gcc >= 3.1.x
+-OPTCFLAGS = -march=pentium2 -mcpu=pentium4 -mmmx
++#OPTCFLAGS = -march=pentium2 -mcpu=pentium4 -mmmx
+ #OPTCFLAGS = -march=athlon-tbird -mcpu=athlon-xp -m3dnow
+ #OPTCFLAGS = -march=pentium3 -mcpu=pentium3 -msse
+ #OPTCFLAGS = -march=pentium4 -mcpu=pentium4 -msse2 -m128bit-long-double
+@@ -55,12 +55,12 @@
+ #OPTCFLAGS = -march=athlon-tbird -mtune=athlon-xp -m3dnow
+ #OPTCFLAGS = -march=pentium3 -mtune=pentium3 -msse
+ #OPTCFLAGS = -march=pentium4 -mtune=pentium4 -msse2 -m128bit-long-double
+-OPTCFLAGS += -O1 -ffast-math -fprefetch-loop-arrays #-funroll-loops
+-OPTCFLAGS += -Wall -Werror -g
++#OPTCFLAGS += -O1 -ffast-math -fprefetch-loop-arrays #-funroll-loops
++#OPTCFLAGS += -Wall -Werror -g
+ #OPTCFLAGS += -ftracer
+ #
+ #OPTCFLAGS += -ggdb -pg
+-CXXFLAGS = $(CFLAGS)
++#CXXFLAGS = $(CFLAGS)
+
+ # thread safety
+ DEFS = -D_REENTRANT -D_THREAD_SAFE
+@@ -69,13 +69,13 @@
+ # define if you are using GNU C++-compiler and GNU C-library
+ DEFS += -D_GNU_SOURCE
+ # use memmove() for copying data instead of built-in routine, for gcc inlining
+-#DEFS += -DUSE_MEMMOVE
++DEFS += -DUSE_MEMMOVE
+ # define for x86 platform specific optimizations
+-DEFS += -DDSP_X86
++#DEFS += -DDSP_X86
+ # define for Intel Integrated Performance Primitives support
+ #DEFS += -DDSP_IPP
+
+-INCS = -I. #-I/usr/local/include
++INCS = -I. -I../Inlines -I/usr/include
+ #INCS += `pkg-config --cflags fftw3f fftw3`
+ #INCS += -I/opt/intel/ipp/include
+
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdsp/libdsp-5.0.2.ebuild,v 1.1 2007/01/13 19:08:01 dirtyepic Exp $
+
+inherit eutils
+
+DESCRIPTION="C++ class library of common digital signal processing functions."
+HOMEPAGE="http://libdsp.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.gz
+ doc? ( mirror://sourceforge/${PN}/${PN}-doc-html.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+# -amd64, -sparc: 4.9.2-r1 - uses x86 assembly
+KEYWORDS="~x86 -amd64 -sparc"
+IUSE="doc"
+DEPEND=""
+
+S=${WORKDIR}/${PN}-src-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # fixes some Makefile weirdness
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ # use our CFLAGS/CXXFLAGS instead
+ sed -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" -i libDSP/Makefile
+ sed -e "s:^CXXFLAGS.*:CXXFLAGS = ${CXXFLAGS}:" -i DynThreads/Makefile
+
+ # use our PREFIX too
+ sed -e "s:^PREFIX.*:PREFIX = ${D}/usr:" -i Inlines/Makefile
+ sed -e "s:^PREFIX.*:PREFIX = ${D}/usr:" -i libDSP/Makefile
+ sed -e "s:^PREFIX.*:PREFIX = ${D}/usr:" -i DynThreads/Makefile
+
+ # fix NPTL includes
+ for filename in $(grep -rl nptl/pthread *); do
+ sed -e "s:nptl/pthread.h:pthread.h:g" -i $filename
+ done
+
+ # libtool only supports the --tag option from v1.5 onwards
+ if ! has_version ">=sys-devel/libtool-1.5.0"; then
+ sed -e "s/^LIBTOOL = libtool --tag=CXX/LIBTOOL = libtool/" -i libDSP/Makefile
+ fi
+
+ cd ${S}/DynThreads
+ emake || die "DynThreads make failed!"
+
+ cd ${S}/libDSP
+ emake || die "libDSP make failed!"
+}
+
+src_install() {
+
+ mkdir -p ${D}/usr/include
+ cd ${S}/Inlines
+ make install || die "Inlines install failed!"
+
+ cd ${S}/DynThreads
+ make install || die "DynThreads install failed!"
+
+ cd ${S}/libDSP
+ make install || die "libDSP install failed!"
+
+ if use doc; then
+ dohtml ${WORKDIR}/${PN}-doc-html/*
+ docinto samples
+ dodoc ${S}/libDSP/work/*
+ fi
+}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sound</herd>
+ <herd>sound</herd>
+ <maintainer>
+ <email>sound@gentoo.org</email>
+ </maintainer>
</pkgmetadata>