aports/community/gnome-remote-desktop/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

77 lines
1.6 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
pkgname=gnome-remote-desktop
pkgver=48.1
pkgrel=0
pkgdesc="GNOME Remote Desktop - remote desktop server"
url="https://gitlab.gnome.org/GNOME/gnome-remote-desktop"
arch="all"
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
dbus-dev
fdk-aac-dev
ffnvcodec-headers
freerdp-dev
fuse3-dev
glib-dev
libdrm-dev
libei-dev
libepoxy-dev
libgudev-dev
libnotify-dev
libsecret-dev
libva-dev
libvncserver-dev
libxkbcommon-dev
mesa-dev
meson
opus-dev
pipewire-dev
polkit-dev
shaderc
tpm2-tss-dev
tpm2-tss-esys
tpm2-tss-mu
tpm2-tss-rc
tpm2-tss-tctildr
vulkan-loader-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 \
-Dtests=false \
. output
meson compile -C output
}
check() {
mkdir -p /tmp/runtimedir
GSETTINGS_SCHEMA_DIR=output/src/ XDG_RUNTIME_DIR=/tmp/runtimedir meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
48cd8320df76fbe2a4bf664ab3ed58ef0517b2f70765e4c00828313403a96da476e07e270d9b4633b3d12ea27f34b09ed07d9e8983032c3ed9a631a4574f4edd gnome-remote-desktop-48.1.tar.xz
"