summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin65982 -> 65975 bytes
-rw-r--r--media-libs/pcaudiolib/Manifest2
-rw-r--r--media-libs/pcaudiolib/pcaudiolib-1.2.ebuild45
3 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index 6fec6a095ea5..848b12f691b2 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/pcaudiolib/Manifest b/media-libs/pcaudiolib/Manifest
index 5b6d409a102e..58fcce7b01eb 100644
--- a/media-libs/pcaudiolib/Manifest
+++ b/media-libs/pcaudiolib/Manifest
@@ -1,3 +1,5 @@
DIST pcaudiolib-1.1.tar.gz 34049 BLAKE2B 7c6ce1532c47db30db2b80be690453257148be9a7115cd24dabda3dfcaca667d5c3a8278276f278556406144461cda48905ce581f0fde2f8429b3f829a948a36 SHA512 d503c11b355601e1e05f0f438a0cd9ce277d19fd53d3f7edf26f6e17f1f8184e8b2112a282e8ed74db8646bb5534d2a9a3c707b1742ce02ef13fd89669785007
+DIST pcaudiolib-1.2.tar.gz 34310 BLAKE2B a16e50fd789a88f10a56323afd2637c13e2383392cc287aad4cd8ef3f1f475c2754dca53e0fd5453b5fc9ee45392a0b9b6d8d7a2d0e88214e6194bbc2ce1e1ff SHA512 0a0fe2a21a8410ad5196272cc579137764d5a4beba16b3c5cf46cd2967132bb48def4c7977a7ae48ff1a0a6d53e454affc6c5add503e73e7805f15aa93231af3
EBUILD pcaudiolib-1.1.ebuild 906 BLAKE2B 476584493a6df9208eabaae5624ff8dd7b8baf0fd446925d36aa8a745d8ca65de7dd63c956e7c491056b7922a67685c8d28dc2e0802eda65d8b3fe5ad38b671d SHA512 6bf05d943836af577e4e707513707e7fd089ca86e290b9684a1fe5c7285096ca36ceb906e2360929275290f6454cad3e8040b1c94fc89613325d743ca15c01bd
+EBUILD pcaudiolib-1.2.ebuild 913 BLAKE2B ed457308eefb1dc8dae0df707d4fe75d061c5b7acc03421d6a1ba086d714fc5c5e636389609c9ae0e2549417c5aa090afa885dcfa00de62d0f0e2552a2003868 SHA512 3aca7ce944a82177edc4a065afe4a55bc9bf535e5674db17ee16f5b20aeb765dbc4c4c3d7eb463681e2bc5359ab5dc2537bb04941d5a0e2f7af77255e07c9d6b
MISC metadata.xml 588 BLAKE2B e148577ddfbf9688495e1a620708903f0bbe126ea9bff194e6b0f75a0e2a36ec52567f4d7a86381f89fb6c2e828ae372217e983d30810bb62dc60c0692420fed SHA512 d5de3f26535c7b147515cd9952951ed16be99345d309c7110c36a93fcd3f44f43373293d082c60170dfe5e05956d22b4c2cc1dd7343b3c28188f935ba8feaadf
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
+}