summaryrefslogtreecommitdiff
path: root/media-libs/faun/faun-0.1.2.ebuild
blob: a5b0eb2e7089151c8592133ea1a0df3c9fa2d5f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2023-2024 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.github.io/faun/"
SRC_URI="https://github.com/WickedSmoke/faun/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

# based on COPYING file
LICENSE="MIT flac? ( GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="flac"

DEPEND="
	media-libs/libpulse
	media-libs/libvorbis
"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/${PN}-0.1.2_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
}