upmix-core-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
4pkgname=upmix-core-bin
5pkgver=1.0.1
6pkgrel=1
7pkgdesc="Stereo to 5.1 upmixer with HTDemucs neural source separation (prebuilt)"
8arch=('x86_64')
9url="https://github.com/gensui-fuga/upmix-core"
10license=('MIT')
11# 依赖表是直接扫二进制得出的,不是猜的:
12# readelf -d → glibc(libc/libm/ld-linux) + gcc-libs(libgcc_s/libstdc++)
13# strings 里的 dlopen 名 → libglvnd(libGL.so.1/libEGL.so.1)、libx11、libxcb、
14# libxcursor、libxi、libxkbcommon、libxkbcommon-x11、
15# libxrender、wayland(libwayland-client/-egl)
16# winit/glutin 那套是运行时 dlopen 的,DT_NEEDED 里根本看不到,但缺了启动就崩,
17# 所以必须显式写出来。libglvnd 自己依赖 mesa + opengl-driver,不用再列 mesa。
18# openssl 只有 upmix-core(CLI) 直接链(下模型走 TLS);GUI 用不到,同一个包一起列。
19# ffmpeg 是运行时调起的外部程序:随包那份 167MB 的故意不装,直接用系统 ffmpeg。
20depends=(
21 'ffmpeg'
22 'gcc-libs'
23 'glibc'
24 'hicolor-icon-theme'
25 'libglvnd'
26 'libx11'
27 'libxcb'
28 'libxcursor'
29 'libxi'
30 'libxkbcommon'
31 'libxkbcommon-x11'
32 'libxrender'
33 'openssl'
34 'wayland'
35)
36provides=('upmix-core')
37conflicts=('upmix-core')
38options=('!strip')
39source=(
40 "upmix-core-linux-${CARCH}-v${pkgver}.tar.gz::https://github.com/gensui-fuga/upmix-core/releases/download/v${pkgver}/upmix-core-linux-x86_64.tar.gz"
41 "LICENSE::https://raw.githubusercontent.com/gensui-fuga/upmix-core/v${pkgver}/LICENSE"
42)
43sha256sums=(
44 'a6d72cc887124c8c3642ba92b05ff9a2bad8a1561ed8ad3dd28f350e8d9b8622'
45 '55aadbacf89b539c4f086c608a0f21129a0ce0c09285447e2eb356d37017bf0d'
46)
47
48package() {
49 # 二进制与模型同放 /usr/lib/upmix-core:
50 # 程序用 current_exe() 旁边的 models/ 找分离模型,两者必须同目录。
51 # 发布包里那份 167MB 的 ffmpeg 不装——ffmpeg_path() 找不到旁边的就回退 PATH,
52 # 直接用系统 ffmpeg 包,避免重复打包官方仓库已有的东西。
53 install -d "$pkgdir/usr/lib/upmix-core"
54 install -m755 upmix-gui upmix-core upmix-tui "$pkgdir/usr/lib/upmix-core/"
55 cp -a models "$pkgdir/usr/lib/upmix-core/"
56
57 # /usr/bin 只放符号链接。current_exe() 读 /proc/self/exe,会把链接解析回
58 # /usr/lib/upmix-core/<bin>,于是 models/ 照常命中,也避免了 /usr/bin/models 这种污染。
59 install -d "$pkgdir/usr/bin"
60 for _b in upmix-gui upmix-core upmix-tui; do
61 ln -s "/usr/lib/upmix-core/${_b}" "$pkgdir/usr/bin/${_b}"
62 done
63
64 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
65
66 install -d "$pkgdir/usr/share/applications"
67 cat > "$pkgdir/usr/share/applications/upmix-core.desktop" << 'EOF'
68[Desktop Entry]
69Type=Application
70Name=Upmix Core
71Name[zh_CN]=Upmix Core 声道上混
72Comment=Stereo to 5.1 upmixer with HTDemucs neural source separation
73Comment[zh_CN]=立体声转 5.1 声道,支持 HTDemucs 神经网络源分离
74Exec=upmix-gui
75Icon=upmix-core
76Terminal=false
77Categories=AudioVideo;Audio;AudioVideoEditing;
78Keywords=audio;5.1;surround;upmix;demucs;stereo;
79StartupWMClass=upmix-gui
80EOF
81
82 install -d "$pkgdir/usr/share/icons/hicolor/scalable/apps"
83 cat > "$pkgdir/usr/share/icons/hicolor/scalable/apps/upmix-core.svg" << 'EOF'
84<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
85 <rect width="512" height="512" rx="112" fill="#f5f0e6"/>
86 <g fill="#8a8578">
87 <circle cx="256" cy="98" r="25"/>
88 <circle cx="120" cy="166" r="21"/>
89 <circle cx="392" cy="166" r="21"/>
90 <circle cx="120" cy="340" r="21"/>
91 <circle cx="392" cy="340" r="21"/>
92 </g>
93 <circle cx="256" cy="424" r="30" fill="#b9a88f"/>
94 <circle cx="256" cy="262" r="104" fill="none" stroke="#3a3733" stroke-width="10" opacity="0.30"/>
95 <circle cx="256" cy="262" r="62" fill="#3a3733"/>
96</svg>
97EOF
98}
99

Changes since previous scan

--- PKGBUILD @ 2026-10-06 00:13
+++ PKGBUILD @ 2026-10-07 06:05
@@ -2,7 +2,7 @@
# Contributor: 糯米狐 <nuomihu@archlinux>
pkgname=upmix-core-bin
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="Stereo to 5.1 upmixer with HTDemucs neural source separation (prebuilt)"
arch=('x86_64')
@@ -41,7 +41,7 @@
"LICENSE::https://raw.githubusercontent.com/gensui-fuga/upmix-core/v${pkgver}/LICENSE"
)
sha256sums=(
- '6280fbab058f644c9a429cc405bdf411c0cb2ef5bb92a9ebf6b614c06b26d107'
+ 'a6d72cc887124c8c3642ba92b05ff9a2bad8a1561ed8ad3dd28f350e8d9b8622'
'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