upmix-core-legacy-bin

LOW
maintainer gensui-fuga 0 votes scanned 2026-10-07 06:05:09.924014
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: 古方元水 <ye@archlinux>
2# Contributor: 糯米狐 <nuomihu@archlinux>
3#
4# 老 CPU 专用版(无 AVX2)。
5# 上游用 -march=x86-64-v2 重编了 ONNX Runtime,不含官方预编译包里的 AVX2/AVX-512,
6# 因此适用于 Ivy Bridge / Sandy Bridge 等 2012 年前后的 CPU(i5-3320M、Celeron J1900…)。
7# 主线版 upmix-core-bin 在这类机器上跑自动(分离)模式会 SIGILL 崩溃,快速模式则不受影响。
8# 代价:自动模式明显更慢(双核 + 无 FMA)。
9
10pkgname=upmix-core-legacy-bin
11pkgver=1.0.1
12pkgrel=1
13pkgdesc="Stereo to 5.1 upmixer with HTDemucs separation (prebuilt for pre-AVX2 CPUs)"
14arch=('x86_64')
15url="https://github.com/gensui-fuga/upmix-core"
16license=('MIT')
17# 依赖表是直接扫二进制 + 扫 libonnxruntime.so 得出的:
18# readelf -d → glibc(libc/libm/ld-linux) + gcc-libs(libgcc_s/libstdc++)
19# (libonnxruntime.so.1.23.2 也只吃这两个,没有 zlib/brotli/zstd)
20# strings 里的 dlopen 名 → libglvnd(libGL.so.1/libEGL.so.1)、libx11、libxcb、
21# libxcursor、libxi、libxkbcommon、libxkbcommon-x11、
22# libxrender、wayland(libwayland-client/-egl)
23# winit/glutin 那套是运行时 dlopen 的,DT_NEEDED 里根本看不到,但缺了启动就崩,
24# 所以必须显式写出来。libglvnd 自己依赖 mesa + opengl-driver,不用再列 mesa。
25# openssl 只有 upmix-core(CLI) 直接链(下模型走 TLS);GUI 用不到,同一个包一起列。
26# ffmpeg 是运行时调起的外部程序:随包那份 167MB 的故意不装,直接用系统 ffmpeg。
27depends=(
28 'ffmpeg'
29 'gcc-libs'
30 'glibc'
31 'hicolor-icon-theme'
32 'libglvnd'
33 'libx11'
34 'libxcb'
35 'libxcursor'
36 'libxi'
37 'libxkbcommon'
38 'libxkbcommon-x11'
39 'libxrender'
40 'openssl'
41 'wayland'
42)
43provides=('upmix-core')
44conflicts=('upmix-core')
45options=('!strip')
46source=(
47 "upmix-core-linux-${CARCH}-legacy-v${pkgver}.tar.gz::https://github.com/gensui-fuga/upmix-core/releases/download/v${pkgver}-legacy/upmix-core-linux-x86_64-legacy.tar.gz"
48 "LICENSE::https://raw.githubusercontent.com/gensui-fuga/upmix-core/v${pkgver}-legacy/LICENSE"
49)
50sha256sums=(
51 'e217e3387e432f3788484ea6a9e1e9775ff97426aa37f5c7bbce6243e8935a56'
52 '55aadbacf89b539c4f086c608a0f21129a0ce0c09285447e2eb356d37017bf0d'
53)
54
55package() {
56 # 二进制、模型、ONNX Runtime 三者同放 /usr/lib/upmix-core:
57 # 程序用 current_exe() 旁的 models/ 找模型,二进制 RUNPATH=$ORIGIN 找 ORT 库,
58 # 位置必须一致。发布包里那份 167MB 的 ffmpeg 不装——ffmpeg_path() 找不到旁边的
59 # 就回退 PATH,直接用系统 ffmpeg 包。
60 install -d "$pkgdir/usr/lib/upmix-core"
61 install -m755 upmix-gui upmix-core upmix-tui "$pkgdir/usr/lib/upmix-core/"
62 cp -a models "$pkgdir/usr/lib/upmix-core/"
63
64 # baseline ONNX Runtime。发布包里 .so / .so.1 / .so.1.23.2 是同一份内容的
65 # 三个独立副本(非硬链接),只装实体,另两个做链接,省 56MB。
66 install -m644 libonnxruntime.so.1.23.2 "$pkgdir/usr/lib/upmix-core/"
67 ln -s libonnxruntime.so.1.23.2 "$pkgdir/usr/lib/upmix-core/libonnxruntime.so.1"
68 ln -s libonnxruntime.so.1.23.2 "$pkgdir/usr/lib/upmix-core/libonnxruntime.so"
69
70 # /usr/bin 只放符号链接,current_exe() 会把它们解析回 /usr/lib/upmix-core/。
71 install -d "$pkgdir/usr/bin"
72 for _b in upmix-gui upmix-core upmix-tui; do
73 ln -s "/usr/lib/upmix-core/${_b}" "$pkgdir/usr/bin/${_b}"
74 done
75
76 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
77
78 install -d "$pkgdir/usr/share/applications"
79 cat > "$pkgdir/usr/share/applications/upmix-core.desktop" << 'EOF'
80[Desktop Entry]
81Type=Application
82Name=Upmix Core
83Name[zh_CN]=Upmix Core 声道上混
84Comment=Stereo to 5.1 upmixer with HTDemucs neural source separation
85Comment[zh_CN]=立体声转 5.1 声道,支持 HTDemucs 神经网络源分离
86Exec=upmix-gui
87Icon=upmix-core
88Terminal=false
89Categories=AudioVideo;Audio;AudioVideoEditing;
90Keywords=audio;5.1;surround;upmix;demucs;stereo;
91StartupWMClass=upmix-gui
92EOF
93
94 install -d "$pkgdir/usr/share/icons/hicolor/scalable/apps"
95 cat > "$pkgdir/usr/share/icons/hicolor/scalable/apps/upmix-core.svg" << 'EOF'
96<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
97 <rect width="512" height="512" rx="112" fill="#f5f0e6"/>
98 <g fill="#8a8578">
99 <circle cx="256" cy="98" r="25"/>
100 <circle cx="120" cy="166" r="21"/>
101 <circle cx="392" cy="166" r="21"/>
102 <circle cx="120" cy="340" r="21"/>
103 <circle cx="392" cy="340" r="21"/>
104 </g>
105 <circle cx="256" cy="424" r="30" fill="#b9a88f"/>
106 <circle cx="256" cy="262" r="104" fill="none" stroke="#3a3733" stroke-width="10" opacity="0.30"/>
107 <circle cx="256" cy="262" r="62" fill="#3a3733"/>
108</svg>
109EOF
110}
111

Changes since previous scan

--- PKGBUILD @ 2026-10-06 00:13
+++ PKGBUILD @ 2026-10-07 06:05
@@ -8,7 +8,7 @@
# 代价:自动模式明显更慢(双核 + 无 FMA)。
pkgname=upmix-core-legacy-bin
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="Stereo to 5.1 upmixer with HTDemucs separation (prebuilt for pre-AVX2 CPUs)"
arch=('x86_64')
@@ -48,7 +48,7 @@
"LICENSE::https://raw.githubusercontent.com/gensui-fuga/upmix-core/v${pkgver}-legacy/LICENSE"
)
sha256sums=(
- '87bcab5529c6323d78335d3ebde825218e3b7e1903421dfc96abb2d1cb91eda6'
+ 'e217e3387e432f3788484ea6a9e1e9775ff97426aa37f5c7bbce6243e8935a56'
'55aadbacf89b539c4f086c608a0f21129a0ce0c09285447e2eb356d37017bf0d'
)

Scan history

Scanned at (UTC)SeverityRules
2026-10-07 06:05:09 Low 1
2026-10-06 00:13:36 Clean 2
2026-10-05 23:40:58 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