mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 06:35:19 +02:00
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42475 Signed-off-by: Sam James <sam@gentoo.org>
38 lines
731 B
Bash
38 lines
731 B
Bash
# Copyright 2023-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit edo toolchain-funcs
|
|
|
|
DESCRIPTION="A high-level C audio library"
|
|
HOMEPAGE="https://wickedsmoke.codeberg.page/faun_doc/"
|
|
SRC_URI="https://codeberg.org/wickedsmoke/faun/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="flac"
|
|
|
|
DEPEND="
|
|
flac? ( media-libs/flac )
|
|
media-libs/libpulse
|
|
media-libs/libvorbis
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.2.1_makefile.patch"
|
|
)
|
|
|
|
src_configure() {
|
|
tc-export CC
|
|
# custom configure
|
|
edo ./configure $(usex !flac --no_flac "")
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}/usr" install
|
|
dodoc README.md
|
|
}
|