diff --git a/pkgbuilds/openai-codex-desktop/.omarchy/patches/max-zstd-compression.patch b/pkgbuilds/openai-codex-desktop/.omarchy/patches/max-zstd-compression.patch new file mode 100644 index 0000000..58bd5a8 --- /dev/null +++ b/pkgbuilds/openai-codex-desktop/.omarchy/patches/max-zstd-compression.patch @@ -0,0 +1,15 @@ +--- a/PKGBUILD ++++ b/PKGBUILD +@@ -55,6 +55,12 @@ + conflicts=('chatgpt') + options=('!debug' '!strip') + ++# Omarchy: the build image compresses with zstd at its default level, which ++# leaves this 1.3 GB Electron tree at 447 MB. Maximum zstd takes it to 322 MB ++# for ~4 extra minutes of build time -- worth it for a package this large that ++# every user re-downloads on each of OpenAI's frequent releases. ++COMPRESSZST=(zstd -c -z -q --ultra -22 --threads=0 -) ++ + _deb_x86_64="chatgpt_${pkgver}_amd64.deb" + _deb_aarch64="chatgpt_${pkgver}_arm64.deb" + source=('chatgpt-launcher.sh') diff --git a/pkgbuilds/openai-codex-desktop/PKGBUILD b/pkgbuilds/openai-codex-desktop/PKGBUILD index 3ae38a0..52393e7 100644 --- a/pkgbuilds/openai-codex-desktop/PKGBUILD +++ b/pkgbuilds/openai-codex-desktop/PKGBUILD @@ -4,7 +4,7 @@ pkgname=openai-codex-desktop pkgver=26.803.81509 -pkgrel=8 +pkgrel=8.1 pkgdesc="Official ChatGPT desktop app with Codex" arch=('x86_64' 'aarch64') url="https://chatgpt.com/codex/" @@ -55,6 +55,12 @@ provides=('chatgpt') conflicts=('chatgpt') options=('!debug' '!strip') +# Omarchy: the build image compresses with zstd at its default level, which +# leaves this 1.3 GB Electron tree at 447 MB. Maximum zstd takes it to 322 MB +# for ~4 extra minutes of build time -- worth it for a package this large that +# every user re-downloads on each of OpenAI's frequent releases. +COMPRESSZST=(zstd -c -z -q --ultra -22 --threads=0 -) + _deb_x86_64="chatgpt_${pkgver}_amd64.deb" _deb_aarch64="chatgpt_${pkgver}_arm64.deb" source=('chatgpt-launcher.sh')