From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9A8D1382C5 for ; Tue, 26 May 2020 18:20:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5F92E0963; Tue, 26 May 2020 18:20:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CD5CE0963 for ; Tue, 26 May 2020 18:20:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81BCD34EE1B for ; Tue, 26 May 2020 18:20:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 606BB1DA for ; Tue, 26 May 2020 18:20:11 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1590517205.102546f0b95e6de750d0ddb05f1d4bf2f3ac3016.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/portaudio/files/, media-libs/portaudio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/portaudio/files/portaudio-19.06.00-AR.patch media-libs/portaudio/portaudio-19.06.00-r3.ebuild X-VCS-Directories: media-libs/portaudio/files/ media-libs/portaudio/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 102546f0b95e6de750d0ddb05f1d4bf2f3ac3016 X-VCS-Branch: master Date: Tue, 26 May 2020 18:20:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cbe8d7c4-aeca-4261-be3d-918614d78d4d X-Archives-Hash: eaf545439d45980698e9fb77335643cc commit: 102546f0b95e6de750d0ddb05f1d4bf2f3ac3016 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue May 26 18:17:56 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue May 26 18:20:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102546f0 media-libs/portaudio: respect AR setting, bug #720966 AC_PATH_PROG only accepts absolute paths. AC_CHECK_PROG is a correct way to detect binary names. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/720966 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> .../portaudio/files/portaudio-19.06.00-AR.patch | 14 +++++ media-libs/portaudio/portaudio-19.06.00-r3.ebuild | 72 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/media-libs/portaudio/files/portaudio-19.06.00-AR.patch b/media-libs/portaudio/files/portaudio-19.06.00-AR.patch new file mode 100644 index 00000000000..4628c0aff92 --- /dev/null +++ b/media-libs/portaudio/files/portaudio-19.06.00-AR.patch @@ -0,0 +1,14 @@ +Accept relative paths to AR as well. + +https://bugs.gentoo.org/720966 +--- a/configure.in ++++ b/configure.in +@@ -105,7 +105,7 @@ AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL + AC_PROG_INSTALL + AC_PROG_LN_S +-AC_PATH_PROG(AR, ar, no) ++AC_CHECK_PROG(AR, ar, no) + if [[ $AR = "no" ]] ; then + AC_MSG_ERROR("Could not find ar - needed to create a library") + fi diff --git a/media-libs/portaudio/portaudio-19.06.00-r3.ebuild b/media-libs/portaudio/portaudio-19.06.00-r3.ebuild new file mode 100644 index 00000000000..5664a73ea98 --- /dev/null +++ b/media-libs/portaudio/portaudio-19.06.00-r3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools multilib-minimal + +DESCRIPTION="A free, cross-platform, open-source, audio I/O library" +HOMEPAGE="http://www.portaudio.com/" +SRC_URI="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz + https://sources.debian.org/data/main/p/portaudio19/19.6.0-1/debian/patches/audacity-portmixer.patch -> ${PN}-19.06.00-audacity-portmixer.patch" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="alsa +cxx debug doc jack oss static-libs" + +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 +" + +S="${WORKDIR}/${PN}" + +DOCS=( README.txt ) + +PATCHES=( + "${DISTDIR}/${PN}-19.06.00-audacity-portmixer.patch" + "${FILESDIR}"/${PN}-19.06.00-AR.patch # bug #720966, trigger reconf +) + +src_prepare() { + default + + eautoconf +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable debug debug-output) + $(use_enable cxx) + $(use_enable static-libs static) + $(use_with alsa) + $(use_with jack) + $(use_with oss) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + # workaround parallel build issue + emake lib/libportaudio.la + emake +} + +src_compile() { + multilib-minimal_src_compile + + if use doc; then + doxygen -u Doxyfile || die + doxygen Doxyfile || die + fi +} + +multilib_src_install_all() { + einstalldocs + use doc && dodoc -r doc/html + find "${ED}" -name "*.la" -delete || die +}