gentoo-ebuilds/media-libs/faun/faun-0.2.3.ebuild
Azamat H. Hackimov d45abf3582
media-libs/faun: add 0.2.3
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>
2025-06-07 05:02:16 +01:00

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
}