summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2024-09-20 20:50:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-01 20:27:01 +0200
commit515373026147cf85bdc6f84f84fb1fdcbc4a9f00 (patch)
tree0914fb0b1fa63573fe3e66cfa399f480ffa8618a /media-sound/qpwgraph
parentkde-frameworks/kuserfeedback: drop 1.3.0-r3, 1.3.0-r4 (diff)
downloadgentoo-515373026147cf85bdc6f84f84fb1fdcbc4a9f00.tar.gz
gentoo-515373026147cf85bdc6f84f84fb1fdcbc4a9f00.tar.bz2
gentoo-515373026147cf85bdc6f84f84fb1fdcbc4a9f00.zip
media-sound/qpwgraph: add 0.7.8
Closes: https://bugs.gentoo.org/936232 Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/qpwgraph')
-rw-r--r--media-sound/qpwgraph/Manifest1
-rw-r--r--media-sound/qpwgraph/qpwgraph-0.7.8.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/qpwgraph/Manifest b/media-sound/qpwgraph/Manifest
index d5e22c9a82b1..34097dce74cf 100644
--- a/media-sound/qpwgraph/Manifest
+++ b/media-sound/qpwgraph/Manifest
@@ -1 +1,2 @@
DIST qpwgraph-v0.6.2.tar.bz2 213346 BLAKE2B eb2984c0b72d6478a865cad22f9cfb2fcf4098a2d86bd42d69946ccc14780a1c27e8843518b7fc25769bf157090170efe33ff3b95f7df9823ac57c53b465a9ca SHA512 229bc94691206b5bd236c5b998009b799e00c2ca6dd5eb5a1aa7c3ff0c88713d13705700961d536bac82aca6c4ecd8776cd18307f61f9ddc7f5abbdc4e429693
+DIST qpwgraph-v0.7.8.tar.bz2 228111 BLAKE2B 079e5e91d23bd0ded1670b2ab514f5b93f5085dfb76f12e944ff04460544ee858fdde6bacfd3c7d3ad448b880d46e42d8223d0e0562c1752b00631008f47424c SHA512 982cafa0f4d2e17b84de992455d10cb591d77ce8e2c1f052864c3c57de0ecaa67f8d9880a03cf851f5cea24db65ece6a2a42d873bcca4bc43e1de7843548e8f9
diff --git a/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild b/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild
new file mode 100644
index 000000000000..37b4e0ba45ae
--- /dev/null
+++ b/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild
@@ -0,0 +1,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
+}