mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
media-sound/qpwgraph: new ebuild
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
5
media-sound/qpwgraph/Manifest
Normal file
5
media-sound/qpwgraph/Manifest
Normal file
@@ -0,0 +1,5 @@
|
||||
AUX 0.3.4-multiple_user.patch 700 BLAKE2B de5fc098efb0a46edf97b905617d4c643b40abf83dc4c4c07fb16e519ca86f6cf02f24c6292b513a353cf7cd20049278c9908a48c6c4e13f95a64421fff5f30b SHA512 6f51fd351024cb27b0707be864718d1d8d9ba7cd553d8bb87b3f097d39f5d59d659caadfb880a1ebc866ff230d07cc8d0a62343048a1b4dfafc52f586cb45def
|
||||
DIST qpwgraph-0.3.9.tar.bz2 448732 BLAKE2B 68415f75accf29da138367239755375affbe585a469bbaf387a942c34a7f6a866dc38e276ba7ae659adf9ee26996cce08fa0da53734c943baf82c4b74a1cdcda SHA512 c8fba3edd93dd466a5f1655e1ff260cbdd054ba13a962afb5f2ba8634eb850f748faac0b6073576090c4e31520ea634e08d1d746809563a887ffc701ffa4b30a
|
||||
EBUILD qpwgraph-0.3.9.ebuild 838 BLAKE2B 387365f976bff58244427994ec817c6f523a52802ec7170d4c9cf94c8ed836bda923966aa5ce4a7f2b28e220edb1893ee24faca339607a8dcbfef2d03dee52b4 SHA512 8303fa7569b6f100887f519b6a852eb58b711086095d2949f8f0232792d56afc3db67142560c516e67b9ad8baa47c825777e34672d215e90925a0728cad7bd5c
|
||||
EBUILD qpwgraph-9999.ebuild 990 BLAKE2B e08a479f577d68607becb5cd2f58a21671b991a7c40d2f5cb5afac660fac23eee7229e15ee28f5b7d746e05246bc1a5a1657fae20e385b927b0ce9be6c6b9250 SHA512 d5be50f7581aed14d1867f5c9e80f58e20c2a08fd3b77aff992e3f3ced675ddd971435b39d50baa26c5c0f549d427901a263debdaae334447d37151ab5b53e91
|
||||
MISC metadata.xml 546 BLAKE2B 251078ccbd300f58924eb2eaf6e5b99c1efd403767032190fc40a7a0b1aeea3bec40f07a07a1a8e0b22f5e50bc62682475dd4552ecceb72e970ce6c06e50c517 SHA512 551c6e19aaf0f31dec2bc785813ad6b159b0dcead74928d0443bda72bcfe5116e348979e3843462fe021eda084f4697300a44fa174806c0358ff7d55f045e0b7
|
||||
18
media-sound/qpwgraph/metadata.xml
Normal file
18
media-sound/qpwgraph/metadata.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project" proxied="yes">
|
||||
<name>Samuel BAUER</name>
|
||||
<email>samuel.bauer@yahoo.fr</email>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">rncbc/qpwjack</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="trayicon">Build support for tray icon</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
41
media-sound/qpwgraph/qpwgraph-0.3.9.ebuild
Normal file
41
media-sound/qpwgraph/qpwgraph-0.3.9.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2022 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"
|
||||
SRC_URI="https://gitlab.freedesktop.org/rncbc/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="alsa trayicon wayland"
|
||||
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
media-video/pipewire
|
||||
trayicon? ( dev-qt/qtnetwork:5 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-qt/qtsvg:5
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}-v${PV}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCONFIG_ALSA_MIDI=$(usex alsa)
|
||||
-DCONFIG_SYSTEM_TRAY=$(usex trayicon)
|
||||
-DCONFIG_WAYLAND=$(usex wayland)
|
||||
-DCONFIG_QT6=0
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
44
media-sound/qpwgraph/qpwgraph-9999.ebuild
Normal file
44
media-sound/qpwgraph/qpwgraph-9999.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake git-r3 xdg
|
||||
|
||||
DESCRIPTION="PipeWire Graph Qt GUI Interface"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
|
||||
EGIT_REPO="https://gitlab.freedesktop.org/rncbc/qpwgraph"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
dev-qt/qtxml:5
|
||||
media-video/pipewire"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-qt/qtsvg:5
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# A small tweak in socket name that allow multiple user at same time
|
||||
# See https://github.com/rncbc/qpwgraph/issues/1
|
||||
sed -i -e "/@/a m_unique += qgetenv(\"USER\");\n m_unique += '-';" src/qpwgraph.cpp || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCONFIG_ALSA_MIDI=$(usex alsa)
|
||||
-DCONFIG_SYSTEM_TRAY=$(usex trayicon)
|
||||
-DCONFIG_WAYLAND=$(usex wayland)
|
||||
-DCONFIG_QT6=0
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user