diff options
author | Kito Danya Dietrich <kito@gentoo.org> | 2004-09-16 03:51:16 +0000 |
---|---|---|
committer | Kito Danya Dietrich <kito@gentoo.org> | 2004-09-16 03:51:16 +0000 |
commit | b0bd5c4618ee2adcd681b7560f914674b25dfb51 (patch) | |
tree | ede33c224430cdf106f3cf237a1c21d0aed1e0a4 | |
parent | add ppc64 to aspell eclass (diff) | |
download | historical-b0bd5c4618ee2adcd681b7560f914674b25dfb51.tar.gz historical-b0bd5c4618ee2adcd681b7560f914674b25dfb51.tar.bz2 historical-b0bd5c4618ee2adcd681b7560f914674b25dfb51.zip |
added ppc-macos keyword and patch
-rw-r--r-- | media-libs/a52dec/Manifest | 2 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/ladspa-cmt-ppc-macos.patch | 120 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild | 12 |
3 files changed, 130 insertions, 4 deletions
diff --git a/media-libs/a52dec/Manifest b/media-libs/a52dec/Manifest index 2b49094f6d51..c7eb190169a1 100644 --- a/media-libs/a52dec/Manifest +++ b/media-libs/a52dec/Manifest @@ -1,5 +1,5 @@ MD5 96ddb7c14a70c798a8334ab8fe6f2bc7 ChangeLog 2559 -MD5 98831f82af69eeeeef0d0e54e0a39004 a52dec-0.7.4-r1.ebuild 1189 +MD5 ea91a50a4d35afc39792e6cf812a6b39 a52dec-0.7.4-r1.ebuild 1199 MD5 8debd481b62d5e7e26a1deb59a348fc3 a52dec-0.7.4.ebuild 1028 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 d98b1ff993cc74290d145feadc2542ff files/digest-a52dec-0.7.4 64 diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-ppc-macos.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-ppc-macos.patch new file mode 100644 index 000000000000..917da06101d5 --- /dev/null +++ b/media-libs/ladspa-cmt/files/ladspa-cmt-ppc-macos.patch @@ -0,0 +1,120 @@ +diff -uNr cmt-org/src/analogue.cpp cmt/src/analogue.cpp +--- cmt-org/src/analogue.cpp Sat Feb 17 05:50:07 2001 ++++ cmt/src/analogue.cpp Tue Sep 14 22:56:20 2004 +@@ -24,7 +24,7 @@ + + /*****************************************************************************/ + +-#include <malloc.h> ++#include <unistd.h> + #include <math.h> + #include <stdlib.h> + #include "cmt.h" +diff -uNr cmt-org/src/canyondelay.cpp cmt/src/canyondelay.cpp +--- cmt-org/src/canyondelay.cpp Sat Nov 4 05:39:53 2000 ++++ cmt/src/canyondelay.cpp Tue Sep 14 22:56:51 2004 +@@ -25,7 +25,7 @@ + /*****************************************************************************/ + + +-#include <malloc.h> ++#include <unistd.h> + #include <math.h> + #include "cmt.h" + +diff -uNr cmt-org/src/lofi.cpp cmt/src/lofi.cpp +--- cmt-org/src/lofi.cpp Mon Sep 17 17:15:46 2001 ++++ cmt/src/lofi.cpp Tue Sep 14 22:58:01 2004 +@@ -24,7 +24,7 @@ + + /*****************************************************************************/ + +-#include <malloc.h> ++#include <unistd.h> + #include <math.h> + #include <stdlib.h> + #include "cmt.h" +diff -uNr cmt-org/src/makefile cmt/src/makefile +--- cmt-org/src/makefile Tue Sep 14 22:50:10 2004 ++++ cmt/src/makefile Tue Sep 14 23:07:20 2004 +@@ -5,15 +5,15 @@ + # Change this if you want to install somewhere else. In particularly + # you may wish to remove the middle "local/" part. + +-INSTALL_PLUGINS_DIR = /ladspa/ ++INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/ + + ############################################################################### + # + # GENERAL + # + +-INCLUDES = -I/ +-CFLAGS = $(INCLUDES) -Wall -Werror -fPIC ++INCLUDES = -I/usr/local/include/ ++CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC + CXXFLAGS = $(CFLAGS) + PLUGIN_LIB = ../plugins/cmt.so + +@@ -68,7 +68,7 @@ + targets: $(PLUGIN_LIB) + + $(PLUGIN_LIB): $(PLUGIN_OBJECTS) +- $(CXX) -shared \ ++ $(CXX) -dynamiclib -ldl \ + -o $(PLUGIN_LIB) \ + $(PLUGIN_OBJECTS) + +@@ -77,6 +77,7 @@ + cp $(PLUGIN_LIB) $(INSTALL_PLUGINS_DIR) + + test: /tmp/test.wav ../../ladspa_sdk/snd/noise.wav always ++ifeq ($(shell which play), /usr/bin/play) + @echo --------------------------------------------- + @echo First listen to the white noise input signal: + @echo --------------------------------------------- +@@ -86,7 +87,7 @@ + @echo ------------------------- + @echo Should be a noise band around 6000Hz, repeated quietly after 1s. + play /tmp/test.wav +- ++endif + /tmp/test.wav: $(PLUGIN_LIB) ../../ladspa_sdk/snd/noise.wav + analyseplugin $(PLUGIN_LIB) + echo;analyseplugin -l $(PLUGIN_LIB);echo +diff -uNr cmt-org/src/phasemod.cpp cmt/src/phasemod.cpp +--- cmt-org/src/phasemod.cpp Mon Sep 17 17:15:46 2001 ++++ cmt/src/phasemod.cpp Tue Sep 14 23:08:34 2004 +@@ -24,7 +24,7 @@ + + /*****************************************************************************/ + +-#include <malloc.h> ++#include <unistd.h> + #include <math.h> + #include <stdlib.h> + #include "cmt.h" +diff -uNr cmt-org/src/syndrum.cpp cmt/src/syndrum.cpp +--- cmt-org/src/syndrum.cpp Thu Dec 19 14:54:36 2002 ++++ cmt/src/syndrum.cpp Tue Sep 14 23:08:52 2004 +@@ -24,7 +24,7 @@ + + /*****************************************************************************/ + +-#include <malloc.h> ++#include <unistd.h> + #include <math.h> + #include "cmt.h" + +diff -uNr cmt-org/src/vcf303.cpp cmt/src/vcf303.cpp +--- cmt-org/src/vcf303.cpp Sat Nov 4 05:39:53 2000 ++++ cmt/src/vcf303.cpp Tue Sep 14 23:09:16 2004 +@@ -26,7 +26,7 @@ + /*****************************************************************************/ + + +-#include <malloc.h> ++#include <unistd.h> + #include <math.h> + #include "cmt.h" + diff --git a/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild b/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild index 86a91a4a5c92..0e62a340b7ed 100644 --- a/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild +++ b/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild,v 1.11 2004/09/01 16:56:37 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild,v 1.12 2004/09/16 03:51:16 kito Exp $ + +inherit eutils IUSE="" @@ -11,7 +13,7 @@ DESCRIPTION="CMT (computer music toolkit) Lasdpa library plugins" HOMEPAGE="http://www.ladspa.org/" SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz" -KEYWORDS="x86 ~ppc amd64 sparc" +KEYWORDS="x86 ~ppc amd64 sparc ~ppc-macos" LICENSE="LGPL-2.1" SLOT="0" @@ -21,11 +23,15 @@ DEPEND="media-libs/ladspa-sdk src_unpack() { unpack "${A}" cd "${S}" + sed -i \ -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \ -e 's|/usr/local/include||g' \ -e 's|/usr/local/lib||g' makefile \ || die "sed makefile failed" + + use ppc-macos && epatch ${FILESDIR}/${PN}-ppc-macos.patch \ + || die "macos patch failed" } src_compile() { @@ -38,4 +44,4 @@ src_install() { doins ../plugins/*.so || die "doins failed" dodoc ../README || die "dodoc failed" dohtml ../doc/* || die "dohtml failed" -} +}
\ No newline at end of file |