g502-hub
LOW
maintainer ilovesusu
0 votes
scanned 2026-10-29 07:52:02.761978
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: Joy Jasper <0x73757375@gmail.com>
2
# Contributor: Ahmed Saad
3
pkgname=g502-hub
4
pkgver=0.2.1
5
pkgrel=1
6
pkgdesc="Unofficial G HUB alternative for the Logitech G502 HERO: DPI, lighting, buttons, macros, profiles and game rules"
7
arch=('any')
8
url="https://github.com/Ahmedxsaad/g502-hub"
9
license=('GPL-3.0-or-later')
10
depends=('python' 'pyside6' 'python-numpy' 'python-gobject' 'python-dbus-fast' 'python-evdev'
11
'libxkbcommon' 'gstreamer' 'gst-plugins-base' 'gst-plugin-pipewire' 'libpulse')
12
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel'
13
'clang' 'llvm' 'lld')
14
checkdepends=('python-pytest')
15
optdepends=('steam: game detection, cover art colors and the LIGHTSYNC bridge for Proton games')
16
source=("$pkgname::git+$url.git#tag=v$pkgver")
17
sha256sums=('SKIP')
18
19
build() {
20
cd "$pkgname"
21
sh bridge/logitechled/build.sh # LogitechLed.dll for Proton games (Windows DLLs, built with clang)
22
python -m build --wheel --no-isolation
23
}
24
25
check() {
26
cd "$pkgname"
27
# The parts that need no mouse, desktop session or D-Bus
28
python -m pytest -q tests/test_onboard.py tests/test_lightfx.py tests/test_rules.py tests/test_sharing.py
29
}
30
31
package() {
32
cd "$pkgname"
33
python -m installer --destdir="$pkgdir" dist/*.whl
34
install -Dm644 udev/70-g502-hub.rules "$pkgdir/usr/lib/udev/rules.d/70-g502-hub.rules"
35
install -Dm644 packaging/g502-hub.desktop "$pkgdir/usr/share/applications/g502-hub.desktop"
36
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-29 07:52:02 | Low | 1 |