diff options
author | William Hubbs <williamh@gentoo.org> | 2022-09-08 20:32:08 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-09-08 20:32:08 -0500 |
commit | f7511623cf1dec06431d1c96dee28509e689c21c (patch) | |
tree | 4450b22b0c91a5f136444a0eaaf2e49b93e91b9a /media-libs | |
parent | */*: Standardize architecture team names (diff) | |
download | gentoo-f7511623cf1dec06431d1c96dee28509e689c21c.tar.gz gentoo-f7511623cf1dec06431d1c96dee28509e689c21c.tar.bz2 gentoo-f7511623cf1dec06431d1c96dee28509e689c21c.zip |
media-libs/pcaudiolib: add 1.2
Closes: https://bugs.gentoo.org/867793
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/pcaudiolib/Manifest | 1 | ||||
-rw-r--r-- | media-libs/pcaudiolib/pcaudiolib-1.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
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 +} |