plezy-git
MEDIUM
maintainer latte_macchiato
2 votes
scanned 2026-09-17 05:24:46.293726
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:39
"https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${_flutter_ver}-stable.tar.xz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Latte macchiato <contact@lattemacchiato.dev>
2
pkgname=plezy-git
3
_pkgname=plezy
4
pkgver=2.20.0.r9.ge387591
5
pkgrel=1
6
pkgdesc='A modern Plex client for desktop and mobile'
7
arch=('x86_64')
8
url='https://github.com/edde746/plezy'
9
license=('GPL-3.0-or-later')
10
depends=(
11
'gtk3'
12
'mpv'
13
'libepoxy'
14
'libevdev'
15
'libkeybinder3'
16
'alsa-lib'
17
'glib2'
18
'xdg-user-dirs'
19
'curl'
20
'hicolor-icon-theme'
21
'jre21-openjdk-headless'
22
)
23
makedepends=(
24
'clang'
25
'cmake'
26
'java-environment'
27
'ninja'
28
'pkgconf'
29
'git'
30
'patchelf'
31
'unzip'
32
)
33
provides=("$_pkgname")
34
conflicts=("$_pkgname")
35
options=('!debug')
36
_flutter_ver=3.47.1
37
source=(
38
"$_pkgname::git+$url.git"
39
"https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${_flutter_ver}-stable.tar.xz"
40
)
41
sha256sums=('SKIP'
42
'a1d8166c0309267cb7dc99f1424eecf08b86946ad3b50723c6f59945964aea45')
43
44
pkgver() {
45
cd "$_pkgname"
46
git describe --long --tags --abbrev=7 2>/dev/null | sed 's/^v//;s/-/.r/;s/-/./' \
47
|| printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
48
}
49
50
build() {
51
export PATH="$srcdir/flutter/bin:$PATH"
52
export PUB_CACHE="$srcdir/.pub-cache"
53
54
flutter config --no-analytics
55
flutter precache --linux
56
57
cd "$_pkgname"
58
flutter pub get
59
60
# Remove -Werror from all CMakeLists.txt (fixes strict clang warnings in plugins)
61
find . -name 'CMakeLists.txt' -exec sed -i 's/-Werror//g' {} +
62
63
flutter build linux --release
64
}
65
66
package() {
67
cd "$_pkgname"
68
69
# Install the application bundle
70
install -dm755 "$pkgdir/opt/$_pkgname"
71
cp -r build/linux/x64/release/bundle/* "$pkgdir/opt/$_pkgname/"
72
73
# Replace Flutter build-time RUNPATHs with relocatable bundle-local paths.
74
find "$pkgdir/opt/$_pkgname/lib" -type f -name '*.so' \
75
-exec patchelf --set-rpath '$ORIGIN' {} +
76
# Dart JNI links libjvm directly. Use the matching declared Java runtime,
77
# not the build JDK or the user's changeable default Java symlink.
78
if [[ -f "$pkgdir/opt/$_pkgname/lib/libdartjni.so" ]]; then
79
patchelf --set-rpath '$ORIGIN:/usr/lib/jvm/java-21-openjdk/lib/server' \
80
"$pkgdir/opt/$_pkgname/lib/libdartjni.so"
81
fi
82
if [[ -f "$pkgdir/opt/$_pkgname/lib/crashpad_handler" ]]; then
83
patchelf --set-rpath '$ORIGIN' "$pkgdir/opt/$_pkgname/lib/crashpad_handler"
84
fi
85
86
# Create wrapper script
87
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" <<EOF
88
#!/bin/bash
89
cd /opt/$_pkgname
90
exec ./$_pkgname "\$@"
91
EOF
92
93
# Install desktop file
94
install -Dm644 linux/packaging/com.edde746.plezy.desktop \
95
"$pkgdir/usr/share/applications/com.edde746.plezy.desktop"
96
97
# Install icon
98
install -Dm644 assets/plezy.png \
99
"$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png"
100
101
# Install license
102
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
103
}
104
Changes since previous scan
--- PKGBUILD @ 2026-09-16 00:03+++ PKGBUILD @ 2026-09-17 05:24@@ -1,7 +1,7 @@ # Maintainer: Latte macchiato <contact@lattemacchiato.dev> pkgname=plezy-git _pkgname=plezy-pkgver=2.19.1.r93.gd70694a+pkgver=2.20.0.r9.ge387591 pkgrel=1 pkgdesc='A modern Plex client for desktop and mobile' arch=('x86_64')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 05:24:46 | Medium | 1 |
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 05:21:26 | Medium | 1 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 05:18:46 | Medium | 1 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 05:16:15 | Medium | 1 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 05:13:46 | Medium | 1 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 05:10:45 | Medium | 1 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 05:22:12 | Medium | 1 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |