purelive-bin
LOW
maintainer cynic0226
0 votes
scanned 2026-09-02 11:50:42.784749
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
pkgname=purelive-bin
2
pkgver=3.0.9
3
_buildnum=4097
4
pkgrel=1
5
pkgdesc="纯粹直播(Pure Live)基于 Flutter 的开源多平台直播聚合播放器"
6
arch=('x86_64')
7
url="https://github.com/liuchuancong/pure_live"
8
license=('AGPL-3.0-or-later')
9
depends=(
10
'gtk3' 'glib2' 'pango' 'cairo' 'gdk-pixbuf2'
11
'libepoxy' 'libglvnd' 'alsa-lib' 'libpulse'
12
'libayatana-appindicator' 'libayatana-indicator' 'libdbusmenu-glib'
13
'libxkbcommon' 'libva' 'libvdpau' 'libxss'
14
'libxv' 'mesa' 'wayland'
15
'libxrandr' 'libxcb' 'freetype2' 'ayatana-ido'
16
'libx11' 'libdrm' 'harfbuzz' 'libxext' 'xz' 'lcms2'
17
'gcc-libs' 'at-spi2-core' 'fribidi' 'gnutls' 'libxfixes'
18
'glibc' 'libunwind' 'fontconfig' 'zlib' 'libarchive'
19
)
20
optdepends=(
21
'mpv: external player support'
22
'java-runtime: for dart JNI plugin (libdartjni.so)'
23
)
24
provides=("purelive=${pkgver}")
25
conflicts=("purelive")
26
options=('!strip' '!debug')
27
source_x86_64=(
28
"${pkgname}-${pkgver}.tar.gz::https://github.com/liuchuancong/pure_live/releases/download/v${pkgver}/PureLive-${pkgver}-${_buildnum}-linux-x64.tar.gz"
29
)
30
sha256sums_x86_64=(
31
'9b04f579b66cf4dd0395993a974f22554b70d6c7b3c57913071357eebc6a11e3'
32
)
33
34
package() {
35
# 安装主程序到 /opt
36
install -d "${pkgdir}/opt/purelive"
37
cp -a "${srcdir}/pure_live" "${srcdir}/data" "${srcdir}/lib" "${pkgdir}/opt/purelive/"
38
chmod 755 "${pkgdir}/opt/purelive/pure_live"
39
40
# 清除不安全的 RUNPATH
41
for so in "${pkgdir}/opt/purelive/lib/"*.so; do
42
if command -v patchelf >/dev/null 2>&1; then
43
patchelf --remove-rpath "$so" 2>/dev/null || true
44
fi
45
done
46
47
# /usr/bin 启动脚本
48
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/purelive" <<'EOF'
49
#!/bin/sh
50
exec /opt/purelive/pure_live "$@"
51
EOF
52
53
# Desktop 入口
54
install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/purelive.desktop" <<EOF
55
[Desktop Entry]
56
Name=Pure Live
57
Name[zh_CN]=纯粹直播
58
Comment=A third-party live stream aggregator
59
Comment[zh_CN]=第三方多平台直播聚合播放器
60
Exec=purelive %U
61
Icon=purelive
62
Terminal=false
63
Type=Application
64
Categories=AudioVideo;Network;
65
EOF
66
67
# 从解压的包内安装图标
68
install -Dm644 "${srcdir}/pure_live/data/flutter_assets/assets/icons/icon.png" \
69
"${pkgdir}/usr/share/pixmaps/purelive.png"
70
71
# 安装许可证
72
install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" <<'EOF'
73
GNU AFFERO GENERAL PUBLIC LICENSE
74
Version 3, 19 November 2007
75
...
76
EOF
77
}
78
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-02 11:50:42 | Low | 1 |