g502-hub

LOW
maintainer ilovesusu 0 votes scanned 2026-10-29 07:52:02.761978
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: Joy Jasper <0x73757375@gmail.com>
2# Contributor: Ahmed Saad
3pkgname=g502-hub
4pkgver=0.2.1
5pkgrel=1
6pkgdesc="Unofficial G HUB alternative for the Logitech G502 HERO: DPI, lighting, buttons, macros, profiles and game rules"
7arch=('any')
8url="https://github.com/Ahmedxsaad/g502-hub"
9license=('GPL-3.0-or-later')
10depends=('python' 'pyside6' 'python-numpy' 'python-gobject' 'python-dbus-fast' 'python-evdev'
11 'libxkbcommon' 'gstreamer' 'gst-plugins-base' 'gst-plugin-pipewire' 'libpulse')
12makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel'
13 'clang' 'llvm' 'lld')
14checkdepends=('python-pytest')
15optdepends=('steam: game detection, cover art colors and the LIGHTSYNC bridge for Proton games')
16source=("$pkgname::git+$url.git#tag=v$pkgver")
17sha256sums=('SKIP')
18
19build() {
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
25check() {
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
31package() {
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)SeverityRules
2026-10-29 07:52:02 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