summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a1c38fe856baeaaf9d2e661d0a14de9727508cd (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
# Maintainer: Gabriel Rauter <rauter.gabriel@gmail.com>

_pkgname=gnome-remote-desktop
pkgname=$_pkgname-git
pkgver=42.1.1.2.gbfa4b2c
pkgrel=1
pkgdesc='Remote desktop daemon for GNOME using pipewire'
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://wiki.gnome.org/Projects/Mutter/RemoteDesktop"
license=('GPL2')
depends=(
  'cairo'
  'dconf'
  'freerdp'
  'fuse3'
  'libnotify'
  'libepoxy'
  'libsecret'
  'libvncserver'
  'pipewire'
)
makedepends=(
  'git'
  'asciidoc'
  'ffnvcodec-headers'
  'meson'
)
optdepends=('nvidia-utils: Nvidia NVDEC/NVENC support')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=(git+https://gitlab.gnome.org/GNOME/$_pkgname.git)
sha512sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --long | sed 's/^v//;s/-/./g;s/_/./g;'
}

build() {
  rm -rf build
  arch-meson $_pkgname build
  ninja -C build
}

package() {
  DESTDIR="$pkgdir/" ninja -C build install
}

# vim:set ts=2 sw=2 et: