blob: 37b4e0ba45ae3d140fa7d1dcd0b025bed03f9af6 (
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
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="PipeWire Graph Qt GUI Interface"
HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph"
else
SRC_URI="https://gitlab.freedesktop.org/rncbc/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
S="${WORKDIR}/${PN}-v${PV}"
KEYWORDS="~amd64"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="alsa trayicon qt6 wayland"
BDEPEND="
!qt6? ( dev-qt/linguist-tools:5 )
qt6? ( dev-qt/qttools:6[linguist] )
"
DEPEND="
media-video/pipewire:=
alsa? ( media-libs/alsa-lib )
!qt6? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
)
qt6? (
dev-qt/qtbase:6[gui,widgets,xml,network]
dev-qt/qtsvg:6
)
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DCONFIG_ALSA_MIDI=$(usex alsa)
-DCONFIG_SYSTEM_TRAY=$(usex trayicon)
-DCONFIG_WAYLAND=$(usex wayland)
-DCONFIG_QT6=$(usex qt6)
)
cmake_src_configure
}
|