opp-git
LOW
maintainer fantasyzhjk
0 votes
scanned 2026-10-30 07:55:24.485540
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: fantasyzhjk
2
# Upstream: https://github.com/osuplusplus/OPP
3
4
pkgname=opp-git
5
pkgver=0.6.0.r0.g0000000
6
pkgrel=1
7
pkgdesc='An all-in-one osu! toolkit (built from git master)'
8
url='https://github.com/osuplusplus/OPP'
9
license=('MIT')
10
arch=('x86_64')
11
12
depends=(
13
'alsa-lib' # cpal 本地音频(ALSA)
14
'dbus' # MPRIS 媒体控制、Secret Service 通道
15
'desktop-file-utils' # 运行时注册 opp:// 深链的 update-desktop-database
16
'gtk3'
17
'hicolor-icon-theme' # hicolor 图标
18
'libayatana-appindicator' # 托盘
19
'libx11' # live_render X11 原生子窗口
20
'webkit2gtk-4.1' # Tauri/Wry 界面
21
'xdg-utils' # 深链注册 xdg-mime 与系统打开器
22
)
23
makedepends=(
24
'cargo'
25
'git'
26
'librsvg'
27
'nodejs>=22'
28
'pnpm'
29
'rust'
30
)
31
optdepends=(
32
'ffmpeg: Danser 渲染、Trainer 与视频工具'
33
'danser: 本地回放渲染后端'
34
'tosu: 游戏内覆盖数据源(经 pkexec 提权启动)'
35
'osu-lazer: osu! lazer 客户端'
36
'osu: Wine 下的 osu! Stable 客户端'
37
)
38
provides=('opp')
39
conflicts=('opp' 'opp-bin')
40
41
source=(
42
'git+https://github.com/osuplusplus/OPP.git'
43
'opp.desktop'
44
'LICENSE'
45
)
46
sha256sums=(
47
'SKIP'
48
'9ec96c471a6ed7a6963b6fd190e97b79adb92b57281726d308963b92999f52ef'
49
'90e042cc6b2fdeb48c52142ffec83ce6f7706a664fef3bb11d65eb7a68d80039'
50
)
51
52
pkgver() {
53
cd OPP
54
git describe --long --tags --abbrev=7 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
55
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
56
}
57
58
build() {
59
cd OPP
60
export PNPM_HOME="$srcdir/.pnpm"
61
export PATH="$PNPM_HOME:$PATH"
62
pnpm install
63
pnpm tauri build --no-bundle
64
}
65
66
package() {
67
cd OPP
68
install -Dm755 src-tauri/target/release/opp "$pkgdir/usr/bin/opp"
69
install -Dm644 "$srcdir/opp.desktop" "$pkgdir/usr/share/applications/OPP.desktop"
70
install -Dm644 src-tauri/icons/32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/opp.png"
71
install -Dm644 src-tauri/icons/128x128.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/opp.png"
72
install -Dm644 src-tauri/icons/128x128@2x.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/opp.png"
73
install -Dm644 src-tauri/icons/icon.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/opp.png"
74
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
75
}
76
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 07:55:24 | Low | 1 |