c0wrk-openvino

LOW
maintainer Zabbius 0 votes scanned 2026-10-25 19:43:04.801001
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: zabbius <https://github.com/zabbius>
2# c0wrk OpenVINO flavor — binary repack of the upstream GitHub Release
3# (https://github.com/v0lka/c0wrk). Nothing is compiled locally: the archive
4# is the official c0wrk-desktop-linux-amd64-openvino.tar.gz built by
5# .github/workflows/release.yml (wails build + stock CPU ONNX Runtime + the
6# additive OpenVINO EP stack + embedding model), pinned here by its sha256.
7#
8# Symmetric counterpart of c0wrk and c0wrk-cuda: same binary, same layout.
9# Unlike the CUDA flavor it does NOT replace libonnxruntime.so — the stock
10# CPU runtime stays the base, and the OpenVINO execution-provider plugin
11# (libonnxruntime_providers_openvino_plugin.so, harvested by
12# `make fetch-onnx-openvino` from Intel's digest-pinned PyPI wheel) is
13# registered into it at run time together with the OpenVINO/TBB/hwloc runtime
14# libraries it needs. All three packages provide `c0wrk-desktop` and conflict
15# with each other, so exactly one flavor can be installed at a time.
16#
17# Intel GPU/NPU execution goes through the system OpenCL/Level Zero stack
18# (intel-compute-runtime, level-zero-loader); clinfo and intel-xpu-smi-bin
19# are the on-system diagnostic helpers for that stack.
20#
21# Layout rationale: the app resolves libonnxruntime.so and models/ RELATIVE to
22# the real binary path (os.Executable() dereferences the /proc/self/exe
23# symlink), so the executable tree lives in /opt/c0wrk and /usr/bin/c0wrk-desktop
24# is an absolute symlink — safe by design.
25
26pkgname=c0wrk-openvino
27pkgver=0.13.0
28pkgrel=1
29pkgdesc='Desktop AI coding-agent built with Wails (Go + React) — OpenVINO flavor, upstream release binaries'
30arch=(x86_64)
31url='https://github.com/v0lka/c0wrk'
32license=(MIT)
33depends=(gtk3 webkit2gtk-4.1 libx11 intel-compute-runtime level-zero-loader clinfo intel-xpu-smi-bin)
34provides=(c0wrk-desktop)
35conflicts=(c0wrk-desktop c0wrk c0wrk-cuda c0wrk-zabbius-git c0wrk-zabbius-cuda-git)
36options=(!strip)
37
38# Version-independent files: LICENSE and the 512x512 app icon are taken from
39# the same tag as the binary (release archives do not ship them); the desktop
40# entry is local. Kept on single lines — bump-release.sh rewrites these arrays
41# wholesale.
42source=("LICENSE::$url/raw/v$pkgver/LICENSE" 'c0wrk.desktop' 'c0wrk.png')
43sha256sums=('26a0f4863f365c987a6762b0a48e987136543118989b2f00f2d57c70a45ffd15' '817980d6896b98a304ade9b151125408e83bdc00c0e7f006eb5f6d7bb486fe62' '7004f261089ce6744435156a4c6952e2d4d87ad6eec1a1a9af347ae6a1f76938')
44
45source_x86_64=("c0wrk-desktop-$pkgver-linux-amd64-openvino.tar.gz::$url/releases/download/v$pkgver/c0wrk-desktop-linux-amd64-openvino.tar.gz")
46sha256sums_x86_64=('839490445438d93b94c701e34ee164601b770f9723374e69e06cdff0b2f4159a')
47
48package() {
49 cd "$srcdir"
50
51 # /opt/c0wrk application tree (binary + stock CPU ONNX Runtime + the
52 # OpenVINO execution-provider plugin with its OpenVINO/TBB/hwloc runtime
53 # libraries + embedding model, all resolved by the app relative to the real
54 # executable path). The internal .onnxruntime(-openvino)-version stamp files
55 # are NOT packaged — they only matter for the Makefile stamp policy during
56 # a source build.
57 install -Dm755 c0wrk-desktop "$pkgdir/opt/c0wrk/c0wrk-desktop"
58 install -Dm755 libonnxruntime.so "$pkgdir/opt/c0wrk/libonnxruntime.so"
59 # Flavor-added libraries are installed by glob: their versioned names
60 # (libopenvino.so.2641, libtbb.so.12, libhwloc.so.15, …) track the pinned
61 # OpenVINO EP wheel and shift on upstream bumps, unlike the CPU base above.
62 # Same glob family the Makefile's clean-onnx target enumerates.
63 install -Dm755 -t "$pkgdir/opt/c0wrk" \
64 libonnxruntime_providers_openvino_plugin.so* \
65 libopenvino*.so* \
66 libtbb*.so* \
67 libhwloc.so.*
68 install -Dm644 models/jina-v2-small.onnx "$pkgdir/opt/c0wrk/models/jina-v2-small.onnx"
69 install -Dm644 models/jina-v2-small-tokenizer.json "$pkgdir/opt/c0wrk/models/jina-v2-small-tokenizer.json"
70
71 # Absolute symlink: os.Executable() dereferences it to /opt/c0wrk, so the
72 # app still finds libonnxruntime.so and models/ next to the real binary.
73 install -d "$pkgdir/usr/bin"
74 ln -s /opt/c0wrk/c0wrk-desktop "$pkgdir/usr/bin/c0wrk-desktop"
75
76 # Desktop entry, icon and license.
77 install -Dm644 c0wrk.desktop "$pkgdir/usr/share/applications/c0wrk.desktop"
78 install -Dm644 c0wrk.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/c0wrk.png"
79 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
80 # Third-party program notices bundled in the OpenVINO EP wheel — legal text
81 # that must ship alongside the libraries it covers.
82 install -Dm644 openvino-third-party-programs.txt \
83 "$pkgdir/usr/share/licenses/$pkgname/openvino-third-party-programs.txt"
84}
85

Scan history

Scanned at (UTC)SeverityRules
2026-10-25 19:43:04 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion