blob: 18b2b660353aa830148a73f8ddee68df7c8e7396 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=gnome-network-displays
pkgver=0.99.0
pkgrel=1
pkgdesc="Screencasting for GNOME. Supports the Miracast and Chromecast protocols."
arch=('x86_64')
url="https://gitlab.gnome.org/GNOME/gnome-network-displays"
license=('GPL-3.0-or-later')
depends=(
'avahi'
'dnsmasq'
'gst-plugin-pipewire'
'gst-plugins-bad'
'gst-plugins-good'
'gst-plugins-ugly'
'gst-rtsp-server'
'gstreamer'
'gtk4'
'json-glib'
'libadwaita'
'libnm'
'libportal'
'libportal-gtk4'
'libpulse'
'libsoup3'
'networkmanager'
'protobuf-c'
'xdg-desktop-portal'
)
makedepends=(
'glib2-devel'
'meson'
)
optdepends=('gstreamer-vaapi')
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('b6314d25be7589c621b106c1712b00277c9b4d01d4796a78e987f10c0c1d1400')
prepare() {
cd "$pkgname-$pkgver"
# Remove hardcoded libexec path
sed -i 's/libexec/lib/g' src/nd-systemd-helpers.c src/meson.build
}
build() {
arch-meson "$pkgname-$pkgver" build
meson compile -C build
}
check() {
meson test -C build --no-rebuild --print-errorlogs
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
}
|