summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f566b1f3210af6a71d36051ad8e9dc569539e864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: Philip Goto <philip.goto@gmail.com>
pkgname=audio-sharing
pkgver=0.2.0
pkgrel=1
pkgdesc="Share your computer audio"
arch=('x86_64' 'aarch64')
url="https://apps.gnome.org/app/de.haeckerfelix.AudioSharing"
license=('GPL3')
depends=('gst-rtsp-server' 'libadwaita')
makedepends=('cargo' 'git' 'meson')
source=("https://gitlab.gnome.org/World/AudioSharing/-/archive/$pkgver/AudioSharing-$pkgver.tar.gz")
sha256sums=('d47da7fcb1a64272e1c05229a8e8bef9fa560cace855c51c7d3273a3a67ce7be')

build() {
  export RUSTUP_TOOLCHAIN=stable
  arch-meson "AudioSharing-$pkgver" build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
}