gnome.gnome-remote-desktop: 41.2 → 42.beta

https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/compare/41.2...42.beta
This commit is contained in:
Jan Tojnar 2022-02-16 18:34:55 +00:00
parent 887a9a9e68
commit 1de0e97b37

View file

@ -7,6 +7,8 @@
, python3
, wrapGAppsHook
, glib
, libepoxy
, libdrm
, nv-codec-headers-11
, pipewire
, systemd
@ -17,16 +19,20 @@
, gdk-pixbuf
, freerdp
, fuse3
, mesa
, libgudev
, xvfb-run
, dbus
, gnome
}:
stdenv.mkDerivation rec {
pname = "gnome-remote-desktop";
version = "41.2";
version = "42.beta";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-EBUeabZIwiR8XjPZou9Bn04DfuWyuuSebtasp36xulg=";
hash = "sha256-0T+EE/jdFdjGEHWWfuDtAvkfG61+xBKK4LwWqCZqalw=";
};
nativeBuildInputs = [
@ -43,6 +49,8 @@ stdenv.mkDerivation rec {
fuse3
gdk-pixbuf # For libnotify
glib
libepoxy
libdrm
nv-codec-headers-11
libnotify
libsecret
@ -50,17 +58,35 @@ stdenv.mkDerivation rec {
libxkbcommon
pipewire
systemd
];
] ++ checkInputs;
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
checkInputs = [
mesa # for gbm
libgudev
xvfb-run
python3.pkgs.dbus-python
python3.pkgs.pygobject3
dbus # for dbus-run-session
];
mesonFlags = [
"-Dsystemd_user_unit_dir=${placeholder "out"}/lib/systemd/user"
];
# Too deep of a rabbit hole.
doCheck = false;
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs \
tests/vnc-test-runner.sh \
tests/run-vnc-tests.py \
meson_post_install.py
substituteInPlace tests/vnc-test-runner.sh \
--replace "dbus-run-session" "dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf"
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;