phiola-git
LOW
maintainer milkii
0 votes
scanned 2026-08-21 21:15:20.444724
Why flagged
The package builds from the project's own git repositories with SKIP'd checksums, which is common for git sources, and installs only compiled binaries and data files; no remote code execution or malicious payloads are present.
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.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's own git repositories with SKIP'd checksums, which is common for git sources, and installs only compiled binaries and data files; no remote code execution or malicious payloads are present.
PKGBUILD
1
# Maintainer: Milk Brewster - milkii on Freenode
2
pkgname=phiola-git
3
_pkgname=phiola
4
pkgver=2.8.13.r0.gbdbcd5e
5
pkgrel=1
6
pkgdesc="Fast audio player, recorder, converter and streaming server (fmedia successor)"
7
arch=('x86_64')
8
url="https://github.com/stsaz/phiola"
9
license=('BSD-2-Clause')
10
depends=('alsa-lib' 'dbus' 'gtk3' 'zstd' 'pulseaudio' 'jack2' 'libdeflate')
11
makedepends=('git' 'lld' 'make' 'gcc' 'patch' 'dos2unix' 'curl' 'unzip' 'cmake')
12
provides=('phiola' 'phiola-git')
13
conflicts=('phiola' 'phiola-git')
14
source=(
15
"git+https://github.com/stsaz/phiola"
16
"git+https://github.com/stsaz/netmill"
17
"git+https://github.com/stsaz/avpack"
18
"git+https://github.com/stsaz/ffaudio"
19
"git+https://github.com/stsaz/ffpack"
20
"git+https://github.com/stsaz/ffgui"
21
"git+https://github.com/stsaz/ffsys"
22
"git+https://github.com/stsaz/ffbase"
23
)
24
md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
25
26
pkgver() {
27
cd "$srcdir/$_pkgname"
28
( set -o pipefail
29
git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
30
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
31
)
32
}
33
34
build() {
35
cd "$srcdir/$_pkgname"
36
# The upstream Makefile uses build dirs (alib3, ffpack, netmill-3pt) that
37
# conflict with source dirs of the same name. The Makefile runs
38
# 'make -C $(BUILD_DIR) -f $(SOURCE_DIR)/Makefile' which fails because
39
# relative paths in $(SOURCE_DIR) are wrong from within $(BUILD_DIR).
40
# Fix: use absolute paths for all source references.
41
PHI_ABS="$(pwd)"
42
sed -i "s|ALIB3_BIN := alib3|ALIB3_BIN := $PHI_ABS/alib3|" src/afilter/Makefile src/acodec/Makefile
43
sed -i "s|ALIB3 := \$(PHIOLA)/alib3|ALIB3 := $PHI_ABS/alib3|" src/afilter/Makefile src/acodec/Makefile
44
sed -i "s|FFPACK_BIN := ffpack|FFPACK_BIN := $PHI_ABS/ffpack|" src/dfilter/Makefile
45
sed -i "s|FFPACK := \$(ROOT_DIR)/ffpack|FFPACK := $PHI_ABS/../ffpack|" src/dfilter/Makefile
46
# Disable HTTP SSL to avoid building OpenSSL from source
47
export PHI_HTTP_SSL=0
48
# Disable LTO (causes visibility issues with ffpack/zstd symbols on GCC 16)
49
make -j$(($(nproc) - 2)) CFLAGS_USER="-fno-lto" LINKFLAGS_USER="-fno-lto" build
50
make app
51
}
52
53
package() {
54
cd "$srcdir/$_pkgname"
55
APP_DIR=phiola-2
56
57
# Install to /opt/phiola-2 (upstream layout)
58
install -dm755 "$pkgdir/opt/phiola-2"
59
cp -ar "$APP_DIR"/* "$pkgdir/opt/phiola-2/"
60
61
# Symlink binary
62
install -dm755 "$pkgdir/usr/bin"
63
ln -sf /opt/phiola-2/phiola "$pkgdir/usr/bin/phiola"
64
65
# Desktop file
66
install -Dm644 src/gui/res/phiola.desktop "$pkgdir/usr/share/applications/phiola.desktop"
67
68
# Icon
69
install -Dm644 res/phiola.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/phiola.svg"
70
71
# Bash completion
72
if [[ -f "$pkgdir/opt/phiola-2/phiola" ]]; then
73
install -dm755 "$pkgdir/usr/share/bash-completion/completions"
74
"$pkgdir/opt/phiola-2/phiola" __bash_completion > "$pkgdir/usr/share/bash-completion/completions/phiola" 2>/dev/null || true
75
fi
76
}
77
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-21 21:15:20 | Low | 2 |