plasma6-applets-panon-refreshed-git

LOW
maintainer LeoDreamer 0 votes scanned 2026-09-21 09:34:45.899251
View on AUR
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: LeoDreamer2004
2
3pkgname=plasma6-applets-panon-refreshed-git
4pkgver=r5.fe33431
5pkgrel=1
6pkgdesc='Fork of Panon - Audio spectrum, rotating artwork and synchronized lyrics widget for Plasma 6'
7arch=('any')
8url='https://github.com/LeoDreamer2004/Panon-Refreshed'
9license=('GPL-3.0-or-later')
10depends=(
11 'plasma-workspace>=6.0'
12 'libplasma'
13 'plasma5support'
14 'kirigami'
15 'kcmutils'
16 'qt6-declarative'
17 'qt6-websockets'
18 'qt6-5compat'
19 'libpulse'
20 'pulse-native-provider'
21 'python>=3.10'
22 'python-numpy'
23 'python-websockets>=13'
24 'python-dbus'
25 'python-pillow'
26)
27makedepends=('git' 'gettext' 'qt6-shadertools')
28optdepends=(
29 'netease-cloud-music-web-player: exact-song-ID NetEase lyrics integration'
30 'qqmusic-electron: exact-song-ID QQ Music lyrics integration (1.1.8 adapter)'
31 'python-pykakasi: local Japanese furigana readings'
32 'python-jaconv: conversion of official romanized Japanese readings'
33)
34provides=("plasma6-applets-panon-refreshed=$pkgver")
35# Both projects install the Plasma plugin ID "panon".
36conflicts=('plasma6-applets-panon-refreshed' 'plasma6-applets-panon' 'plasma6-applets-panon-git')
37_srcname=panon-refreshed
38source=("$_srcname::git+$url.git")
39sha256sums=('SKIP')
40
41pkgver() {
42 cd "$_srcname"
43 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
44}
45
46build() {
47 cd "$_srcname"
48 local translation language shader
49 for translation in po/*.po; do
50 language=${translation##*/}
51 language=${language%.po}
52 mkdir -p "contents/locale/$language/LC_MESSAGES"
53 msgfmt --check "$translation" -o "contents/locale/$language/LC_MESSAGES/plasma_applet_panon.mo"
54 done
55 for shader in contents/ui/shaders/*.frag; do
56 /usr/lib/qt6/bin/qsb --qt6 --qsbversion 64 -o "$shader.qsb" "$shader"
57 done
58}
59
60package() {
61 cd "$_srcname"
62 local destination="$pkgdir/usr/share/plasma/plasmoids/panon"
63 local file
64 install -Dm644 metadata.json "$destination/metadata.json"
65 # Keep integrations beside contents: QML resolves their launchers relatively.
66 # Do not install developer caches, screenshots or per-user launchers.
67 while IFS= read -r -d '' file; do
68 install -Dm644 "$file" "$destination/$file"
69 done < <(find contents integrations -type f \
70 ! -path '*/__pycache__/*' ! -name '*.pyc' ! -name '*.pyo' \
71 ! -path 'contents/demo/*' -print0)
72 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
73 install -Dm644 README.zh-CN.md "$pkgdir/usr/share/doc/$pkgname/README.zh-CN.md"
74 install -Dm644 LICENSE "$pkgdir/usr/share/doc/$pkgname/LICENSE"
75}
76

Scan history

Scanned at (UTC)SeverityRules
2026-09-21 09:34:45 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion