songloft-player
LOW
maintainer qinhulin
0 votes
scanned 2026-10-20 15:28:05.843052
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: qinhulin <qinhulin@gmail.com>
2
3
pkgname=songloft-player
4
pkgver=2.13.4
5
pkgrel=1
6
pkgdesc="Cross-platform music player client for Songloft servers (Flutter)"
7
arch=('x86_64')
8
url="https://songloft.hanxi.cc/"
9
license=('Apache-2.0')
10
depends=(
11
'gtk3'
12
'glib2'
13
'pango'
14
'cairo'
15
'gdk-pixbuf2'
16
'harfbuzz'
17
'at-spi2-core'
18
'libepoxy'
19
'fontconfig'
20
'freetype2'
21
'libayatana-appindicator'
22
'libayatana-indicator'
23
'ayatana-ido'
24
'libdbusmenu-glib'
25
'libdbusmenu-gtk3'
26
'mpv'
27
)
28
makedepends=('imagemagick')
29
_ghurl="https://github.com/songloft-org/songloft-player/releases/download/v${pkgver}"
30
source=("${pkgname}-${pkgver}.tar.gz::${_ghurl}/songloft-linux-x64.tar.gz"
31
"LICENSE::https://raw.githubusercontent.com/songloft-org/songloft-player/v${pkgver}/LICENSE")
32
sha256sums=('c31091bde0eb263622bf9068e6dd2e8378a9d30ed1646d5f16a7c99485471688'
33
'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4')
34
35
package() {
36
install -d "${pkgdir}/opt/songloft"
37
cp -a "${srcdir}/lib" "${srcdir}/data" "${srcdir}/songloft_flutter" "${pkgdir}/opt/songloft/"
38
39
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/songloft" <<'EOF'
40
#!/bin/sh
41
cd /opt/songloft && exec ./songloft_flutter "$@"
42
EOF
43
44
install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/songloft.desktop" <<'EOF'
45
[Desktop Entry]
46
Type=Application
47
Name=Songloft
48
GenericName=Music Player
49
Comment=Cross-platform music player client for Songloft servers
50
Exec=songloft %U
51
Icon=songloft
52
Terminal=false
53
Categories=AudioVideo;Audio;Player;
54
Keywords=Music;Player;Self-hosted;
55
StartupNotify=true
56
EOF
57
58
local size
59
for size in 16 24 32 48 64 128 256 512; do
60
install -Dm644 "${srcdir}/data/flutter_assets/assets/icons/app_icon.png" \
61
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/songloft.png"
62
convert "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/songloft.png" \
63
-resize "${size}x${size}" "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/songloft.png"
64
done
65
66
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
67
}
68
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-20 15:28:05 | Low | 1 |