diff options
-rw-r--r-- | media-libs/portaudio/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/portaudio/Manifest | 8 | ||||
-rw-r--r-- | media-libs/portaudio/files/portaudio-18.1-Makefile.macos | 54 | ||||
-rw-r--r-- | media-libs/portaudio/portaudio-18.1-r3.ebuild | 4 |
4 files changed, 65 insertions, 7 deletions
diff --git a/media-libs/portaudio/ChangeLog b/media-libs/portaudio/ChangeLog index c6c8d8332b7b..53ad29f13cd0 100644 --- a/media-libs/portaudio/ChangeLog +++ b/media-libs/portaudio/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/portaudio # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/ChangeLog,v 1.25 2005/07/22 14:36:14 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/ChangeLog,v 1.26 2005/07/22 21:27:35 kito Exp $ + + 22 Jul 2005; Kito <kito@gentoo.org> +files/portaudio-18.1-Makefile.macos, + portaudio-18.1-r3.ebuild: + ~ppc-macos keyword. New Makefile.macos to support -r3 updates. 22 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org> portaudio-18.1-r3.ebuild: diff --git a/media-libs/portaudio/Manifest b/media-libs/portaudio/Manifest index 28255c86be2d..e364ac8caee0 100644 --- a/media-libs/portaudio/Manifest +++ b/media-libs/portaudio/Manifest @@ -1,9 +1,9 @@ +MD5 248d7e5f3c37b79fb5eda1c477ae010e ChangeLog 3134 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -MD5 dde1023bd30c393028038722f1d09b2f portaudio-18.1-r3.ebuild 979 +MD5 9a3530650c6844214f966e60f86f6f1a portaudio-18.1-r3.ebuild 1105 MD5 9456f607b2d25722392088d088be48a0 portaudio-18.1.ebuild 1012 -MD5 248d7e5f3c37b79fb5eda1c477ae010e ChangeLog 3134 +MD5 24037d452fff400001cf4a3a4dec3585 files/digest-portaudio-18.1 64 MD5 24037d452fff400001cf4a3a4dec3585 files/digest-portaudio-18.1-r3 64 MD5 4219b3627542b1f316cbaa75b3ae9d4d files/portaudio-18.1-Makefile.linux 1585 -MD5 cd67103269f0834eda38b44bd15c1b52 files/portaudio-Makefile.macos 947 -MD5 24037d452fff400001cf4a3a4dec3585 files/digest-portaudio-18.1 64 +MD5 669994e10d27eea57fd352f0336268fd files/portaudio-18.1-Makefile.macos 1584 MD5 8461b4a89f5c56d005f6818a8bf410f3 files/portaudio-18.1-use-fpic.patch 3420 diff --git a/media-libs/portaudio/files/portaudio-18.1-Makefile.macos b/media-libs/portaudio/files/portaudio-18.1-Makefile.macos new file mode 100644 index 000000000000..9a891334aaa5 --- /dev/null +++ b/media-libs/portaudio/files/portaudio-18.1-Makefile.macos @@ -0,0 +1,54 @@ +LIBS = -lm +CFLAGS = -O2 +CDEFINES = -I../pa_common -I../pablio +VERSION=18 +CC=gcc +LD=gcc +AR=ar +RANLIB=ranlib +LN=ln +CP=cp +MKDIR=mkdir + +prefix=/usr +libdir=/usr/lib +includedir=/usr/include + +all: libportaudio.dylib libportaudio.a + +TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c) +TESTO:= $(wildcard pa_tests/pa*.o pa_tests/debug*.o) + +LIBFILES:= ./pa_common/pa_lib.c ./pa_common/pa_convert.c ./pa_mac_core/pa_mac_core.c ./pablio/ringbuffer.c + +all: libportaudio.dylib libportaudio.a + +.c.o: + -gcc -c -I./pa_common -I./pablio $(CFLAGS) $< -o $*.o + +libportaudio.a: $(LIBFILES:.c=.o) + $(AR) ruv $@ $? + $(RANLIB) $@ + +libportaudio.$(VERSION).dylib: $(LIBFILES:.c=.o) + gcc $(CFLAGS) $(CDEFINES) -framework CoreAudio -framework AudioToolbox -framework AudioUnit $(LIBS) -dynamiclib -o libportaudio.$(VERSION).dylib -install_name $(libdir)/libportaudio.$(VERSION).dylib -compatibility_version 1 -current_version $(VERSION) ./pa_common/pa_lib.o ./pa_common/pa_convert.o ./pa_mac_core/pa_mac_core.o ./pablio/ringbuffer.o + +libportaudio.dylib: libportaudio.$(VERSION).dylib + $(LN) -s $? $@ + +install: libportaudio.dylib libportaudio.a + $(MKDIR) -p $(DESTDIR)$(includedir)/portaudio + $(MKDIR) -p $(DESTDIR)$(libdir) + $(CP) -pPRf libportaudio.$(VERSION).dylib libportaudio.dylib libportaudio.a $(DESTDIR)$(libdir) + $(CP) -pPRf pa_common/portaudio.h $(DESTDIR)$(includedir)/portaudio + $(LN) -s portaudio/portaudio.h $(DESTDIR)$(includedir)//portaudio.h + +testo: $(TESTS:.c=.o) + +testq: $(TESTO:.o=) + +clean: + -@rm -f $(TESTS:.c=.o) + -@rm -f $(TESTS:.c=) + -@rm -f $(LIBFILES:.c=.o) + -@rm -f *.dylib diff --git a/media-libs/portaudio/portaudio-18.1-r3.ebuild b/media-libs/portaudio/portaudio-18.1-r3.ebuild index 97ff89362a20..024ecf646699 100644 --- a/media-libs/portaudio/portaudio-18.1-r3.ebuild +++ b/media-libs/portaudio/portaudio-18.1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-18.1-r3.ebuild,v 1.2 2005/07/22 14:36:14 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-18.1-r3.ebuild,v 1.3 2005/07/22 21:27:35 kito Exp $ inherit toolchain-funcs @@ -11,7 +11,7 @@ SRC_URI="http://www.portaudio.com/archives/${MY_P}.zip" LICENSE="GPL-2" SLOT="18" -KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc-macos ~sparc ~x86" IUSE="" RDEPEND="virtual/libc" |