aboutsummaryrefslogtreecommitdiffstats
path: root/media-libs/libaudec/libaudec-0.3.4.ebuild
blob: 77ce8f009de7216a1ae6dfa405fff8a6c1185f17 (plain) (blame)
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
38
39
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="library for reading and resampling audio files"

HOMEPAGE="https://git.zrythm.org/zrythm/libaudec/"

SRC_URI="https://git.zrythm.org/zrythm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}"

LICENSE="AGPL-3+"

SLOT="0"

KEYWORDS="~amd64"

IUSE="test"

RESTRICT="!test? ( test )"

RDEPEND=">=media-libs/libsamplerate-0.1.8
>=media-libs/libsndfile-1.0.25"

DEPEND="${RDEPEND}"

BDEPEND="dev-util/meson
dev-util/cmake"

src_configure() {
	local emesonargs=(
		$(meson_use test tests)
	)
	meson_src_configure
}