looking-glass
maintainer Omar007
· 45 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source URL is hosted on the project's official domain (looking-glass.io), which is legitimate and expected for this package; the non-whitelisted host flag is a false positive as the domain is project-owned and trustworthy.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source URL is hosted on the project's official domain (looking-glass.io), which is legitimate and expected for this package; the non-whitelisted host flag is a false positive as the domain is project-owned and trustworthy.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:18
source=("looking-glass-${pkgver}.tar.gz::https://looking-glass.io/artifact/${pkgver}/source"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Omar Pakker <archlinux@opakker.nl>
2
3
pkgbase=looking-glass
4
pkgname=("${pkgbase}"
5
"${pkgbase}-module-dkms"
6
# "${pkgbase}-host"
7
"obs-plugin-${pkgbase}")
8
epoch=2
9
pkgver=B7
10
pkgrel=7
11
pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough"
12
url="https://looking-glass.io/"
13
arch=('x86_64')
14
license=('GPL-2.0-or-later')
15
makedepends=('cmake' 'fontconfig' 'libpipewire' 'libpulse'
16
'libsamplerate' 'libxi' 'libxpresent' 'libxss' 'obs-studio'
17
'spice-protocol' 'wayland-protocols')
18
source=("looking-glass-${pkgver}.tar.gz::https://looking-glass.io/artifact/${pkgver}/source"
19
"1197-backport.patch"
20
"nettle4-compat.patch")
21
sha512sums=('a3f0193451c64dbd9ead01538fa53cc78b42d318d54b2eef026fb730811e055bb140b67dcd91c1da5ef09ec74fbb141c791b53264a56a943308b81a6e49e1e93'
22
'7e927d6cae8190dba46be59e64862f327f5226e4baa3116559aa92174d9c8b7e6752a356fe67bb144036c36f1a95b2379d4b2efa5f4f09775bcbbe03107dcaac'
23
'0b0cfe95179fef4d5443a66536c6bb628996340c667ad87fbb1bd57cf759e1aec007e44e1a210a4eb63516cc213a47eb9cfe41d18916508d1718ba3e050ddf48')
24
25
_lgdir="${pkgbase}-${pkgver}"
26
27
prepare() {
28
cd "${srcdir}/${_lgdir}"
29
for patch in "${srcdir}"/*.patch; do
30
patch -p1 < "${patch}"
31
done
32
}
33
34
build() {
35
cd "${srcdir}/${_lgdir}"
36
37
local components=(
38
"client"
39
# "host"
40
"obs"
41
)
42
for b in "${components[@]}"; do
43
mkdir "${b}/build"
44
pushd "${b}/build"
45
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
46
make
47
popd
48
done
49
}
50
51
package_looking-glass() {
52
pkgdesc="A client application for accessing the LookingGlass IVSHMEM device of a VM"
53
depends=('binutils' 'fontconfig' 'gcc-libs' 'glibc' 'gmp' 'hicolor-icon-theme'
54
'libegl' 'libgl' 'libpipewire' 'libpulse' 'libsamplerate' 'libx11'
55
'libxcursor' 'libxfixes' 'libxi' 'libxinerama' 'libxkbcommon' 'libxpresent'
56
'libxss' 'nettle' 'wayland' 'zlib' 'zstd')
57
58
cd "${srcdir}/${_lgdir}/client/build"
59
make DESTDIR="${pkgdir}" install
60
}
61
62
package_looking-glass-module-dkms() {
63
pkgdesc="A kernel module that implements a basic interface to the IVSHMEM device for when using LookingGlass in VM->VM mode"
64
depends=('dkms')
65
66
cd "${srcdir}/${_lgdir}/module"
67
install -Dm644 -t "${pkgdir}/usr/src/${pkgbase}-${pkgver}" \
68
Makefile \
69
dkms.conf \
70
kvmfr.{h,c}
71
}
72
73
#package_looking-glass-host() {
74
# pkgdesc="Linux host application for pushing frame data to the LookingGlass IVSHMEM device"
75
# depends=('binutils' 'gcc-libs' 'glib2' 'glibc'
76
# 'libpipewire' 'libxcb' 'zlib' 'zstd')
77
# install="host.install"
78
#
79
# cd "${srcdir}/${_lgdir}/host/build"
80
# make DESTDIR="${pkgdir}" install
81
#}
82
83
package_obs-plugin-looking-glass() {
84
pkgdesc="Plugin for OBS Studio to stream directly from Looking Glass without having to record the Looking Glass client"
85
depends=('glibc' 'obs-studio')
86
87
install -Dm644 -t "${pkgdir}/usr/lib/obs-plugins" \
88
"${srcdir}/${_lgdir}/obs/build/liblooking-glass-obs.so"
89
}
90
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |