simple-live-app
MEDIUM
maintainer q234rty
1 votes
scanned 2026-11-04 16:07:14.930874
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
Medium
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:20
"flutter-${_flutterversion}.tar.xz::https://storage.googleapis.com/flutter_infra_release/releases/${_flutterchannel}/linux/flutter_linux_${_flutterversion}-${_flutterchannel}.tar.xz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: q234 rty <q23456yuiop at gmail dot com>
2
# Contributor: garionion <garionion at entr0py.de>
3
# Contributor: The one with the braid <info@braid.business>
4
# thanks to celogeek, sseneca, dr460nf1r3, dr460nf1r3 and AverytheFurry for pointing out multiple things
5
6
pkgname=simple-live-app
7
_pkgname=dart_simple_live
8
_appname=simple_live_app
9
pkgver=1.11.7
10
pkgrel=1
11
pkgdesc='An app for watching live'
12
arch=('x86_64' 'aarch64')
13
url='https://github.com/xiaoyaocz/dart_simple_live'
14
license=('GPL-3.0-only')
15
_flutterchannel=stable
16
_flutterversion=3.47.9
17
depends=('xdg-user-dirs' 'gtk3' 'mpv')
18
makedepends=('ninja' 'cmake' 'clang' 'git' 'patchelf')
19
source=(
20
"flutter-${_flutterversion}.tar.xz::https://storage.googleapis.com/flutter_infra_release/releases/${_flutterchannel}/linux/flutter_linux_${_flutterversion}-${_flutterchannel}.tar.xz"
21
"git+https://github.com/xiaoyaocz/dart_simple_live.git#commit=bccd2ba2e77bc34b3e3a0897f1cb5e0b402afd2b"
22
)
23
sha256sums=('25ed8c3c29d51a7353f2a944310b478af8214920639524b19c50a19e6c044c5a'
24
'17bfb7236f25c628bfbf78ee21d9776b1f1e5f567f7197856857c83057a2671d')
25
case "${CARCH}" in
26
"x86_64")
27
export _dartarch="x64"
28
;;
29
"aarch64")
30
export _dartarch="arm64"
31
# fix incompatible C(XX)FLAGS on Arch Linux on ARM
32
CXXFLAGS="${CXXFLAGS/-fstack-protector-strong/}"
33
CXXFLAGS="${CXXFLAGS/-fstack-clash-protection/}"
34
35
CFLAGS="${CFLAGS/-fstack-protector-strong/}"
36
CFLAGS="${CFLAGS/-fstack-clash-protection/}"
37
;;
38
esac
39
prepare() {
40
export PATH="${srcdir}/flutter/bin:$PATH"
41
flutter config --no-analytics
42
flutter config --enable-linux-desktop
43
cd ${_pkgname}/${_appname}
44
sed -i "s/use_header_bar = TRUE/use_header_bar = FALSE/g" linux/runner/my_application.cc
45
rm -rf pub-cache
46
mkdir pub-cache
47
export PUB_CACHE="${srcdir}/${_pkgname}/${_appname}/pub-cache"
48
flutter clean
49
flutter pub get
50
}
51
52
build() {
53
export PATH="${srcdir}/flutter/bin:$PATH"
54
export PUB_CACHE="${srcdir}/${_pkgname}/${_appname}/pub-cache"
55
cd ${_pkgname}/${_appname}
56
flutter build linux --no-pub
57
}
58
59
package() {
60
# enter the output directory of the Flutter build
61
cd "${srcdir}/${_pkgname}/simple_live_app/build/linux/$_dartarch/release"
62
63
# configure the installation directory using cmake
64
cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr/lib/${_pkgname} .
65
# install the Flutter project using cmake
66
cmake -P cmake_install.cmake
67
for f in ${pkgdir}/usr/lib/${_pkgname}/lib/*.so; do patchelf --shrink-rpath --allowed-rpath-prefixes '$ORIGIN' "$f"; done
68
for f in ${pkgdir}/usr/lib/${_pkgname}/lib/*.so; do if [ -z "$(patchelf --print-rpath $f)" ]; then patchelf --remove-rpath "$f"; fi; done
69
patchelf --add-needed libdart_quickjs.so "${pkgdir}/usr/lib/${_pkgname}/${_appname}"
70
# link executable into PATH
71
install -dm755 "${pkgdir}/usr/bin"
72
ln -s "/usr/lib/${_pkgname}/${_appname}" "${pkgdir}/usr/bin/${_pkgname}"
73
install -Dm644 "${srcdir}/${_pkgname}/assets/logo.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png" # icon
74
install -Dm644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
75
76
# desktop entry
77
install -dm755 "${pkgdir}/usr/share/applications"
78
cat > ${pkgdir}/usr/share/applications/${_pkgname}.desktop << EOF
79
[Desktop Entry]
80
Type=Application
81
Version=${pkgver}
82
Name=Simple Live App
83
Comment=A Live Player
84
Exec=${_pkgname}
85
Icon=${_pkgname}
86
Terminal=false
87
EOF
88
}
89
90
# vim: set sw=2 ts=2 et:
91
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-11-04 16:07@@ -6,22 +6,22 @@ pkgname=simple-live-app _pkgname=dart_simple_live _appname=simple_live_app-pkgver=1.11.4+pkgver=1.11.7 pkgrel=1 pkgdesc='An app for watching live' arch=('x86_64' 'aarch64') url='https://github.com/xiaoyaocz/dart_simple_live' license=('GPL-3.0-only') _flutterchannel=stable-_flutterversion=3.38.9+_flutterversion=3.47.9 depends=('xdg-user-dirs' 'gtk3' 'mpv') makedepends=('ninja' 'cmake' 'clang' 'git' 'patchelf') source=( "flutter-${_flutterversion}.tar.xz::https://storage.googleapis.com/flutter_infra_release/releases/${_flutterchannel}/linux/flutter_linux_${_flutterversion}-${_flutterchannel}.tar.xz"- "git+https://github.com/xiaoyaocz/dart_simple_live.git#commit=615ea4b1b0c808c5ac21d6f0410c519dbac1a19d"+ "git+https://github.com/xiaoyaocz/dart_simple_live.git#commit=bccd2ba2e77bc34b3e3a0897f1cb5e0b402afd2b" )-sha256sums=('cb39eeb717c7d7dce95736b862cada2fdedeebcbb0107c44a346659c77031003'- '8e1f6b5497238c6b358e6438bf29e7c812e33fcba285c4c9feed64f5125b7767')+sha256sums=('25ed8c3c29d51a7353f2a944310b478af8214920639524b19c50a19e6c044c5a'+ '17bfb7236f25c628bfbf78ee21d9776b1f1e5f567f7197856857c83057a2671d') case "${CARCH}" in "x86_64") export _dartarch="x64"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 16:07:14 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |