diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-03 20:14:39 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-03 20:14:39 +0000 |
commit | 92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4 (patch) | |
tree | 2251474f0fa4c40dc6346ddcf080d8b1ad044944 /media-sound/tapiir | |
parent | old (diff) | |
download | historical-92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4.tar.gz historical-92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4.tar.bz2 historical-92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4.zip |
old
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-sound/tapiir')
-rw-r--r-- | media-sound/tapiir/Manifest | 2 | ||||
-rw-r--r-- | media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch | 100 | ||||
-rw-r--r-- | media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch | 34 | ||||
-rw-r--r-- | media-sound/tapiir/tapiir-0.7.1.ebuild | 42 |
4 files changed, 0 insertions, 178 deletions
diff --git a/media-sound/tapiir/Manifest b/media-sound/tapiir/Manifest index f92ecb1a16ee..2a78a712c55b 100644 --- a/media-sound/tapiir/Manifest +++ b/media-sound/tapiir/Manifest @@ -1,5 +1,3 @@ -AUX tapiir-0.7.1-gcc3.patch 4632 RMD160 9ea218e0169727935c1429acf6f2846416a7bed8 SHA1 9cf215b82b6b527de45f5c6f31533c5e920e5a4c SHA256 e9ff1c8a7dbbd73c4cfe279caf63b02068194a1748e7e941f4488f54236ac220 -AUX tapiir-0.7.1-gcc4.patch 1844 RMD160 f23c72e07be82935fd982620d056e02c3498ff0e SHA1 65571f49094ac550b3c2b23afa3934837d9c6bdf SHA256 ff9122da6caf1fa3a71cfd5b355b585875770ed2818cbfae4fe2c2616940166b AUX tapiir-0.7.2-ldflags.patch 422 RMD160 8b1d4782201a9daecf52ba38e411b8988388ade1 SHA1 5bb2a4703685ad2148b15c9b81b7a5a9799acf97 SHA256 8145d4694cb59320adabb599e1d042af36bfb95d03bd08bfbe8e5ab1706a1d8b DIST tapiir-0.7.2.tar.gz 164866 RMD160 74e8d3aee2e674cd9d2fd25dd806ab4baf4fcb6a SHA1 abe270432cc89f680efe668467eb2ad08e6c83f9 SHA256 633e09f2cbc3470340aca0c3dc15dc138946a609d63fc177c2e0766001cccb21 EBUILD tapiir-0.7.2.ebuild 1031 RMD160 b746275c9240b0d0d2abd48498994dbe27e2b305 SHA1 61f4db710e5b9938a649fe19d714b3003a6744dc SHA256 fdde7460e0f26aece0f86c5cec8328227a04e2708f2bbbd63160cb001236c35e diff --git a/media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch b/media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch deleted file mode 100644 index 993f49a39fdc..000000000000 --- a/media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff -ur tapiir-0.7.1/src/MTD.hxx tapiir-0.7.1-gentoo/src/MTD.hxx ---- tapiir-0.7.1/src/MTD.hxx 2003-02-22 06:06:16.000000000 +1300 -+++ tapiir-0.7.1-gentoo/src/MTD.hxx 2003-10-11 21:29:57.000000000 +1300 -@@ -28,7 +28,7 @@ - /**** the following might be specialized for specific data types ****/ - float FromGain(const T& g) const { return (float) g; } - T ToGain(const float& v) const { return (T) v; } -- void MulAdj( T& i ) const { } -+ void MulAdj( T& i ) const { } - void Clip( T&) const {} - - public: -@@ -193,22 +193,22 @@ - - /****************************** specializations ******************************/ - --float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; } --float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; } -+inline float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; } -+inline float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; } - --int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); } --int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); } -+inline int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); } -+inline int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); } - --void MTD<float,short>::Clip( float& f) const -+inline void MTD<float,short>::Clip( float& f) const - { if (f>32767.) f = 32767.; else if (f<-32767.) f = -32767.; } --void MTD<int ,short>::Clip( int& i) const -+inline void MTD<int ,short>::Clip( int& i) const - { if (i>32767) i = 32767; else if (i<-32767) i = -32767; } --void MTD<float,float>::Clip( float& f) const -+inline void MTD<float,float>::Clip( float& f) const - { if (f>1.) f = 1.; else if (f<-1.) f = -1.; } - - --void MTD<int,float>::MulAdj( int& i) const { i>>=8; } --void MTD<int,short>::MulAdj( int& i) const { i>>=8; } -+inline void MTD<int,float>::MulAdj( int& i) const { i>>=8; } -+inline void MTD<int,short>::MulAdj( int& i) const { i>>=8; } - - /*****************************************************************************/ - -diff -ur tapiir-0.7.1/src/alsaio.cxx tapiir-0.7.1-gentoo/src/alsaio.cxx ---- tapiir-0.7.1/src/alsaio.cxx 2003-02-26 02:24:24.000000000 +1300 -+++ tapiir-0.7.1-gentoo/src/alsaio.cxx 2003-10-06 20:35:48.000000000 +1300 -@@ -402,18 +402,17 @@ - { - int k; - //-c,--channels channels default %d -- printf("\ --Usage: %s [OPTION]... ---h,--help help ---P,--pdevice playback device default %s ---C,--cdevice capture device default %s ---m,--min minimum latency in frames default %d ---M,--max maximum latency in frames default %d ---r,--rate rate default %d ---b,--block block mode default: %s ---t,--time maximal tick time in us ---p,--poll use poll (wait for event - reduces CPU usage) default: %s --", -+ printf("\n" -+"Usage: %s [OPTION]...\n" -+"-h,--help help\n" -+"-P,--pdevice playback device default %s\n" -+"-C,--cdevice capture device default %s\n" -+"-m,--min minimum latency in frames default %d\n" -+"-M,--max maximum latency in frames default %d\n" -+"-r,--rate rate default %d\n" -+"-b,--block block mode default: %s\n" -+"-t,--time maximal tick time in us\n" -+"-p,--poll use poll (wait for event - reduces CPU usage) default: %s\n", - program, - pdevice,cdevice, - latency_min,latency_max,channels,rate,block?"on":"off",use_poll?"on":"off" -diff -ur tapiir-0.7.1/src/jackio.cxx tapiir-0.7.1-gentoo/src/jackio.cxx ---- tapiir-0.7.1/src/jackio.cxx 2003-02-26 02:24:53.000000000 +1300 -+++ tapiir-0.7.1-gentoo/src/jackio.cxx 2003-10-06 20:22:05.000000000 +1300 -@@ -60,13 +60,12 @@ - static void help(char* program) - { - int k; -- printf("\ --Usage: %s [OPTION]... ---h,--help help ---C,--cconnect <LEFT,RIGHT> jack-connect to capture client default none ---P,--pconnect <LEFT,RIGHT> jack-connect to playback client default none ---a,--alsaconnect jack-connect to alsa_pcm --", -+ printf("\n" -+"Usage: %s [OPTION]...\n" -+"-h,--help help\n" -+"-C,--cconnect <LEFT,RIGHT> jack-connect to capture client default none\n" -+"-P,--pconnect <LEFT,RIGHT> jack-connect to playback client default none\n" -+"-a,--alsaconnect jack-connect to alsa_pcm\n", - program - ); - } diff --git a/media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch b/media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch deleted file mode 100644 index cdd68e1be0b8..000000000000 --- a/media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- src/MTD.hxx.old 2006-11-01 14:18:31.000000000 +0100 -+++ src/MTD.hxx 2006-11-01 14:18:34.000000000 +0100 -@@ -193,22 +193,22 @@ - - /****************************** specializations ******************************/ - --inline float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; } --inline float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; } -+template <> inline float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; } -+template <> inline float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; } - --inline int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); } --inline int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); } -+template <> inline int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); } -+template <> inline int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); } - --inline void MTD<float,short>::Clip( float& f) const -+template <> inline void MTD<float,short>::Clip( float& f) const - { if (f>32767.) f = 32767.; else if (f<-32767.) f = -32767.; } --inline void MTD<int ,short>::Clip( int& i) const -+template <> inline void MTD<int ,short>::Clip( int& i) const - { if (i>32767) i = 32767; else if (i<-32767) i = -32767; } --inline void MTD<float,float>::Clip( float& f) const -+template <> inline void MTD<float,float>::Clip( float& f) const - { if (f>1.) f = 1.; else if (f<-1.) f = -1.; } - - --inline void MTD<int,float>::MulAdj( int& i) const { i>>=8; } --inline void MTD<int,short>::MulAdj( int& i) const { i>>=8; } -+template <> inline void MTD<int,float>::MulAdj( int& i) const { i>>=8; } -+template <> inline void MTD<int,short>::MulAdj( int& i) const { i>>=8; } - - /*****************************************************************************/ - diff --git a/media-sound/tapiir/tapiir-0.7.1.ebuild b/media-sound/tapiir/tapiir-0.7.1.ebuild deleted file mode 100644 index 4c3aa5945682..000000000000 --- a/media-sound/tapiir/tapiir-0.7.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/tapiir/tapiir-0.7.1.ebuild,v 1.19 2009/06/01 20:13:44 ssuominen Exp $ - -EAPI=1 -inherit eutils - -DESCRIPTION="a flexible audio effects processor, inspired on the classical magnetic tape delay systems" -HOMEPAGE="http://www.iua.upf.es/~mdeboer/projects/tapiir/" -SRC_URI="ftp://www.iua.upf.es/pub/mdeboer/projects/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc ~sparc x86" -IUSE="" - -RDEPEND="media-sound/jack-audio-connection-kit - media-libs/alsa-lib - x11-libs/fltk:1.1" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-gcc3.patch" - epatch "${FILESDIR}/${P}-gcc4.patch" - sed -i "/#include <alsa\\/asoundlib.h>/i\\#define ALSA_PCM_OLD_HW_PARAMS_API 1\\" src/alsaio.cxx -} - -src_compile() { - local myconf - myconf="--with-fltk-prefix=/usr/$(get_libdir)/fltk-1.1 \ - --with-fltk-inc-prefix=/usr/include/fltk-1.1" - econf ${myconf} || die - emake || die -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS -} |