pkgname=qpwgraph pkgver=0.8.0 pkgrel=1 pkgdesc="Graph manager dedicated to PipeWire, based on and pretty much the same of QjackCtl." url="https://gitlab.freedesktop.org/rncbc/qpwgraph" arch=('x86_64') license=('GPL') depends=('alsa-lib' 'pipewire' 'qt6-base' 'qt6-svg') makedepends=('cmake' 'qt6-tools') options=('!makeflags') groups=('multimedia') source=("https://www.rncbc.org/archive/${pkgname}-${pkgver}.tar.gz") md5sums=('738fe52a81611d6bd029cfe9d1d0f544') build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCONFIG_WAYLAND=ON \ -DCONFIG_QT6=ON cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }