# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=qpwgraph pkgver=0.5.2 pkgrel=0 pkgdesc="Graph manager for PipeWire" url="https://gitlab.freedesktop.org/rncbc/qpwgraph" license="GPL-2.0-or-later" arch="all" makedepends="cmake samurai alsa-lib-dev pipewire-dev qt6-qtbase-dev qt6-qtsvg-dev" subpackages="$pkgname-doc" source="https://gitlab.freedesktop.org/rncbc/qpwgraph/-/archive/v$pkgver/qpwgraph-v$pkgver.tar.gz ungit-version.patch " builddir="$srcdir/$pkgname-v$pkgver" options="!check" # no test suite build() { CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCONFIG_WAYLAND=ON cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 541d136eea8b4e6d0492ac64b42deca9ff0e7b6c8c201e279bd31a9f8c0e2058f2ba3b539eea75786ab177b71b5abc2618208b8a9d0179702d8fdfba2bca0dd0 qpwgraph-v0.5.2.tar.gz a0a55c4228374c76d0bca52f3937bcfa0241ef0a099fab702ae0d9ad1ab1a241ec6de7ff541c3d9f10e100e3cea2827c2da334e27c1a03c817b93238bf2df1d2 ungit-version.patch "