media-libs/pcaudiolib: new package
This commit is contained in:
parent
7663d0cb46
commit
4312db02b9
2 changed files with 36 additions and 0 deletions
34
media-libs/pcaudiolib/pcaudiolib-1.1.ebuild
Normal file
34
media-libs/pcaudiolib/pcaudiolib-1.1.ebuild
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Copyright 1999-2019 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/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
IUSE="+alsa pulseaudio"
|
||||
|
||||
BDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )"
|
||||
|
||||
RDEPEND="${BDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local my_conf=(
|
||||
$(use_with alsa)
|
||||
$(use_with pulseaudio)
|
||||
)
|
||||
econf "${my_conf[@]}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue