summaryrefslogtreecommitdiff
path: root/media-sound/qloud/qloud-1.4.3.ebuild
blob: 7376d4be8c1ba547b6386ca0b81322b7e1b9c85a (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
38
39
40
41
42
43
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit qmake-utils

DESCRIPTION="Tool to measure loudspeaker frequency and step responses and distortions"
HOMEPAGE="https://github.com/molke-productions/qloud"
if [[ "${PV}" == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/molke-productions/${PN}"
else
	SRC_URI="https://github.com/molke-productions/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-2"
SLOT="0"

RESTRICT="test"

BDEPEND="
	dev-qt/qttools:6[linguist]
"
RDEPEND="
	dev-qt/qtcharts:6
	dev-qt/qtbase:6[gui,widgets,xml]
	media-libs/libsndfile
	sci-libs/fftw:3.0
	virtual/jack
"
DEPEND="${RDEPEND}"

src_configure() {
	eqmake6 PREFIX="${EPREFIX}/usr"
}

src_install() {
	emake \
		INSTALL_ROOT="${D}" \
		install
}