media-libs/pcaudiolib: new package

This commit is contained in:
nemunaire 2019-11-25 19:13:29 +01:00
parent 7663d0cb46
commit 4312db02b9
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST pcaudiolib-1.1.tar.gz 34049 BLAKE2B 7c6ce1532c47db30db2b80be690453257148be9a7115cd24dabda3dfcaca667d5c3a8278276f278556406144461cda48905ce581f0fde2f8429b3f829a948a36 SHA512 d503c11b355601e1e05f0f438a0cd9ce277d19fd53d3f7edf26f6e17f1f8184e8b2112a282e8ed74db8646bb5534d2a9a3c707b1742ce02ef13fd89669785007
EBUILD pcaudiolib-1.1.ebuild 637 BLAKE2B 924e2b250517c07c24ab543ad4e7502783314797829fc4c2c2af0dbc4f435fe29c58bc1bcc4f832bdd42f2211d1211bd931044b64796764ce0ce495a3206e544 SHA512 fffe2631aacc57fc3db059be78091d8c482dafb4be6dde621cbd12de8c168dc0361341ca3f8ba6efef3c2765bdeeb27578013859208925e793b5a3dc2fdb8b24

View 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[@]}"
}