summaryrefslogtreecommitdiff
path: root/media-libs/pcaudiolib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /media-libs/pcaudiolib
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'media-libs/pcaudiolib')
-rw-r--r--media-libs/pcaudiolib/Manifest3
-rw-r--r--media-libs/pcaudiolib/metadata.xml17
-rw-r--r--media-libs/pcaudiolib/pcaudiolib-1.1.ebuild44
3 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/pcaudiolib/Manifest b/media-libs/pcaudiolib/Manifest
new file mode 100644
index 000000000000..4a58c51f9b5b
--- /dev/null
+++ b/media-libs/pcaudiolib/Manifest
@@ -0,0 +1,3 @@
+DIST pcaudiolib-1.1.tar.gz 34049 BLAKE2B 7c6ce1532c47db30db2b80be690453257148be9a7115cd24dabda3dfcaca667d5c3a8278276f278556406144461cda48905ce581f0fde2f8429b3f829a948a36 SHA512 d503c11b355601e1e05f0f438a0cd9ce277d19fd53d3f7edf26f6e17f1f8184e8b2112a282e8ed74db8646bb5534d2a9a3c707b1742ce02ef13fd89669785007
+EBUILD pcaudiolib-1.1.ebuild 829 BLAKE2B d9afafebd3eb748583524c0124f2c4d28d70ba0054a9895a12b51dc149360694469b5f9664bcaa452c5f4e5c2504eb5dddd5731a13079a4e2429ed9000016b75 SHA512 7f589e8981d867b3d8fc194c46cd7da8cea1214054440550553a0665333036d6c27aff41bb73407dd6fee214fa69e1e67ee474d26bc477601aa76c91c08b6335
+MISC metadata.xml 587 BLAKE2B 8e440fdab1383e734543c921f69db7cf5fa10714ac903845f453349af14f2008e0976206d85118d8acc10c40bc9cf579d06b01578595c112637605993bfc6555 SHA512 f9737ed539062e93481f4715837f9956667e5e73c8e4cebbdc1a639c1899cb79c13e26f8076929eff92e4b5bf4ccedecd50d31fb75d23fcea46af58c280df382
diff --git a/media-libs/pcaudiolib/metadata.xml b/media-libs/pcaudiolib/metadata.xml
new file mode 100644
index 000000000000..e6100e145988
--- /dev/null
+++ b/media-libs/pcaudiolib/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <maintainer>
+ <name>Reece H. Dunn</name>
+ <email>msclrhd@gmail.com</email>
+ </maintainer>
+ <remote-id type="github">espeak-ng/pcaudiolib</remote-id>
+ <bugs-to>https://github.com/espeak-ng/pcaudiolib/issues</bugs-to>
+ <changelog>https://github.com/espeak-ng/pcaudiolib/raw/master/CHANGELOG.md</changelog>
+ </upstream>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-libs/pcaudiolib/pcaudiolib-1.1.ebuild b/media-libs/pcaudiolib/pcaudiolib-1.1.ebuild
new file mode 100644
index 000000000000..eb7b4b4ff88a
--- /dev/null
+++ b/media-libs/pcaudiolib/pcaudiolib-1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 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="~amd64"
+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)
+ )
+ econf "${econf_args[@]}"
+}
+
+src_install() {
+ default
+ rm "${ED}"/usr/lib*/libpcaudio.{a,la} || die
+}