# Description: A GTK patchbay for pipewire
# URL: https://gitlab.freedesktop.org/ryuukyu/helvum
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: clang desktop-file-utils gtk4 pipewire

name=helvum
version=0.4.1
release=1
source=(https://gitlab.freedesktop.org/ryuukyu/helvum/-/archive/$version/helvum-$version.tar.bz2)

build() {
  meson setup $name-$version build \
    --prefix=/usr \
    --buildtype=plain \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true
  meson compile -C build
  DESTDIR=$PKG meson install -C build
}
