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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D82D1158095 for ; Fri, 9 Sep 2022 01:32:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC6C4E09D9; Fri, 9 Sep 2022 01:32:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2143E09D9 for ; Fri, 9 Sep 2022 01:32:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 978AE340B28 for ; Fri, 9 Sep 2022 01:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFE765B1 for ; Fri, 9 Sep 2022 01:32:27 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1662687128.f7511623cf1dec06431d1c96dee28509e689c21c.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/pcaudiolib/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/pcaudiolib/Manifest media-libs/pcaudiolib/pcaudiolib-1.2.ebuild X-VCS-Directories: media-libs/pcaudiolib/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: f7511623cf1dec06431d1c96dee28509e689c21c X-VCS-Branch: master Date: Fri, 9 Sep 2022 01:32:27 +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: fe0f2828-1e9c-4729-af35-db212eb184fd X-Archives-Hash: 28413e5f3960dfdb6903cfecb8d57ed1 commit: f7511623cf1dec06431d1c96dee28509e689c21c Author: William Hubbs gentoo org> AuthorDate: Fri Sep 9 01:32:08 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Sep 9 01:32:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7511623 media-libs/pcaudiolib: add 1.2 Closes: https://bugs.gentoo.org/867793 Signed-off-by: William Hubbs gentoo.org> media-libs/pcaudiolib/Manifest | 1 + media-libs/pcaudiolib/pcaudiolib-1.2.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/media-libs/pcaudiolib/Manifest b/media-libs/pcaudiolib/Manifest index eeceaf3b6381..e20a025fcce5 100644 --- a/media-libs/pcaudiolib/Manifest +++ b/media-libs/pcaudiolib/Manifest @@ -1 +1,2 @@ DIST pcaudiolib-1.1.tar.gz 34049 BLAKE2B 7c6ce1532c47db30db2b80be690453257148be9a7115cd24dabda3dfcaca667d5c3a8278276f278556406144461cda48905ce581f0fde2f8429b3f829a948a36 SHA512 d503c11b355601e1e05f0f438a0cd9ce277d19fd53d3f7edf26f6e17f1f8184e8b2112a282e8ed74db8646bb5534d2a9a3c707b1742ce02ef13fd89669785007 +DIST pcaudiolib-1.2.tar.gz 34310 BLAKE2B a16e50fd789a88f10a56323afd2637c13e2383392cc287aad4cd8ef3f1f475c2754dca53e0fd5453b5fc9ee45392a0b9b6d8d7a2d0e88214e6194bbc2ce1e1ff SHA512 0a0fe2a21a8410ad5196272cc579137764d5a4beba16b3c5cf46cd2967132bb48def4c7977a7ae48ff1a0a6d53e454affc6c5add503e73e7805f15aa93231af3 diff --git a/media-libs/pcaudiolib/pcaudiolib-1.2.ebuild b/media-libs/pcaudiolib/pcaudiolib-1.2.ebuild new file mode 100644 index 000000000000..c970226f0a74 --- /dev/null +++ b/media-libs/pcaudiolib/pcaudiolib-1.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Portable C Audio Library" +HOMEPAGE="https://github.com/espeak-ng/pcaudiolib" +SRC_URI="https://github.com/espeak-ng/pcaudiolib/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+ ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+alsa oss pulseaudio" + +REQUIRED_USE="|| ( alsa oss pulseaudio )" + +RDEPEND=" + alsa? ( >=media-libs/alsa-lib-1.0.18 ) + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local econf_args + econf_args=( + $(use_with oss) + $(use_with alsa) + $(use_with pulseaudio) + --disable-static + ) + econf "${econf_args[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}