media-sound/qpwgraph: add new ebuild

This commit is contained in:
Alexander Miroshnichenko 2022-03-31 13:03:51 +03:00
parent 2a1f07baf8
commit d066560d9e
Signed by: alex
GPG Key ID: E93720C6C73A77F4
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST qpwgraph-v0.2.4.tar.bz2 439327 BLAKE2B 2232c246f27c29d7f97d0d2312dfad2fb89e78fb765816ff41f0d1717a1dc7bfc693e9d17b19694beb966504210833427b2b9266a70e5cb432f9013118e82130 SHA512 bb0fb028ccc120da8717656637ae4255269494eaa8f64fe2d3b14d1de21e9a2997741b510ae7ddccbb394192c91f34ab4b5be33f96c60c638e2bf307a98cf9e3
EBUILD qpwgraph-0.2.4.ebuild 960 BLAKE2B 9f060f20e35556c19fb85edc5d4d73da3e1e4f8ce471d44a222c96566b79ef68aabf18e561e64aa1c8c98284e62a5945d43ee9c392092cbe56aa586667691e13 SHA512 0346d1c1d8a8ca1e806d4cbb8e7b627a4f3aa2deac3d8b7674596eebf17314963b81f76038eb45df65e831839a5686b5a37360b8abcebce8f23cec4b55119a26

View File

@ -0,0 +1,38 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="PipeWire Graph Qt GUI Interface"
HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
SRC_URI="https://gitlab.freedesktop.org/rncbc/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
inherit cmake
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa -debug tray -wayland"
DEPEND="alsa? ( media-libs/alsa-lib )
tray? ( dev-qt/qtnetwork:5 )
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
>=media-video/pipewire-0.3:="
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/${PN}-v${PV}"
src_configure() {
local mycmakeargs=(
-DCONFIG_ALSA_MIDI=$(usex alsa 1 0)
-DCONFIG_SYSTEM_TRAY=$(usex tray 1 0)
-DCONFIG_DEBUG=$(usex debug 1 0)
-DCONFIG_WAYLAND=$(usex wayland 1 0)
-DCONFIG_QT6=0
)
cmake_src_configure
}