mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
media-libs/pcaudiolib: initial import
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
media-libs/pcaudiolib/Manifest
Normal file
1
media-libs/pcaudiolib/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pcaudiolib-1.1.tar.gz 34049 BLAKE2B 7c6ce1532c47db30db2b80be690453257148be9a7115cd24dabda3dfcaca667d5c3a8278276f278556406144461cda48905ce581f0fde2f8429b3f829a948a36 SHA512 d503c11b355601e1e05f0f438a0cd9ce277d19fd53d3f7edf26f6e17f1f8184e8b2112a282e8ed74db8646bb5534d2a9a3c707b1742ce02ef13fd89669785007
|
||||
17
media-libs/pcaudiolib/metadata.xml
Normal file
17
media-libs/pcaudiolib/metadata.xml
Normal file
@@ -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>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
39
media-libs/pcaudiolib/pcaudiolib-1.1.ebuild
Normal file
39
media-libs/pcaudiolib/pcaudiolib-1.1.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+ ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="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() {
|
||||
econf \
|
||||
$(use_with oss) \
|
||||
$(use_with alsa) \
|
||||
$(use_with pulseaudio)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm "${ED}"/usr/lib*/libpcaudio.{a,la} || die
|
||||
}
|
||||
Reference in New Issue
Block a user