From 3c49eab0c885d546b0001fa7c85b1daf0f4d4ac2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 12:23:53 +0800 Subject: [PATCH 1/2] chore: update flake hashes for v2.6.5 (#640) --- flake.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index e054b88..97b40ac 100644 --- a/flake.nix +++ b/flake.nix @@ -37,14 +37,14 @@ src = pkgs.fetchzip { url = "https://github.com/yuezk/GlobalProtect-openconnect/releases/download/${releaseTag}/globalprotect-openconnect-${version}.tar.gz"; - hash = "sha256-CVgHh2jKQSMxw6QNQZCIbXC2eMvi0zu4F2JmZotxz1U="; + hash = "sha256-T4jze6/25YTsfuQdcuDfz3kX/ooDB1T0hnWsEBu4xMQ="; }; cpu = pkgs.stdenv.hostPlatform.parsed.cpu.name; gpguiHashes = { - x86_64 = "sha256-TOyP5/LmuNQeDpEWhVKFyUmkVqGUG010IqubtVyW3gQ="; - aarch64 = "sha256-7sPajJ8bBKpbN9m32NSEAz8KKdSrLziWdsR+0VMNhAc="; + x86_64 = "sha256-wPLsH/b/ZSo2pA/kU1HUGiQ98k8xSihyxGyf5o6tvyU="; + aarch64 = "sha256-WFyPhGD9fLAVYGeMSrMcZhSdfM99uVmWPrH68O+4BfE="; }; gpgui = pkgs.fetchzip { @@ -53,8 +53,8 @@ }; binaryHashes = { - x86_64 = "sha256-qD+NdMZ5zVtQm5JR3OPY514sbo4hoNX4+aYTAjpd+JY="; - aarch64 = "sha256-DRIFyzTHjNpPnETnRFdBQTDfg9GA8pFxquCTvO8T3L4="; + x86_64 = "sha256-spaKxruu15ro5lir14nAfy8MPXNQhaoCXcG4PDZ9lfM="; + aarch64 = "sha256-iu/zE4B4gjk1I5PQY0m/59ZoJ/k5focT0CxYYlJi7+A="; }; binaryPackage = pkgs.fetchzip { From 0c2d4830b5717b1e0ba6313ba676365ba7dc0030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ronald=20H=C3=B6tschl?= Date: Wed, 5 Aug 2026 08:23:36 +0200 Subject: [PATCH 2/2] Remove GUI dependencies from apk when GUI components are disabled (#638) --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 6bf9ff2..a929f53 100644 --- a/Makefile +++ b/Makefile @@ -409,6 +409,17 @@ init-apk: clean-apk tarball checksum=$$(sha512sum .build/apk/${PKG}.tar.gz | cut -d' ' -f1); \ sed -i "s/@SHA512@/$$checksum/g" .build/apk/APKBUILD + # Remove the GUI dependencies if BUILD_GUI_HELPER is set to 0 + if [ $(BUILD_GUI_HELPER) -eq 0 ]; then \ + sed -i "/^\tlibayatana-appindicator$$/d" .build/apk/APKBUILD; \ + sed -i "/^\tlibsecret$$/d" .build/apk/APKBUILD; \ + fi + + # Remove the WebKitGTK dependency only if neither gpauth webview auth nor gpgui-helper needs it + if [ $(BUILD_GUI_HELPER) -eq 0 ] && [ $(BUILD_WEBVIEW_AUTH) -eq 0 ]; then \ + sed -i "/^\twebkit2gtk-4.1$$/d" .build/apk/APKBUILD; \ + fi + apk: init-apk cd .build/apk && abuild -r -P "$(CURDIR)/.build/apk/packages"