diff options
author | Alexis Ballier <aballier@gentoo.org> | 2006-10-22 14:53:15 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2006-10-22 14:53:15 +0000 |
commit | 795b7c77a1347deba59fb421cf774fdf8c7979df (patch) | |
tree | 97bf2a7cc9ab74aa4ca5c3c93ea66017a528c18c /media-libs | |
parent | Version bump. (diff) | |
download | historical-795b7c77a1347deba59fb421cf774fdf8c7979df.tar.gz historical-795b7c77a1347deba59fb421cf774fdf8c7979df.tar.bz2 historical-795b7c77a1347deba59fb421cf774fdf8c7979df.zip |
Minor modification to the makefile.linux to correctly link libportaudio, bug #135119
Package-Manager: portage-2.1.2_pre3-r6
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/portaudio/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/portaudio/Manifest | 31 | ||||
-rw-r--r-- | media-libs/portaudio/files/digest-portaudio-18.1-r5 | 3 | ||||
-rw-r--r-- | media-libs/portaudio/files/portaudio-18.1-r5-Makefile.linux | 60 | ||||
-rw-r--r-- | media-libs/portaudio/portaudio-18.1-r5.ebuild | 40 |
5 files changed, 137 insertions, 6 deletions
diff --git a/media-libs/portaudio/ChangeLog b/media-libs/portaudio/ChangeLog index 045117626c71..d519a1c5c3d3 100644 --- a/media-libs/portaudio/ChangeLog +++ b/media-libs/portaudio/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/portaudio # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/ChangeLog,v 1.31 2006/10/20 21:50:05 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/ChangeLog,v 1.32 2006/10/22 14:53:15 aballier Exp $ + +*portaudio-18.1-r5 (22 Oct 2006) + + 22 Oct 2006; Alexis Ballier <aballier@gentoo.org> + +files/portaudio-18.1-r5-Makefile.linux, +portaudio-18.1-r5.ebuild: + Minor modification to the makefile.linux to correctly link libportaudio, bug + #135119 20 Oct 2006; Bryan Ăstergaard <kloeri@gentoo.org> portaudio-18.1-r4.ebuild: diff --git a/media-libs/portaudio/Manifest b/media-libs/portaudio/Manifest index e440c0b78cf6..180f8d0288d8 100644 --- a/media-libs/portaudio/Manifest +++ b/media-libs/portaudio/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX portaudio-18.1-Makefile.linux 1585 RMD160 15e6980fe7e749aa4faaf42c9110813bb3103842 SHA1 bed0ce41b3b8dbf798f8295f948c7a1b3d524951 SHA256 c17322d3600484695213deb5d11108413f2e453f5265f87875ad6a2f1b70f291 MD5 4219b3627542b1f316cbaa75b3ae9d4d files/portaudio-18.1-Makefile.linux 1585 RMD160 15e6980fe7e749aa4faaf42c9110813bb3103842 files/portaudio-18.1-Makefile.linux 1585 @@ -6,6 +9,10 @@ AUX portaudio-18.1-Makefile.macos 1584 RMD160 2ffbe7333a42c5518fdbbc5aaf3efc9b08 MD5 669994e10d27eea57fd352f0336268fd files/portaudio-18.1-Makefile.macos 1584 RMD160 2ffbe7333a42c5518fdbbc5aaf3efc9b08b6de7b files/portaudio-18.1-Makefile.macos 1584 SHA256 981c94e1dcf32b078b346eed1ed97b16b970aac8f08626dbeffb735a52f26f82 files/portaudio-18.1-Makefile.macos 1584 +AUX portaudio-18.1-r5-Makefile.linux 1593 RMD160 58f02f8f148ac59c66d2b14812e163ce2100d83c SHA1 30553237671ccab10c91c44b482c9ad2d6fb4675 SHA256 6bfa6ca03b4000308b0618f4501dfcaf436a1d9d10931c061361b12925fdb729 +MD5 038062b0685e7fcba0e807cd078e6518 files/portaudio-18.1-r5-Makefile.linux 1593 +RMD160 58f02f8f148ac59c66d2b14812e163ce2100d83c files/portaudio-18.1-r5-Makefile.linux 1593 +SHA256 6bfa6ca03b4000308b0618f4501dfcaf436a1d9d10931c061361b12925fdb729 files/portaudio-18.1-r5-Makefile.linux 1593 AUX portaudio-18.1-use-fpic.patch 3420 RMD160 a808a293c85820d14348ef6fa2a7f6cc32660d4f SHA1 2eb4c04eef263bdef20b7fd91ac8241f786a837b SHA256 4011b1202bafc32b4c077c115074c89ec444897a2be65fb684ec50391898e13b MD5 8461b4a89f5c56d005f6818a8bf410f3 files/portaudio-18.1-use-fpic.patch 3420 RMD160 a808a293c85820d14348ef6fa2a7f6cc32660d4f files/portaudio-18.1-use-fpic.patch 3420 @@ -14,7 +21,7 @@ AUX portaudio-Makefile.macos 947 RMD160 ad6b7d646f867c22e1e7e35eccaa5adf1ce7067b MD5 cd67103269f0834eda38b44bd15c1b52 files/portaudio-Makefile.macos 947 RMD160 ad6b7d646f867c22e1e7e35eccaa5adf1ce7067b files/portaudio-Makefile.macos 947 SHA256 36c735b3c155019d84ea3848f0ec3f8e009aab1ac8e027af9323af249f12d47b files/portaudio-Makefile.macos 947 -DIST portaudio_v18_1.zip 550130 RMD160 3352d70225a81aae80eefabc3701658da0c750c2 SHA256 9da7f1ba0b8029f934d5a8300199e29095127e6abfa03dbb3c1ce40e10751f0a +DIST portaudio_v18_1.zip 550130 RMD160 3352d70225a81aae80eefabc3701658da0c750c2 SHA1 a460ac5484137d77df17a95ce844ff7f178305b1 SHA256 9da7f1ba0b8029f934d5a8300199e29095127e6abfa03dbb3c1ce40e10751f0a EBUILD portaudio-18.1-r3.ebuild 998 RMD160 61d6806a813636a19ddba42b4fea6c80dea8e9a4 SHA1 8d7694f74bd5cf3c272112d5ac83c48852b6c244 SHA256 ecdf055b128bcabf7bd231d83cfa4d699e4b2c386ae7a53d121881ccf1841d34 MD5 5d4fa3720f192e7f11ed3e169d275324 portaudio-18.1-r3.ebuild 998 RMD160 61d6806a813636a19ddba42b4fea6c80dea8e9a4 portaudio-18.1-r3.ebuild 998 @@ -23,14 +30,18 @@ EBUILD portaudio-18.1-r4.ebuild 1048 RMD160 4082ed64637980f0e4094e9d6a514f863483 MD5 42ca56cf78ac5e7c605ea8d06ef54c0c portaudio-18.1-r4.ebuild 1048 RMD160 4082ed64637980f0e4094e9d6a514f863483a12d portaudio-18.1-r4.ebuild 1048 SHA256 43e38cb95e7bd00b7ad63a855bf1e0912c472d0a17fa5dd7b5cbd1cb1f9d72af portaudio-18.1-r4.ebuild 1048 +EBUILD portaudio-18.1-r5.ebuild 1060 RMD160 69d3bd99260b7580a5e0fbc2b13b0ee1b81c01eb SHA1 a0921d5f7eca240b0b54f428fec5a6b057ddde4f SHA256 773da27f7d78487eb3975c0c4cc2e4bc0884e28b4a23b9ed7c6d36c2712b33e2 +MD5 7d6c67bb06676c18db392a1fea1f3897 portaudio-18.1-r5.ebuild 1060 +RMD160 69d3bd99260b7580a5e0fbc2b13b0ee1b81c01eb portaudio-18.1-r5.ebuild 1060 +SHA256 773da27f7d78487eb3975c0c4cc2e4bc0884e28b4a23b9ed7c6d36c2712b33e2 portaudio-18.1-r5.ebuild 1060 EBUILD portaudio-18.1.ebuild 995 RMD160 af0edc7d988953321519eefd4fb7610a326ab8aa SHA1 2e52b5828392ed43db8362f0cc89eb5023f07e32 SHA256 0279febaa02eb0c390c3ee207239ab650ccef9d361397f0620c17719039efd71 MD5 e7355796f0c381e5e8128913f94e4b8a portaudio-18.1.ebuild 995 RMD160 af0edc7d988953321519eefd4fb7610a326ab8aa portaudio-18.1.ebuild 995 SHA256 0279febaa02eb0c390c3ee207239ab650ccef9d361397f0620c17719039efd71 portaudio-18.1.ebuild 995 -MISC ChangeLog 3890 RMD160 5d5cb0e2c13f6c33917b25277a1372bff67c8c75 SHA1 4b26d81ef1180cfbb2f5906fc02412f259a62c4c SHA256 079fb5a62a22ea8bcb14e4235bd31ac90bc2019c2850e615667cdb6b5c9eb100 -MD5 e81ff94eda966f8930af3d77869a2b90 ChangeLog 3890 -RMD160 5d5cb0e2c13f6c33917b25277a1372bff67c8c75 ChangeLog 3890 -SHA256 079fb5a62a22ea8bcb14e4235bd31ac90bc2019c2850e615667cdb6b5c9eb100 ChangeLog 3890 +MISC ChangeLog 4138 RMD160 9fae34c440c9db112daaa9933c5df67ebe56dd30 SHA1 91cfddc1d50476ab2d636f1a99bf50eba17d631c SHA256 e8a02429f33c0e5cdb46650964b313b4012c667f4115b596a142aa86aad6f575 +MD5 1b2b8da5ae4265e5f196e0799107af26 ChangeLog 4138 +RMD160 9fae34c440c9db112daaa9933c5df67ebe56dd30 ChangeLog 4138 +SHA256 e8a02429f33c0e5cdb46650964b313b4012c667f4115b596a142aa86aad6f575 ChangeLog 4138 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 @@ -44,3 +55,13 @@ SHA256 4dd74ccf9a3e5af23c4b083062682ef447d7318e700afd29f4b7ac3bf3dcee55 files/di MD5 4be0252f8cfaa06280df4e586d6a4a64 files/digest-portaudio-18.1-r4 238 RMD160 2283eea197193ae2fd7542a0028cf9d164b5ab20 files/digest-portaudio-18.1-r4 238 SHA256 4dd74ccf9a3e5af23c4b083062682ef447d7318e700afd29f4b7ac3bf3dcee55 files/digest-portaudio-18.1-r4 238 +MD5 4be0252f8cfaa06280df4e586d6a4a64 files/digest-portaudio-18.1-r5 238 +RMD160 2283eea197193ae2fd7542a0028cf9d164b5ab20 files/digest-portaudio-18.1-r5 238 +SHA256 4dd74ccf9a3e5af23c4b083062682ef447d7318e700afd29f4b7ac3bf3dcee55 files/digest-portaudio-18.1-r5 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFO4XKvFcC4BYPU0oRAqUhAKCLUk843Vv25YthxlmPqIThfMKRdACfafAJ +ccmCHNxTZReF0L5/pHrMOx0= +=E8Rx +-----END PGP SIGNATURE----- diff --git a/media-libs/portaudio/files/digest-portaudio-18.1-r5 b/media-libs/portaudio/files/digest-portaudio-18.1-r5 new file mode 100644 index 000000000000..f45c914f9616 --- /dev/null +++ b/media-libs/portaudio/files/digest-portaudio-18.1-r5 @@ -0,0 +1,3 @@ +MD5 ce66a732d263fde2b5ad2262ef37a691 portaudio_v18_1.zip 550130 +RMD160 3352d70225a81aae80eefabc3701658da0c750c2 portaudio_v18_1.zip 550130 +SHA256 9da7f1ba0b8029f934d5a8300199e29095127e6abfa03dbb3c1ce40e10751f0a portaudio_v18_1.zip 550130 diff --git a/media-libs/portaudio/files/portaudio-18.1-r5-Makefile.linux b/media-libs/portaudio/files/portaudio-18.1-r5-Makefile.linux new file mode 100644 index 000000000000..170e4a3fac12 --- /dev/null +++ b/media-libs/portaudio/files/portaudio-18.1-r5-Makefile.linux @@ -0,0 +1,60 @@ +# Make PortAudio for Linux +# Updated 2001/08/25 Bill Eldridge bill@rfa.org +# Updated 2001/10/16, philburk@softsynth.com, s/unix_oss/unix_oss/ +# Updated 2002/04/30 Bill Eldridge bill@rfa.org +# Made the libinstall and tests compile a bit cleaner +# Updated 2005/07/22 Jeremy Huddleston eradicator@gentoo.org + +# A pretty bare makefile, that figures out all the test files +# and compiles them against the library in the pa_unix_oss directory. + +# Do "make all" and then when happy, "make libinstall" +# (if not happy, "make clean") + +# The ldconfig stuff in libinstall is the wrong way to do it - +# someone tell me the right way, please + +LIBS = -lm -lpthread + +CFLAGS = -O2 + +LIBFILES:= ./pa_common/pa_lib.c ./pa_unix_oss/pa_unix_oss.c ./pa_unix_oss/pa_unix.c + +VERSION=18 + +CC=gcc +LD=ld +AR=ar +RANLIB=ranlib +LN=ln +CP=cp +MKDIR=mkdir + +prefix=/usr +libdir=/usr/lib +includedir=/usr/include + +all: libportaudio.so libportaudio.a + +%.lo : %.c + $(CC) -fPIC $(CFLAGS) -c -I./pa_common $? -o $@ + +.c.o: + $(CC) $(CFLAGS) -c -I./pa_common $? -o $@ + +libportaudio.so.$(VERSION): $(LIBFILES:.c=.lo) + $(LD) -shared $(LIBS) -soname $@ -o $@ $? + +libportaudio.so: libportaudio.so.$(VERSION) + $(LN) -s $? $@ + +libportaudio.a: $(LIBFILES:.c=.o) + $(AR) ruv $@ $? + $(RANLIB) $@ + +install: libportaudio.so libportaudio.a + $(MKDIR) -p $(DESTDIR)$(includedir)/portaudio + $(MKDIR) -p $(DESTDIR)$(libdir) + $(CP) -dpf libportaudio.so.$(VERSION) libportaudio.so libportaudio.a $(DESTDIR)$(libdir) + $(CP) -dpf pa_common/portaudio.h $(DESTDIR)$(includedir)/portaudio + $(LN) -s portaudio/portaudio.h $(DESTDIR)$(includedir)//portaudio.h diff --git a/media-libs/portaudio/portaudio-18.1-r5.ebuild b/media-libs/portaudio/portaudio-18.1-r5.ebuild new file mode 100644 index 000000000000..bc6dab896fe9 --- /dev/null +++ b/media-libs/portaudio/portaudio-18.1-r5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-18.1-r5.ebuild,v 1.1 2006/10/22 14:53:15 aballier Exp $ + +inherit toolchain-funcs + +MY_P=${PN}_v${PV/./_} +DESCRIPTION="An open-source cross platform audio API." +HOMEPAGE="http://www.portaudio.com" +SRC_URI="http://www.portaudio.com/archives/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="18" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + if use userland_Darwin ; then + cp "${FILESDIR}"/${P}-Makefile.macos "${S}"/Makefile + else + cp "${FILESDIR}"/${PF}-Makefile.linux "${S}"/Makefile + fi +} + +src_compile() { + emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" LD="$(tc-getLD)" CFLAGS="${CFLAGS}" || die +} + +src_install() { + make DESTDIR="${D}" libdir="/usr/$(get_libdir)" install || die + fperms 644 /usr/include/portaudio/portaudio.h + dodoc docs/* +} |