1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
4 # Contributor: William Rea <sillywilly@gmail.com>
7 pkgver=5.0+r35+g964f298
10 pkgdesc="PulseAudio Volume Control"
11 url="https://freedesktop.org/software/pulseaudio/pavucontrol/"
14 depends=(gtkmm3 libsigc++ libcanberra json-glib)
15 makedepends=(meson lynx git)
17 optdepends=("pulseaudio: Audio backend")
19 _commit=964f2987a46aa984d9ba83369b1f27c0bb28e9af # master
20 source=("git+https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git#commit=$_commit"
21 0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch
22 0002-fix-focus-trap-in-output-selection-widget.patch)
24 '915c73ebd14b9ce53600a4c636c23a0d2a329f887360512eacc2f6d621394ae9'
25 'd9ab38eea6838a95e6d337c07292cc74de1f7c875f65f967f5f89a141021fc15')
29 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
36 git apply -3 ../0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch
38 # https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/124
39 # https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/73
40 git apply -3 ../0002-fix-focus-trap-in-output-selection-widget.patch
44 arch-meson pavucontrol build
45 meson compile -C build
49 meson test -C build --print-errorlogs
53 meson install -C build --destdir "$pkgdir"