[proaudio] proaudio/proaudio: [3223] take portage ebuild and make it to work with portaudio-9999

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 3223
Author:   dominique
Date:     2021-12-17 11:23:59 +0100 (Fri, 17 Dec 2021)
Log Message:
-----------
take portage ebuild and make it to work with portaudio-9999

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

Removed Paths:
-------------
    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	2021-12-17 08:50:08 UTC (rev 3222)
+++ trunk/overlays/proaudio/media-libs/portaudio/ChangeLog	2021-12-17 10:23:59 UTC (rev 3223)
@@ -1,14 +1,19 @@
 # ChangeLog for media-libs/portaudio
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2021 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+-portaudio-9999-r1 (16 Dec 2013)
+
+  16 Dec 2021; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
+  portaudio-9999.ebuild: use portage ebuild and make it to work with 9999.
+
   15 Nov 2016; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
   portaudio-9999.ebuild, portaudio-9999-r1.ebuild: disabled
   dependency tracking
   metadata.xml:
-  
-*portaudio-9999-r1 (30 Jul 2013)
 
++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:

Modified: trunk/overlays/proaudio/media-libs/portaudio/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/Manifest	2021-12-17 08:50:08 UTC (rev 3222)
+++ trunk/overlays/proaudio/media-libs/portaudio/Manifest	2021-12-17 10:23:59 UTC (rev 3223)
@@ -1,5 +1,4 @@
-AUX portaudio-9999-parallel-make.patch 694 SHA256 bc8da5e8ece7fcef68beaaca1a80ea25aa966eb97e6d82ed44a8caee435da3c4 SHA512 2b59a7b61a93b126d9435857ae5a7ca81e1e8df553c7b7fe3ace18a272a8dd9a55b5ff76d2423abc6902c780e7ab47833fd2feeb3cc6de56b9cffaa9e4102e8a WHIRLPOOL 9118989f9f8932fd19fc4cc447c202191c0ff89d21e5cf4c99a89a39a1054f2c0f7f06d9252bda693d93c07ec1d76aaf8f6fb195a48ad785ea160167ffa9969a
-EBUILD portaudio-9999-r1.ebuild 1020 SHA256 28800cbfdfad08ddd42bebf02e0e23c0600966e0b17ae1ce1bf626ec5fa98e80 SHA512 a02dc0bb58e7027d8a34ab928e4f2d7b2522c77c1bab8496895cf0849f449c95e97d93f7d5a9be09436e2182d5cc56869eacb7d16bc620cf1e9586d14707c053 WHIRLPOOL 38cb6762ae5232a992ecf3433feab41eef1a03bdeec27b3a79d87ff1826f1fa5184dd5b5dd8db629dc5443b38b5c4742d0b77cee2a26402e45cd83a31cdfb02a
-EBUILD portaudio-9999.ebuild 914 SHA256 58c7489ec7dfc02d3ddae2a6754d2caaa5a2e537ee403f5ccf7a7f8b8e1f089e SHA512 6990becd889578f2ee22c16d2acbfa8d76030eadaa151b71dd4fdf4926c6f20ca39e42006d74c68524e2cf41c3815f159437860869e8a533b2a69b92b98ac2e6 WHIRLPOOL d43f9a73f97822ee397dcbefea17d44304ed8de0fc53818005b957c2b5e46158fe3149559e5390e4190405d1e8616261d74e79587b7f55323e32e5eebbf3caa8
-MISC ChangeLog 2324 SHA256 0d52fa9e909fefd3fdcf7b7e2d356e17c8b594f1f37e5ddee5ae8884b9c89067 SHA512 2ccb226a4f1375ecde0a3a70e07d1b06ff2e61a60f2488c9290fb454901b2a0f55a74b7dc23050d3bfc86094f1b1982a7048db7f899629f67e37fc5f66a52b60 WHIRLPOOL 7d41d72d5da6908b6057d7583b300b44413d32f47b45cecd034afda15d682a9099b00f8ee6bd642cd1471f3ba051d48f5cc069dbc4874b3a6b638a0f5fab75bb
-MISC metadata.xml 261 SHA256 3812db1cff66d287c945fc7987f7d2cb37fea10ad28fdae3b7277beb8cfe7392 SHA512 590077890c7cc0e1fd1c8b4388764030dcf95e6bd04f996a73839809b011e666a859417ae2ec91eba8af11e4fe5bbe9c89791e1eccd23b7fc6ec43cca304e0b1 WHIRLPOOL 539e44c7fa67fe66d40aea271af64a7da8cb15c7f990400572ea7372b6268575cf1bf1d536772276b8df4340a7919392d21120a7f7321d198a24460b3b383154
+AUX portaudio-9999-parallel-make.patch 694 BLAKE2B b51c11776ff095f2dc3f8e5fe1e8b6f74dd675aacbf09701b3b942089d0d22cdefd069455b606137cb67603acaed759391447db95472eabf9e1ae8fea2ac7cac SHA512 2b59a7b61a93b126d9435857ae5a7ca81e1e8df553c7b7fe3ace18a272a8dd9a55b5ff76d2423abc6902c780e7ab47833fd2feeb3cc6de56b9cffaa9e4102e8a
+EBUILD portaudio-9999.ebuild 1353 BLAKE2B d8cd16b9adea139dd817217d0cd0b8aab345e5cb3fd6642873259647de00c87d5716462ecd63ce149979686cba7e55d2d8ec3992c5716f25458881d427484fb7 SHA512 b99fb716fff36e13cb01a3568a8a60e6603272a6eb232fc1f6f4d264711c8fb6c3950f78a9fe3f1cfb33029cbfb99f21c9e75334cdab111281541471196954f8
+MISC ChangeLog 2498 BLAKE2B b65ed13d4fb0ef977653f0558ca381436b48b94a8f5b4a73777838948e2c7f9fa5fc6687b4bd83efb7138e0d07b376529e779b2dc18b1a37a628415bd3293879 SHA512 8c5fdc643770dfa34d6643625145c2a3120461fe47c8bfd6546ba6554083cecb2943d77ea3429c522c2ff6187849010bca383bbb5b9a1a71422e206808edd63a
+MISC metadata.xml 261 BLAKE2B ab09b95e48499595f240d83a5a2328b206d5983b57bbd4f6a0ba5f695a5be713ca35aaa6106a06a83a2e471d646e2ae12069c0779178823f1f9f30bd234a1dfe SHA512 590077890c7cc0e1fd1c8b4388764030dcf95e6bd04f996a73839809b011e666a859417ae2ec91eba8af11e4fe5bbe9c89791e1eccd23b7fc6ec43cca304e0b1

Deleted: trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999-r1.ebuild	2021-12-17 08:50:08 UTC (rev 3222)
+++ trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999-r1.ebuild	2021-12-17 10:23:59 UTC (rev 3223)
@@ -1,45 +0,0 @@
-# Copyright 1999-2016 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? ( virtual/jack[${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=(
-		--disable-dependency-tracking
-		$(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	2021-12-17 08:50:08 UTC (rev 3222)
+++ trunk/overlays/proaudio/media-libs/portaudio/portaudio-9999.ebuild	2021-12-17 10:23:59 UTC (rev 3223)
@@ -1,11 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="5"
+EAPI="7"
 
-AUTOTOOLS_AUTORECONF="1"
-inherit autotools-utils subversion
+inherit autotools multilib-minimal subversion
 
 DESCRIPTION="An open-source cross platform audio API."
 HOMEPAGE="http://www.portaudio.com/";
@@ -15,30 +14,56 @@
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
-IUSE="alsa +cxx debug jack oss static-libs"
+IUSE="alsa +cxx debug doc jack oss static-libs"
 
-RDEPEND="alsa? ( media-libs/alsa-lib )
-	jack? ( virtual/jack )"
-DEPEND="${RDEPEND}
+RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )
 	virtual/pkgconfig"
 
 DOCS=( README.txt )
-HTML_DOCS=( index.html )
+#HTML_DOCS=( index.html )
 
-PATCHES=( "${FILESDIR}"/${P}-parallel-make.patch )
+#PATCHES=( "${FILESDIR}"/${P}-parallel-make.patch )
 
 src_prepare() {
-	autotools-utils_src_prepare
+	default
+	eautoconf
 }
 
-src_configure() {
+multilib_src_configure() {
 	local myeconfargs=(
-		--disable-dependency-tracking
 		$(use_enable debug debug-output)
 		$(use_enable cxx)
+		$(use_enable static-libs static)
 		$(use_with alsa)
 		$(use_with jack)
 		$(use_with oss)
 	)
-	autotools-utils_src_configure
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
+
+multilib_src_compile() {
+	# workaround parallel build issue
+#	emake lib/libportaudio.la
+#	emake
+	default
+}
+
+src_compile() {
+	multilib_src_compile
+
+	if use doc; then
+		doxygen -u Doxyfile || die
+		doxygen Doxyfile || die
+	fi
+}
+
+multilib_src_install_all() {
+	default
+
+	use doc && dodoc -r doc/html
+
+	find "${ED}" -name "*.la" -delete || die
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/