gnome.gnome-remote-desktop: 45.alpha → 45.beta
https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/compare/45.alpha...45.beta Provides a meson option for disabling tests, so we can clean things up https://github.com/GNOME/gnome-remote-desktop/commit/9e77f0558789546fff0281093217c50a5352fb93s Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com> Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
@@ -21,20 +21,16 @@
|
||||
, fdk_aac
|
||||
, tpm2-tss
|
||||
, fuse3
|
||||
, mesa
|
||||
, libgudev
|
||||
, xvfb-run
|
||||
, dbus
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-remote-desktop";
|
||||
version = "45.alpha";
|
||||
version = "45.beta";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-WV2RXy3rNyH5fN2z4D/ZTzjXY3hKaGaIisQsMDnDHi0=";
|
||||
hash = "sha256-69YoA6URAU9WOCofS2VUTbwpTv6A2BxEjlxfRSnHtvw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -62,33 +58,13 @@ stdenv.mkDerivation rec {
|
||||
libxkbcommon
|
||||
pipewire
|
||||
systemd
|
||||
] ++ nativeCheckInputs;
|
||||
|
||||
nativeCheckInputs = [
|
||||
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"
|
||||
"-Dtests=false" # Too deep of a rabbit hole.
|
||||
];
|
||||
|
||||
# Too deep of a rabbit hole.
|
||||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs \
|
||||
tests/vnc-test-runner.sh \
|
||||
tests/run-vnc-tests.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;
|
||||
|
||||
Reference in New Issue
Block a user