[proaudio] [2012] portaudio: updated v19-r4 and changed slot 19 to 0. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2012
Author: keenblade
Date: 2011-07-06 18:24:02 +0200 (Wed, 06 Jul 2011)
Log Message:
-----------
portaudio: updated v19-r4 and changed slot 19 to 0. removed old ebuilds
Modified Paths:
--------------
trunk/overlays/proaudio/media-libs/portaudio/ChangeLog
trunk/overlays/proaudio/media-libs/portaudio/Manifest
trunk/overlays/proaudio/media-libs/portaudio/portaudio-19-r4.ebuild
Modified: trunk/overlays/proaudio/media-libs/portaudio/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/ChangeLog 2011-07-06 16:06:01 UTC (rev 2011)
+++ trunk/overlays/proaudio/media-libs/portaudio/ChangeLog 2011-07-06 16:24:02 UTC (rev 2012)
@@ -2,6 +2,9 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Jul 2011; Hakan Demiralp <keenblade@xxxxxxxxxxxxx portaudio-19-r4.ebuild:
+ portaudio: updated v19-r4 and changed slot 19 to 0. removed old ebuilds
+
06 Jul 2011; Hakan Demiralp <keenblade@xxxxxxxxxxxxx portaudio-9999.ebuild:
portaudio-9999: changed slot 19 to 0
Modified: trunk/overlays/proaudio/media-libs/portaudio/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/Manifest 2011-07-06 16:06:01 UTC (rev 2011)
+++ trunk/overlays/proaudio/media-libs/portaudio/Manifest 2011-07-06 16:24:02 UTC (rev 2012)
@@ -1,6 +1,6 @@
+DIST pa_snapshot_v19.tar.gz 1130205 RMD160 0a9a91cb934f663f05e0f87f97186b3381c85ea2 SHA1 4920f7cdb44a62554a0b3a6b274d1ccdda97913d SHA256 88f512f7c802c872b8e2f9aab9845a6a8dcd63ab78f38d6a3ba96477b287c2f7
DIST pa_stable_v19_20071207.tar.gz 1113282 RMD160 5185bd85bd4bc75dddb3fa56f172a346bdeea0c7 SHA1 3841453bb7be672a15b6b632ade6f225eb0a4efc SHA256 06a17727d56d382a69036de2ed9aee9a15cac0329b995b8cfcd69b357f47bf2b
-EBUILD portaudio-19-r3.ebuild 2484 RMD160 5faec0297c6d31b1fbbfd1ae094faff06ba2bdc4 SHA1 070a74105dc4ffda1eb34299959a1401a88bf40b SHA256 2c9b0ff9f196965eb0418a3ae9f39189ea6965ad7c00f63a93909d8811400204
-EBUILD portaudio-19-r4.ebuild 2563 RMD160 a53f8e9856ab91735dad6feca59b47f4543d9b62 SHA1 54ec722894f558a26fc05ccd83ceec1cfabfc859 SHA256 da34169b21015d8bbfc4e982a0180efef9bb75d3cc655981913b82ac4a9da33b
+EBUILD portaudio-19-r4.ebuild 1011 RMD160 04f66fced2e1cb4410e93d6c52b982a363cd3f4f SHA1 1de9a0c7fe5d25bd7a4df0c02f4120c02a82f8ca SHA256 b370764b05b30b724e22c1e873438cea99e6c63543d2ae9e8edbaaa6ccb689d6
EBUILD portaudio-19_pre20071207.ebuild 895 RMD160 a0859b873d43ed5d5f89a671661bd54539fda323 SHA1 f023705172f7befd1b375fd66f9f443f2bb50ab6 SHA256 d3d3f13c3ae021469e0fa6363171c5927215dcc081091977aa0a335ab86d8008
EBUILD portaudio-9999.ebuild 991 RMD160 010afadf01d64741a0009fb7a3310f10af560ea8 SHA1 2e238e24312bed4ad9fbd4230b82e308a80c9248 SHA256 00158feaf5fe1d1a465a0101920b8ab915788d817d94255eb78f8b04e8ba58b8
MISC ChangeLog 1135 RMD160 f4925b65f9a454560a33658120665eba0dd8a4ea SHA1 9a344b1bae611d7aee920f28e24835be6dd7ac51 SHA256 152a569e4d881b1205e43edf4e4c279402607496022a3142ae520451093462b9
Modified: trunk/overlays/proaudio/media-libs/portaudio/portaudio-19-r4.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/portaudio-19-r4.ebuild 2011-07-06 16:06:01 UTC (rev 2011)
+++ trunk/overlays/proaudio/media-libs/portaudio/portaudio-19-r4.ebuild 2011-07-06 16:24:02 UTC (rev 2012)
@@ -1,94 +1,53 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils fetch-tools
+EAPI=4
-DESCRIPTION="An open-source cross platform audio API."
+inherit libtool
+
+MY_P=pa_snapshot_v${PV}
+
+DESCRIPTION="A free, cross-platform, open-source, audio I/O library"
HOMEPAGE="http://www.portaudio.com"
-SRC_URI=""
-url="http://portaudio.com/archives/pa_snapshot_v19.tar.gz"
+SRC_URI="http://portaudio.com/archives/${MY_P}.tar.gz"
-SLOT="19"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86 sparc amd64 ~ppc ~ppc-macos ~mips"
+IUSE="alsa +cxx debug jack oss static-libs"
-IUSE="jack alsa oss doc"
+RDEPEND="alsa? ( >=media-libs/alsa-lib-0.9 )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.100.0 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
-RDEPEND="virtual/libc"
-DEPEND="app-arch/unzip
- jack? ( >=media-sound/jack-audio-connection-kit-0.100.0 )
- alsa? ( >=media-libs/alsa-lib-0.9 )
- dev-util/scons"
S=${WORKDIR}/${PN}
-src_unpack() {
- ewarn "if this ebuild fails the snapshot seems to be borked"
- ewarn "try it on another day or try ${PN}-9999 which fetches from svn"
- fetch_tarball_cmp "${url}"
- unpack pa_snapshot_v19.tar.gz
+src_prepare() {
+ elibtoolize
}
-src_compile() {
- scons_compile(){
- mkdir -p ${D}/usr
- local myconf="enableShared=1 prefix=/usr enableStatic=0 enableAsserts=0 enableCxx=1"
- ! use jack; myconf="${myconf} useJACK=$?"
- ! use alsa; myconf="${myconf} useALSA=$?"
- ! use oss; myconf="${myconf} useOSS=$?"
- einfo "${myconf}"
- scons configure ${myconf} customCFlags="${CFLAGS}" || return 1 # "configure failed"
- scons ${MAKEOPTS} || return 1 # "scons failed"
- return 0
- }
+src_configure() {
+ econf \
+ $(use_enable debug debug-output) \
+ $(use_enable cxx) \
+ $(use_enable static-libs static) \
+ $(use_with alsa) \
+ $(use_with jack) \
+ $(use_with oss)
+}
- make_compile() {
- econf $(use_with alsa) $(use_with jack) \
- $(use_with oss)|| return 1 #die "econf failed"
- emake || return 1 #die "emake failed"
- return 0
- }
- ewarn "using scons build system"
- scons_compile
- if [ $? == "1" ];then
- build_tool="auto"
- ewarn "scons failded trying autotools"
- make_compile || die "die configure/build"
- else
- build_tool="scons"
- fi
+src_compile() {
+ emake lib/libportaudio.la || die
+ emake || die
}
src_install() {
- if [ "${build_tool}" == "scons" ];then
- dodir /usr
- scons prefix="${D}/usr" install || die "scons failed to install"
- use doc && dodoc docs/*
- # fix pkgconfig
- sed -i -e "s:/var/tmp/portage/media-libs/portaudio-19-r4/image/::g" \
- ${D}/usr/lib/pkgconfig/portaudio-2.0.pc \
- || die "fixing portaudio-2.0.pc failed"
- else
-# if ! use ppc-macos;then
-# dolib lib/*
-# dosym /usr/$(get_libdir)/libportaudio.so.0.0.19 /usr/$(get_libdir)/libportaudio.so
-# else
-# dolib pa_mac_core/libportaudio.dylib
-# fi
- emake DESTDIR="${D}" install || die "install failed"
+ default
- insinto /usr/include
- doins include/portaudio.h
- use doc && dodoc docs/*
- fi
-}
+ find "${D}" -name '*.la' -exec rm -f {} +
-pkg_postinst(){
- einfo "If you update from portaudio-19 to portaudio-19-r1"
- einfo "and have troubles with apps using portaudio you need to run:"
- einfo
- einfo "revdep-rebuild --library=libportaudio.so.*"
- einfo
- einfo "to fix apps which linked against portaudio-19"
+ dodoc README.txt
+ dohtml index.html
}
-