helios-git

LOW
maintainer Mopigames 0 votes scanned 2026-08-24 00:17:16.992713
View on AUR
Why flagged

The package builds from source using official project repositories and submodules, with prebuilt ffmpeg binaries from a trusted GitHub release; the few votes and recent upload are noted but do not indicate active malice or supply-chain risk.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from source using official project repositories and submodules, with prebuilt ffmpeg binaries from a trusted GitHub release; the few votes and recent upload are noted but do not indicate active malice or supply-chain risk.

PKGBUILD

1# Maintainer: Margot Prego <mopigames@proton.me>
2
3: "${_run_unit_tests:=false}"
4: "${_use_cuda:=detect}"
5
6pkgname=helios-git
7pkgver=0.5.2.r0.g7f7fc9d
8pkgrel=1
9pkgdesc='Game stream host for Selene and Moonlight OS (development version)'
10arch=('x86_64' 'aarch64')
11url='https://github.com/moonlight-os/helios'
12license=('GPL-3.0-only')
13install=helios.install
14
15depends=(
16 'avahi' 'boost-libs' 'curl' 'gcc-libs' 'libayatana-appindicator' 'libcap'
17 'libdrm' 'libevdev' 'libmfx' 'libnotify' 'libpulse' 'libva' 'libx11'
18 'libxcb' 'libxfixes' 'libxrandr' 'libxtst' 'miniupnpc' 'msquic' 'numactl'
19 'open-iscsi' 'openssl' 'opus' 'systemd-libs' 'udev' 'usbip' 'wayland' 'which'
20)
21makedepends=(
22 'appstream' 'appstream-glib' 'boost' 'cmake' 'desktop-file-utils' 'git'
23 'ninja' 'nlohmann-json' 'nodejs' 'npm'
24)
25checkdepends=('xorg-server-xvfb')
26optdepends=(
27 'cuda: Nvidia GPU encoding support'
28 'libva-mesa-driver: AMD GPU encoding support'
29)
30provides=('helios')
31conflicts=('helios' 'helios-bin')
32
33source=(
34 'helios::git+https://github.com/moonlight-os/helios.git'
35 'simple-web-server::git+https://github.com/ClassicOldSong/Simple-Web-Server.git'
36 'enet::git+https://github.com/cgutman/enet.git'
37 'googletest::git+https://github.com/google/googletest.git'
38 'inputtino::git+https://github.com/games-on-whales/inputtino.git'
39 'libdisplaydevice::git+https://github.com/LizardByte/libdisplaydevice.git'
40 'lunaris::git+https://github.com/moonlight-os/lunaris.git'
41 'nanors::git+https://github.com/sleepybishop/nanors.git'
42 'nv-codec-headers::git+https://github.com/FFmpeg/nv-codec-headers.git'
43 'tray::git+https://github.com/LizardByte/tray.git'
44 'wayland-protocols::git+https://gitlab.freedesktop.org/wayland/wayland-protocols.git'
45 'wlr-protocols::git+https://gitlab.freedesktop.org/wlroots/wlr-protocols.git'
46)
47sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP'
48 'SKIP' 'SKIP' 'SKIP' 'SKIP')
49source_x86_64=('ffmpeg-bundle::https://github.com/LizardByte/build-deps/releases/download/v2026.516.30821/Linux-x86_64-ffmpeg.tar.gz')
50sha256sums_x86_64=('c32319fcc2867befe8ff3ae26b4d3a58378c3a9c1bfef9029c9969321c3bc6ec')
51source_aarch64=('ffmpeg-bundle::https://github.com/LizardByte/build-deps/releases/download/v2026.516.30821/Linux-aarch64-ffmpeg.tar.gz')
52sha256sums_aarch64=('10b6c9440ba6178ec3b944f6c6f697253497cad5196d23a2d32d335daae0062e')
53
54if [[ "${_use_cuda::1}" == 'd' ]] && pacman -Qi cuda &>/dev/null; then
55 _use_cuda=true
56fi
57
58pkgver() {
59 git -C helios describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
60}
61
62prepare() {
63 cd helios
64 git submodule init
65 git config submodule.third-party/Simple-Web-Server.url "$srcdir/simple-web-server"
66 git config submodule.third-party/googletest.url "$srcdir/googletest"
67 git config submodule.third-party/inputtino.url "$srcdir/inputtino"
68 git config submodule.third-party/libdisplaydevice.url "$srcdir/libdisplaydevice"
69 git config submodule.third-party/moonlight-common-c.url "$srcdir/lunaris"
70 git config submodule.third-party/nanors.url "$srcdir/nanors"
71 git config submodule.third-party/nv-codec-headers.url "$srcdir/nv-codec-headers"
72 git config submodule.third-party/tray.url "$srcdir/tray"
73 git config submodule.third-party/wayland-protocols.url "$srcdir/wayland-protocols"
74 git config submodule.third-party/wlr-protocols.url "$srcdir/wlr-protocols"
75 git -c protocol.file.allow=always submodule update \
76 third-party/Simple-Web-Server \
77 third-party/googletest third-party/inputtino third-party/libdisplaydevice \
78 third-party/moonlight-common-c third-party/nanors \
79 third-party/nv-codec-headers third-party/tray \
80 third-party/wayland-protocols third-party/wlr-protocols
81
82 git -C third-party/moonlight-common-c submodule init
83 git -C third-party/moonlight-common-c config submodule.enet.url "$srcdir/enet"
84 git -C third-party/moonlight-common-c config submodule.nanors.url "$srcdir/nanors"
85 git -C third-party/moonlight-common-c -c protocol.file.allow=always \
86 submodule update enet nanors
87 sed -i 's/find_package(Boost CONFIG ${BOOST_VERSION} EXACT COMPONENTS ${BOOST_COMPONENTS})/find_package(Boost CONFIG ${BOOST_VERSION} COMPONENTS ${BOOST_COMPONENTS})/' \
88 cmake/dependencies/Boost_Helios.cmake
89 sed -i '/^[[:space:]]*system$/d' cmake/dependencies/Boost_Helios.cmake
90 sed -i \
91 -e 's/find_package(Boost 1.53.0 COMPONENTS system REQUIRED)/find_package(Boost 1.53.0 REQUIRED)/' \
92 -e 's/Boost::boost Boost::system/Boost::boost/' \
93 third-party/Simple-Web-Server/CMakeLists.txt
94}
95
96build() {
97 local current_version current_commit
98 current_version="$(pkgver)"
99 current_commit="$(git -C helios rev-parse HEAD)"
100 export BRANCH=main
101 export BUILD_VERSION="$current_version"
102 export COMMIT="$current_commit"
103 export CFLAGS="${CFLAGS/-Werror=format-security/}"
104 export CXXFLAGS="${CXXFLAGS/-Werror=format-security/}"
105
106 local cmake_options=(
107 -S helios -B build -G Ninja -Wno-dev
108 -D BOOST_USE_STATIC=OFF
109 -D BUILD_DOCS=OFF
110 -D BUILD_TESTS="$_run_unit_tests"
111 -D BUILD_WERROR=ON
112 -D CMAKE_BUILD_TYPE=None
113 -D CMAKE_INSTALL_PREFIX=/usr
114 -D CUDA_FAIL_ON_MISSING=OFF
115 -D ENABLE_MLOS_QUIC=ON
116 -D FFMPEG_PREPARED_BINARIES="$srcdir/ffmpeg"
117 -D SUNSHINE_ASSETS_DIR=share/helios
118 -D SUNSHINE_EXECUTABLE_PATH=/usr/bin/helios
119 -D SUNSHINE_PUBLISHER_ISSUE_URL=https://github.com/moonlight-os/helios/issues
120 -D SUNSHINE_PUBLISHER_NAME=AUR
121 -D SUNSHINE_PUBLISHER_WEBSITE=https://aur.archlinux.org/packages/helios-git
122 )
123
124 if [[ "${_use_cuda::1}" != 't' ]]; then
125 cmake_options+=(-D SUNSHINE_ENABLE_CUDA=OFF)
126 fi
127
128 cmake "${cmake_options[@]}"
129 appstreamcli validate --no-net build/dev.mopigames.Helios.metainfo.xml
130 appstream-util validate build/dev.mopigames.Helios.metainfo.xml
131 desktop-file-validate build/dev.mopigames.Helios.desktop
132 desktop-file-validate build/dev.mopigames.Helios.terminal.desktop
133 cmake --build build
134}
135
136check() {
137 build/helios --version
138 if [[ "${_run_unit_tests::1}" == 't' ]]; then
139 xvfb-run -a build/tests/test_helios --gtest_color=yes
140 fi
141}
142
143package() {
144 DESTDIR="$pkgdir" cmake --install build
145}
146

Scan history

Scanned at (UTC)SeverityRules
2026-08-24 00:17:16 Low 2
2026-08-23 23:21:41 Low 2

Report a package

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

0 / 4000
Your suggestion