[proaudio] [2775] media-libs/portaudio: minor cleanup, added patch for parallel build, added multilib compatible ebuild. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2775
Author: lilrc
Date: 2013-07-30 20:47:58 +0200 (Tue, 30 Jul 2013)
Log Message:
-----------
media-libs/portaudio: minor cleanup, added patch for parallel build, added multilib compatible ebuild.
Modified Paths:
--------------
trunk/overlays/proaudio/media-libs/portaudio/ChangeLog
trunk/overlays/proaudio/media-libs/portaudio/Manifest
trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999.ebuild
trunk/overlays/proaudio/profiles/package.mask
Added Paths:
-----------
trunk/overlays/proaudio/media-libs/portaudio/files/
trunk/overlays/proaudio/media-libs/portaudio/files/portaudio-9999-parallel-make.patch
trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999-r1.ebuild
Modified: trunk/overlays/proaudio/media-libs/portaudio/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/ChangeLog 2013-07-29 18:55:30 UTC (rev 2774)
+++ trunk/overlays/proaudio/media-libs/portaudio/ChangeLog 2013-07-30 18:47:58 UTC (rev 2775)
@@ -2,6 +2,16 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*portaudio-9999-r1 (30 Jul 2013)
+
+ 30 Jul 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+ portaudio-9999.ebuild, +portaudio-9999-r1.ebuild,
+ +files/portaudio-9999-parallel-make.patch:
+ Add patch to allow parallel build with USE="cxx".
+ Add a multilib compatible ebuild.
+ AUTOTOOLS_AUTORECONF before inherit.
+ Minor cleanup.
+
10 Mar 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
-portaudio-19_pre20071207.ebuild, -portaudio-19-r4.ebuild,
portaudio-9999.ebuild, -files, metadata.xml:
Modified: trunk/overlays/proaudio/media-libs/portaudio/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/Manifest 2013-07-29 18:55:30 UTC (rev 2774)
+++ trunk/overlays/proaudio/media-libs/portaudio/Manifest 2013-07-30 18:47:58 UTC (rev 2775)
@@ -1,3 +1,5 @@
-EBUILD portaudio-9999.ebuild 924 SHA256 909fabf9e3d4cdc9d74fdac498a6c8adf761b053913d4b90f9c787dd9d80672d SHA512 8105ebc6963364f3215a39015387afa90da40e22d2d3c5c1d6a6ab1d13bf4dbb307b540fbc16cf7f75ac86d0cd5615f8f33ed8627ab317b722b90d31a95a8d3f WHIRLPOOL 6a9682a039c271fdf3196b838e7019984fc3001a219528f78efa835876f1a7097592e5252ffd81c3bd4d37fbcee33d64b04e4066e9db4da8ce5513b072b67419
-MISC ChangeLog 1816 SHA256 4e3fc12edd551b75fd761d527aea6df614d319fa0384fc51f59f6edb9243ec07 SHA512 bfe322ec0390fc8fab149e123aecf23feac9e90c696fe7d32a5ef0c5da0ae7f1bd7ccaa60b170ead66634070fe1e9c7f1327518f7ef7903d08a3f4cf2755ecc2 WHIRLPOOL 63417cb17dea95fc9c9eedeb81f4cafee5d76442c8b09741bacef95123754e4c5bd8b37f3079acb9c09a7c81f90317fa77e7ad90b9e2c8c9b91263c622ec6f18
+AUX portaudio-9999-parallel-make.patch 694 SHA256 bc8da5e8ece7fcef68beaaca1a80ea25aa966eb97e6d82ed44a8caee435da3c4 SHA512 2b59a7b61a93b126d9435857ae5a7ca81e1e8df553c7b7fe3ace18a272a8dd9a55b5ff76d2423abc6902c780e7ab47833fd2feeb3cc6de56b9cffaa9e4102e8a WHIRLPOOL 9118989f9f8932fd19fc4cc447c202191c0ff89d21e5cf4c99a89a39a1054f2c0f7f06d9252bda693d93c07ec1d76aaf8f6fb195a48ad785ea160167ffa9969a
+EBUILD portaudio-9999-r1.ebuild 1013 SHA256 a316979e3a43994af0db27571a1817d4d138356c0b41ca0d9394e5c4e6659933 SHA512 b7495370306e5c649f6d720f6cc29def0515ebdc9369325438e25d0af8257a39ed343bf0e25cc59d8c41434f6dfff7e7e9fed14cfe5080d66372f6547f44b60e WHIRLPOOL 257c76c4c00495f9c45487da3c96cd21a378abd83b70907b79405095374299ca5587b9240ebcb549413a7a4466587f06e42029e50e9cb878096a0bbb88183435
+EBUILD portaudio-9999.ebuild 907 SHA256 50a5f3032cf3cf43a9da73fe21f814fc95fd23256090f0827faddfc12f3df533 SHA512 32512c041428fb38e34d89a36a02a0211d40efdd43065c7430dd4ea570e06ebe693cfbd9750ad130bd070368cfa7d9a115efe58c5ef4ff45889cb8306325ae5f WHIRLPOOL e5030eaa9aee0091d7b1e744b904deccdb25cabcf25a7da93faeb86bbc44c54a90da8b20cafb04dc50351ce5781be97ca7d9200aab18841b04360f9395479074
+MISC ChangeLog 2157 SHA256 5eeebe216101787443ee03a1f1d8aecc2e1379420fd99758c78ac8d07ac08bfc SHA512 67740ccced16596b53a2e83682b50a1fc8375980318cab452b0a2dfe120a0707dd4a85eef98f0896501785d00258d65b08fbf32a6aab96c72df66cf1f8f6600f WHIRLPOOL 7943b7bc0b0fff107afc32752680e5f4fec72337782ed9327b4cd36418322147dfff09cdbd0fec752c45ecf4cb1a5dad61fcb9ae6d2e722fe1dad978a450d774
MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f
Added: trunk/overlays/proaudio/media-libs/portaudio/files/portaudio-9999-parallel-make.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/files/portaudio-9999-parallel-make.patch (rev 0)
+++ trunk/overlays/proaudio/media-libs/portaudio/files/portaudio-9999-parallel-make.patch 2013-07-30 18:47:58 UTC (rev 2775)
@@ -0,0 +1,19 @@
+# Author: Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+# Purpose: Allow portaudio to build with parallel make by ensuring that
+# the library needed to build C++ bindings is built before
+# building the bindings.
+# The patch is submitted upstream to the portaudio mailing list.
+
+Index: Makefile.in
+===================================================================
+--- Makefile.in (revision 1895)
++++ Makefile.in (working copy)
+@@ -247,7 +247,7 @@
+ Makefile: Makefile.in config.status
+ $(SHELL) config.status
+
+-all-recursive:
++all-recursive: lib/$(PALIB)
+ if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir all; done ; fi
+
+ install-recursive:
Copied: trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999-r1.ebuild (from rev 2770, trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999-r1.ebuild 2013-07-30 18:47:58 UTC (rev 2775)
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF="1"
+inherit autotools-multilib subversion
+
+DESCRIPTION="An open-source cross platform audio API."
+HOMEPAGE="http://www.portaudio.com/"
+ESVN_REPO_URI="https://subversion.assembla.com/svn/${PN}/${PN}/trunk"
+SRC_URI=""
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="alsa +cxx debug jack oss static-libs"
+
+RDEPEND="!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
+ alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+ jack? ( media-sound/jack-audio-connection-kit[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( README.txt )
+HTML_DOCS=( index.html )
+
+PATCHES=( "${FILESDIR}"/${P}-parallel-make.patch )
+
+src_prepare() {
+ autotools-multilib_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug debug-output)
+ $(use_enable cxx)
+ $(use_with alsa)
+ $(use_with jack)
+ $(use_with oss)
+ )
+ autotools-multilib_src_configure
+}
Modified: trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999.ebuild 2013-07-29 18:55:30 UTC (rev 2774)
+++ trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999.ebuild 2013-07-30 18:47:58 UTC (rev 2775)
@@ -4,11 +4,12 @@
EAPI="5"
-inherit subversion autotools-utils
+AUTOTOOLS_AUTORECONF="1"
+inherit autotools-utils subversion
DESCRIPTION="An open-source cross platform audio API."
HOMEPAGE="http://www.portaudio.com/"
-ESVN_REPO_URI="https://subversion.assembla.com/svn/portaudio/portaudio/trunk"
+ESVN_REPO_URI="https://subversion.assembla.com/svn/${PN}/${PN}/trunk"
SRC_URI=""
LICENSE="MIT"
@@ -21,24 +22,21 @@
DEPEND="${RDEPEND}
virtual/pkgconfig"
-S="${WORKDIR}/${PN}"
-
-AUTOTOOLS_AUTORECONF="1"
-
DOCS=( README.txt )
HTML_DOCS=( index.html )
-src_unpack() {
- subversion_src_unpack
+PATCHES=( "${FILESDIR}"/${P}-parallel-make.patch )
+
+src_prepare() {
+ autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
- $(use_enable debug debug-output) \
- $(use_enable cxx) \
- $(use_enable static-libs static) \
- $(use_with alsa) \
- $(use_with jack) \
+ $(use_enable debug debug-output)
+ $(use_enable cxx)
+ $(use_with alsa)
+ $(use_with jack)
$(use_with oss)
)
autotools-utils_src_configure
Modified: trunk/overlays/proaudio/profiles/package.mask
===================================================================
--- trunk/overlays/proaudio/profiles/package.mask 2013-07-29 18:55:30 UTC (rev 2774)
+++ trunk/overlays/proaudio/profiles/package.mask 2013-07-30 18:47:58 UTC (rev 2775)
@@ -3,6 +3,11 @@
# NOTE: Please add your entry at the top!
#
+# Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx> (30 Jul 2013)
+# Highly experimental multilib compatible ebuilds. Some might even be under
+# active developement.
+=media-libs/portaudio-9999-r1
+
# Dominique Michel <dominique@xxxxxxxxxxxxx> 09 Mar (2013)
# Pld qt3 version, need bump to a qt4 version or removing
=media-sound/rivendell-2.1.2