diff options
author | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2023-12-21 22:47:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-20 12:22:53 +0000 |
commit | 337873aabab7b7f1f1c7b158d7497008892fcd88 (patch) | |
tree | bd03ade3ee00b1882071c52674bb7b3bd3f7c52e /media-sound/qpwgraph/qpwgraph-0.6.1.ebuild | |
parent | x11-themes/tela-icon-theme: add 20230625 (diff) | |
download | gentoo-337873aabab7b7f1f1c7b158d7497008892fcd88.tar.gz gentoo-337873aabab7b7f1f1c7b158d7497008892fcd88.tar.bz2 gentoo-337873aabab7b7f1f1c7b158d7497008892fcd88.zip |
media-sound/qpwgraph: add 0.6.1, drop old
Closes: https://bugs.gentoo.org/920485
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/34004
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/qpwgraph/qpwgraph-0.6.1.ebuild')
-rw-r--r-- | media-sound/qpwgraph/qpwgraph-0.6.1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/qpwgraph/qpwgraph-0.6.1.ebuild b/media-sound/qpwgraph/qpwgraph-0.6.1.ebuild new file mode 100644 index 000000000000..744009584113 --- /dev/null +++ b/media-sound/qpwgraph/qpwgraph-0.6.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 2023 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 +} |