audio.cpp-vulkan-git

LOW
maintainer Orion-zhen 0 votes scanned 2026-08-21 13:15:20.063848
View on AUR
Why flagged

The package builds from the project's own git repository, uses standard build practices, and installs only compiled binaries and data files; the low severity is due to few votes and recent upload, not malicious content.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's own git repository, uses standard build practices, and installs only compiled binaries and data files; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: Orion-zhen <https://github.com/Orion-zhen>
2
3pkgname=audio.cpp-vulkan-git
4_pkgname=audio.cpp
5pkgver=r424.5fda891
6pkgrel=1
7pkgdesc='All-in-one C++ audio inference engine on ggml with Vulkan GPU support (git version)'
8arch=('x86_64')
9url='https://github.com/0xShug0/audio.cpp'
10license=('Apache-2.0')
11depends=(
12 'gcc-libs'
13 'glibc'
14 'python'
15 'vulkan-icd-loader'
16)
17makedepends=(
18 'cmake'
19 'git'
20 'ninja'
21 'shaderc'
22 'spirv-headers'
23 'vulkan-headers'
24)
25provides=(
26 'audio.cpp'
27 'audio.cpp-vulkan'
28)
29conflicts=('audio.cpp')
30options=(lto !debug)
31source=("${_pkgname}::git+${url}.git")
32sha256sums=('SKIP')
33
34pkgver() {
35 cd "${srcdir}/${_pkgname}"
36 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
37}
38
39build() {
40 local _cmake_options=(
41 -S "${srcdir}/${_pkgname}"
42 -B build
43 -G Ninja
44 -DCMAKE_BUILD_TYPE=Release
45 -DENGINE_ENABLE_CUDA=OFF
46 -DENGINE_ENABLE_HIP=OFF
47 -DENGINE_ENABLE_VULKAN=ON
48 -DGGML_CUDA_FA_ALL_QUANTS=ON
49 -DAUDIOCPP_DEPLOYMENT_BUILD=ON
50 -DAUDIOCPP_BUILD_NATIVE_MODEL_MANAGER=ON
51 )
52
53 # Follow llama.cpp-vulkan's CI behavior: build every dynamically selected
54 # CPU backend and avoid host-native instructions on GitHub Actions runners.
55 if [[ -n "${CI:-}" && "${CI}" != 0 ]]; then
56 echo "CI = ${CI} detected, building universal package"
57 _cmake_options+=(
58 -DENGINE_ENABLE_CPU_ALL_VARIANTS=ON
59 -DENGINE_ENABLE_NATIVE_CPU=OFF
60 )
61 else
62 _cmake_options+=(
63 -DENGINE_ENABLE_CPU_ALL_VARIANTS=OFF
64 -DENGINE_ENABLE_NATIVE_CPU=ON
65 )
66 fi
67
68 if [[ -n "${AUDIOCPP_BUILD_EXTRA_ARGS:-}" ]]; then
69 echo "Applied custom CMake build args: ${AUDIOCPP_BUILD_EXTRA_ARGS}"
70 # shellcheck disable=SC2206
71 _cmake_options+=(${AUDIOCPP_BUILD_EXTRA_ARGS})
72 fi
73
74 cmake "${_cmake_options[@]}"
75 cmake --build build --parallel "$(nproc)" --target \
76 audiocpp_cli \
77 audiocpp_server \
78 audiocpp_gguf
79}
80
81package() {
82 # Universal CI builds produce private shared ggml/backend libraries, while
83 # local native builds are static. Keep them beside the executables so their
84 # $ORIGIN RPATH and dynamic backend discovery work without exposing an
85 # incompatible libggml through /usr/lib.
86 install -d "${pkgdir}/usr/bin" "${pkgdir}/usr/lib/${_pkgname}"
87 install -Dm755 \
88 build/bin/audiocpp_cli \
89 build/bin/audiocpp_server \
90 build/bin/audiocpp_gguf \
91 -t "${pkgdir}/usr/lib/${_pkgname}"
92 for _binary in audiocpp_cli audiocpp_server audiocpp_gguf; do
93 ln -s "../lib/${_pkgname}/${_binary}" "${pkgdir}/usr/bin/${_binary}"
94 done
95
96 if compgen -G 'build/bin/*.so*' >/dev/null; then
97 cp -a build/bin/*.so* "${pkgdir}/usr/lib/${_pkgname}/"
98 fi
99
100 # Keep the script and catalog in the same relative layout expected by the
101 # model manager, then expose a convenient command through /usr/bin.
102 install -Dm755 "${srcdir}/${_pkgname}/tools/model_manager_v2.py" \
103 "${pkgdir}/usr/share/${_pkgname}/tools/model_manager_v2.py"
104 cp -a "${srcdir}/${_pkgname}/model_specs" \
105 "${pkgdir}/usr/share/${_pkgname}/model_specs"
106 ln -s "../share/${_pkgname}/tools/model_manager_v2.py" \
107 "${pkgdir}/usr/bin/audiocpp_model_manager"
108
109 install -Dm644 "${srcdir}/${_pkgname}/LICENSE" \
110 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
111 install -Dm644 "${srcdir}/${_pkgname}/README.md" \
112 "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
113 cp -a "${srcdir}/${_pkgname}/docs" \
114 "${pkgdir}/usr/share/doc/${_pkgname}/docs"
115}
116

Changes since previous scan

--- PKGBUILD @ 2026-08-16 00:03
+++ PKGBUILD @ 2026-08-21 13:15
@@ -2,7 +2,7 @@
pkgname=audio.cpp-vulkan-git
_pkgname=audio.cpp
-pkgver=r357.df6e948
+pkgver=r424.5fda891
pkgrel=1
pkgdesc='All-in-one C++ audio inference engine on ggml with Vulkan GPU support (git version)'
arch=('x86_64')
@@ -47,6 +47,7 @@
-DENGINE_ENABLE_VULKAN=ON
-DGGML_CUDA_FA_ALL_QUANTS=ON
-DAUDIOCPP_DEPLOYMENT_BUILD=ON
+ -DAUDIOCPP_BUILD_NATIVE_MODEL_MANAGER=ON
)
# Follow llama.cpp-vulkan's CI behavior: build every dynamically selected

Scan history

Scanned at (UTC)SeverityRules
2026-08-21 13:15:20 Low 2
2026-08-16 00:03:42 Clean 2
2026-08-15 11:30:23 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