# Generated by makepkg 6.1.0
# Mon Apr 13 09:44:56 UTC 2026
pkgbase = mingw-w64-openai-codex
	pkgdesc = Lightweight coding agent that runs in your terminal (mingw-w64)
	pkgver = 0.120.0
	pkgrel = 1
	url = https://github.com/openai/codex
	arch = any
	license = spdx:Apache-2.0
	checkdepends = mingw-w64-ucrt-x86_64-clang
	checkdepends = mingw-w64-ucrt-x86_64-git
	checkdepends = mingw-w64-ucrt-x86_64-dotslash
	makedepends = mingw-w64-ucrt-x86_64-rust
	makedepends = mingw-w64-ucrt-x86_64-clang
	makedepends = mingw-w64-ucrt-x86_64-abseil-cpp
	makedepends = mingw-w64-ucrt-x86_64-pkgconf
	makedepends = mingw-w64-ucrt-x86_64-openssl
	makedepends = mingw-w64-ucrt-x86_64-git
	depends = mingw-w64-ucrt-x86_64-icu
	depends = mingw-w64-ucrt-x86_64-v8
	depends = mingw-w64-ucrt-x86_64-cc-libs
	depends = mingw-w64-ucrt-x86_64-xz
	depends = mingw-w64-ucrt-x86_64-zstd
	optdepends = mingw-w64-ucrt-x86_64-ripgrep: accelerated large-repo search
	optdepends = mingw-w64-ucrt-x86_64-git: allow for repository actions
	options = !strip
	source = https://github.com/openai/codex/archive/rust-v0.120.0/openai-codex-0.120.0.tar.gz
	source = zstd-sys.tar.gz::https://crates.io/api/v1/crates/zstd-sys/2.0.16+zstd.1.5.7/download
	source = v8.tar.gz::https://crates.io/api/v1/crates/v8/146.4.0/download
	source = 001-zstd-sys-remove-statik.patch
	source = 002-rusty-v8-dyn.patch
	sha256sums = b25b5acb4cd610f0fa4142812d7cdaf1afaa644f5bc5d758ddfe627706cc5fa1
	sha256sums = 91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748
	sha256sums = d97bcac5cdc5a195a4813f1855a6bc658f240452aac36caa12fd6c6f16026ab1
	sha256sums = 48f4900ceb02d3aaf9a1020f33d56629156e96759f456c0e7ca18bfcf910767b
	sha256sums = 2e6f359c6597320f977d0db3b8a2ef310f9dc1a9bcba8f26d256b60321b8157d

pkgname = mingw-w64-ucrt-x86_64-openai-codex
