aws-workspaces: 2025.0.5296 -> 2025.1.5526-1
Co-authored-by: RohanHart <rohan.hart17@gmail.com>
This commit is contained in:
co-authored by
RohanHart
parent
c30d560af7
commit
3b59a80fd4
@@ -5,7 +5,11 @@
|
||||
buildFHSEnv,
|
||||
webkitgtk_4_1,
|
||||
ffmpeg_7,
|
||||
gtk3,
|
||||
gtk4,
|
||||
libepoxy,
|
||||
wayland,
|
||||
libxcb,
|
||||
libxi,
|
||||
pango,
|
||||
atk,
|
||||
cairo,
|
||||
@@ -48,7 +52,10 @@ buildFHSEnv {
|
||||
workspacesclient
|
||||
custom_lsb_release
|
||||
webkitgtk_4_1
|
||||
gtk3
|
||||
gtk4
|
||||
libepoxy
|
||||
libxcb
|
||||
libxi
|
||||
ffmpeg_7
|
||||
pango
|
||||
atk
|
||||
@@ -56,6 +63,7 @@ buildFHSEnv {
|
||||
gdk-pixbuf
|
||||
protobufc
|
||||
cyrus_sasl
|
||||
wayland
|
||||
];
|
||||
|
||||
extraBwrapArgs = [
|
||||
|
||||
@@ -5,25 +5,28 @@
|
||||
dpkg,
|
||||
makeBinaryWrapper,
|
||||
glib-networking,
|
||||
wrapGAppsHook4,
|
||||
glib,
|
||||
}:
|
||||
|
||||
let
|
||||
dcv-path = "lib/x86_64-linux-gnu/workspacesclient/dcv";
|
||||
dcv-path = "lib/x86_64-linux-gnu/workspacesclient";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "workspacesclient";
|
||||
version = "2025.0.5296";
|
||||
version = "2025.1.5526-1";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu/dists/jammy/main/binary-amd64/workspacesclient_${finalAttrs.version}_amd64.deb"
|
||||
"https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu/dists/noble/main/binary-amd64/workspacesclient_${finalAttrs.version}_amd64.ubuntu2404.deb"
|
||||
];
|
||||
hash = "sha256-VPNZN9AsrGJ56O8B5jxlgLMvrUViTv6yto8c5pGQc0A=";
|
||||
hash = "sha256-iGYKpbpzGNeEUKgozhSwVd9dWRgQEbozIAWRu7wu2D8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
dpkg
|
||||
makeBinaryWrapper
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
@@ -38,6 +41,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
schemadir=${glib.makeSchemaPath "$out" "$name"}
|
||||
mv $out/share/workspacesclient/schemas/* $schemadir
|
||||
glib-compile-schemas $schemadir
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# provide network support
|
||||
wrapProgram "$out/bin/workspacesclient" \
|
||||
@@ -45,8 +54,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# dcvclient does not setup the environment correctly.
|
||||
# Instead wrap the binary directly the correct environment paths
|
||||
mv $out/${dcv-path}/dcvclientbin $out/${dcv-path}/dcvclient
|
||||
wrapProgram $out/${dcv-path}/dcvclient \
|
||||
mv $out/${dcv-path}/dcvviewer $out/${dcv-path}/workspacesclientdcv
|
||||
wrapProgram $out/${dcv-path}/workspacesclientdcv \
|
||||
--suffix LD_LIBRARY_PATH : $out/${dcv-path} \
|
||||
--suffix GIO_EXTRA_MODULES : ${dcv-path}/gio/modules \
|
||||
--set DCV_SASL_PLUGIN_DIR $out/${dcv-path}/sasl2 \
|
||||
|
||||
Reference in New Issue
Block a user