[arch-commits] Commit in gnome-remote-desktop/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Sat Apr 2 22:56:26 UTC 2022
Date: Saturday, April 2, 2022 @ 22:56:26
Author: heftig
Revision: 441343
42.0-1
Modified:
gnome-remote-desktop/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 22:33:09 UTC (rev 441342)
+++ PKGBUILD 2022-04-02 22:56:26 UTC (rev 441343)
@@ -1,7 +1,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
pkgname=gnome-remote-desktop
-pkgver=41.2
+pkgver=42.0
pkgrel=1
pkgdesc="GNOME Remote Desktop server"
url="https://wiki.gnome.org/Projects/Mutter/RemoteDesktop"
@@ -8,12 +8,12 @@
arch=(x86_64)
license=(GPL2)
depends=(cairo freerdp glib2 pipewire systemd libvncserver libsecret libnotify
- dconf fuse3 libxkbcommon)
+ dconf fuse3 libxkbcommon libepoxy)
makedepends=(git meson ffnvcodec-headers)
-checkdepends=(xorg-server-xvfb python-dbus python-gobject mutter
- pipewire-media-session)
+checkdepends=(xorg-server-xvfb python-dbus python-gobject mutter wireplumber)
groups=(gnome)
-_commit=32c8d66ab6b5e5c6e75ba494e5e1a45d92270f83 # tags/41.2^0
+options=(debug)
+_commit=252f495a0f23ca25056cc5815587255614ffdfc7 # tags/42.0^0
source=("git+https://gitlab.gnome.org/GNOME/gnome-remote-desktop.git#commit=$_commit")
sha256sums=('SKIP')
@@ -31,23 +31,30 @@
meson compile -C build
}
-check() (
+_check() (
+ mkdir -p -m 700 "${XDG_CONFIG_HOME:=$PWD/config-dir}"
mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/runtime-dir}"
glib-compile-schemas "${GSETTINGS_SCHEMA_DIR:=$PWD/build/src}"
- export XDG_RUNTIME_DIR GSETTINGS_SCHEMA_DIR
- unset DBUS_SESSION_BUS_ADDRESS
+ export XDG_CONFIG_HOME XDG_RUNTIME_DIR GSETTINGS_SCHEMA_DIR
+ export GSETTINGS_BACKEND=keyfile
+ gsettings set org.gnome.desktop.remote-desktop.vnc enable true
+
pipewire &
_p1=$!
- pipewire-media-session &
+ wireplumber &
_p2=$!
trap "kill $_p1 $_p2; wait" EXIT
- meson test -C build --print-errorlogs -t 2
+ meson test -C build --print-errorlogs -t 3
)
+check() {
+ dbus-run-session bash -c "$(declare -f _check); _check"
+}
+
package() {
meson install -C build --destdir "$pkgdir"
}
More information about the arch-commits
mailing list