summaryrefslogtreecommitdiff
blob: e48415891a2b0bd2f37b70f5771d5b20523be4a3 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Check whether a given LV2 plugin is up to the specification"
HOMEPAGE="https://git.open-music-kontrollers.ch/~hp/lv2lint"
SRC_URI="https://git.open-music-kontrollers.ch/~hp/lv2lint/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Artistic-2 CC0-1.0 ISC"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"

DEPEND="
	media-libs/lilv
	media-libs/lv2
	virtual/libelf
"
RDEPEND="${DEPEND}"

src_configure() {
	# TODO: on next release (>0.16.2), wire up -Dbuild-tests
	local emesonargs=(
		-Db_lto=false

		# See README, these are for runtime tests of *other* things (plugins)
		-Donline-tests=disabled
		-Delf-tests=enabled
		-Dx11-tests=disabled
	)

	meson_src_configure
}