summaryrefslogtreecommitdiff
path: root/community/gnome-remote-desktop/APKBUILD
blob: fe68ec577661cae2fee4810773274fda604d0663 (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
57
58
59
60
61
62
63
64
65
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=gnome-remote-desktop
pkgver=44.1
pkgrel=1
pkgdesc="GNOME Remote Desktop - remote desktop server"
url="https://gitlab.gnome.org/GNOME/gnome-remote-desktop"
arch="all !s390x" # blocked by pipewire
license="GPL-2.0-or-later"
# mesa and libgudev are checkdepends, but they don't get installed
# due to options="!check"
makedepends="
	asciidoc
	cairo-dev
	fdk-aac-dev
	ffnvcodec-headers
	freerdp-dev
	fuse3-dev
	glib-dev
	libdrm-dev
	libepoxy-dev
	libgudev-dev
	libnotify-dev
	libsecret-dev
	libvncserver-dev
	libxkbcommon-dev
	mesa-dev
	meson
	pipewire-dev
	tpm2-tss-dev
	"
checkdepends="
	adwaita-icon-theme
	bash
	dbus
	gnome-settings-daemon
	mutter
	py3-dbus
	py3-gobject3
	xvfb-run
	"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # Needs a full fat GNOME session
source="https://download.gnome.org/sources/gnome-remote-desktop/${pkgver%.*}/gnome-remote-desktop-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Db_lto=true \
		-Dsystemd=false \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	mkdir -p /tmp/runtimedir
	GSETTINGS_SCHEMA_DIR=output/src/ XDG_RUNTIME_DIR=/tmp/runtimedir meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
bb1d8a9ee7868309beb84d01c35e17c92bd26ac855df00caaa780796fe403842ee00462c4c222bf16cd3b98752106d34bfca55c98d634e712a5b561c7ace5285  gnome-remote-desktop-44.1.tar.xz
"