looking-glass-rc-host
MEDIUM
maintainer merrkry
3 votes
base
looking-glass-rc
scanned 2026-11-06 14:12:45.421656
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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:22
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
# Maintainer: ston <2424284164@qq.com>
3
# Maintainer: Merrkry <jeffpotvin930@gmail.com>
4
5
_pkgname=looking-glass
6
pkgbase=looking-glass-rc
7
pkgname=("${pkgbase}"
8
"${pkgbase}-module-dkms"
9
"${pkgbase}-host"
10
"obs-plugin-${pkgbase}")
11
epoch=1
12
pkgver=B8rc1
13
_pkgver=${pkgver/rc/-rc}
14
pkgrel=2
15
pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough. (Candidate Version)"
16
url="https://looking-glass.io/"
17
arch=('x86_64')
18
license=('GPL-2.0-or-later')
19
makedepends=('cmake' 'dkms' 'fontconfig' 'fuse3' 'libdecor' 'libegl' 'libelf' 'libpipewire'
20
'libpulse' 'libsamplerate' 'libunwind' 'libxi' 'libxinerama' 'libxpresent' 'libxrandr'
21
'libxss' 'obs-studio' 'simde' 'spice-protocol' 'usbredir' 'wayland-protocols')
22
source=("looking-glass-${_pkgver}.tar.gz::https://looking-glass.io/artifact/${_pkgver}/source")
23
sha256sums=('8820a77c1a68f823be0c19dbcddb1c3a3e6a08a388925da81703665b7e79f971')
24
25
_lgdir="${_pkgname}-${_pkgver}"
26
27
prepare() {
28
chmod -R a+rX "${srcdir}/${_lgdir}"
29
}
30
31
build() {
32
cd "${srcdir}/${_lgdir}"
33
for component in client host obs; do
34
cmake -S "${component}" -B "${component}/build" \
35
-DOPTIMIZE_FOR_NATIVE=x86-64-v2 -DCMAKE_INSTALL_PREFIX=/usr
36
cmake --build "${component}/build"
37
done
38
}
39
40
package_looking-glass-rc() {
41
pkgdesc="A client application for accessing the LookingGlass IVSHMEM device of a VM"
42
depends=('fontconfig' 'fuse3' 'glibc' 'gmp' 'hicolor-icon-theme' 'libdecor' 'libegl'
43
'libelf' 'libgcc' 'libgl' 'libpipewire' 'libpulse' 'libsamplerate' 'libstdc++' 'libunwind'
44
'libx11' 'libxcursor' 'libxfixes' 'libxi' 'libxinerama' 'libxkbcommon' 'libxpresent'
45
'libxrandr' 'libxss' 'nettle' 'usbredir' 'wayland')
46
# Preserve the client's own split debug file and its crash backtrace debuglink.
47
options=('!strip' '!debug')
48
provides=("${_pkgname}")
49
conflicts=("${_pkgname}")
50
cd "${srcdir}/${_lgdir}/client/build"
51
make DESTDIR="${pkgdir}" install
52
strip --strip-unneeded "${pkgdir}/usr/bin/looking-glass-client"
53
}
54
55
package_looking-glass-rc-module-dkms() {
56
pkgdesc="A kernel module that implements a basic interface to the IVSHMEM device for when using LookingGlass in VM->VM mode"
57
arch=('any')
58
depends=('dkms')
59
provides=("${_pkgname}-module-dkms")
60
conflicts=("${_pkgname}-module-dkms")
61
cd "${srcdir}/${_lgdir}/module"
62
install -Dm644 -t "${pkgdir}/usr/src/kvmfr-${pkgver}" \
63
Makefile \
64
dkms.conf \
65
kvmfr.{h,c}
66
sed -i "s/^PACKAGE_VERSION=.*/PACKAGE_VERSION=\"${pkgver}\"/" \
67
"${pkgdir}/usr/src/kvmfr-${pkgver}/dkms.conf"
68
}
69
70
package_looking-glass-rc-host() {
71
pkgdesc="Linux host application for pushing frame data to the LookingGlass IVSHMEM device"
72
depends=('glib2' 'glibc' 'libelf' 'libgcc' 'libpipewire' 'libunwind' 'libxcb')
73
provides=("${_pkgname}-host")
74
conflicts=("${_pkgname}-host")
75
cd "${srcdir}/${_lgdir}/host/build"
76
make DESTDIR="${pkgdir}" install
77
}
78
79
package_obs-plugin-looking-glass-rc() {
80
pkgdesc="Plugin for OBS Studio to stream directly from Looking Glass without having to record the Looking Glass client"
81
depends=('glibc' 'libelf' 'libunwind' 'obs-studio')
82
provides=("obs-plugin-${_pkgname}")
83
conflicts=("obs-plugin-${_pkgname}")
84
install -Dm644 -t "${pkgdir}/usr/lib/obs-plugins" \
85
"${srcdir}/${_lgdir}/obs/build/liblooking-glass-obs.so"
86
}
87
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-11-06 14:12@@ -9,62 +9,67 @@ "${pkgbase}-host" "obs-plugin-${pkgbase}") epoch=1-pkgver=B7-_pkgver=$(echo "$pkgver" | sed 's/\([A-Z]\+[0-9]\+\)\(rc\)/\1-\2/')-pkgrel=1+pkgver=B8rc1+_pkgver=${pkgver/rc/-rc}+pkgrel=2 pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough. (Candidate Version)" url="https://looking-glass.io/" arch=('x86_64') license=('GPL-2.0-or-later')-makedepends=('cmake' 'fontconfig' 'libpipewire' 'libpulse'- 'libsamplerate' 'libxi' 'libxpresent' 'libxss' 'obs-studio'- 'spice-protocol' 'wayland-protocols')+makedepends=('cmake' 'dkms' 'fontconfig' 'fuse3' 'libdecor' 'libegl' 'libelf' 'libpipewire'+ 'libpulse' 'libsamplerate' 'libunwind' 'libxi' 'libxinerama' 'libxpresent' 'libxrandr'+ 'libxss' 'obs-studio' 'simde' 'spice-protocol' 'usbredir' 'wayland-protocols') source=("looking-glass-${_pkgver}.tar.gz::https://looking-glass.io/artifact/${_pkgver}/source")-sha256sums=('09e506660ccc1b9691d06caa70179b52ffb4393299895cff3c2f0e74fcd69985')+sha256sums=('8820a77c1a68f823be0c19dbcddb1c3a3e6a08a388925da81703665b7e79f971') _lgdir="${_pkgname}-${_pkgver}" +prepare() {+ chmod -R a+rX "${srcdir}/${_lgdir}"+}+ build() { cd "${srcdir}/${_lgdir}"- for b in {client,host,obs}/build; do- mkdir "${b}"- pushd "${b}"- # OPTIMIZE_FOR_NATIVE defined in ../cmake/OptimizeForNative.cmake- # Defaults to AUTO and is automatically set if unspecified- cmake -DOPTIMIZE_FOR_NATIVE=x86-64-v2 -DCMAKE_INSTALL_PREFIX=/usr ..- make- popd+ for component in client host obs; do+ cmake -S "${component}" -B "${component}/build" \+ -DOPTIMIZE_FOR_NATIVE=x86-64-v2 -DCMAKE_INSTALL_PREFIX=/usr+ cmake --build "${component}/build" done } package_looking-glass-rc() { pkgdesc="A client application for accessing the LookingGlass IVSHMEM device of a VM"- depends=('binutils' 'fontconfig' 'gcc-libs' 'glibc' 'gmp' 'libegl' 'libgl'- 'libpipewire' 'libpulse' 'libsamplerate' 'libx11' 'libxcursor'- 'libxfixes' 'libxi' 'libxinerama' 'libxkbcommon' 'libxpresent'- 'libxss' 'nettle' 'wayland' 'zlib' 'zstd')+ depends=('fontconfig' 'fuse3' 'glibc' 'gmp' 'hicolor-icon-theme' 'libdecor' 'libegl'+ 'libelf' 'libgcc' 'libgl' 'libpipewire' 'libpulse' 'libsamplerate' 'libstdc++' 'libunwind'+ 'libx11' 'libxcursor' 'libxfixes' 'libxi' 'libxinerama' 'libxkbcommon' 'libxpresent'+ 'libxrandr' 'libxss' 'nettle' 'usbredir' 'wayland')+ # Preserve the client's own split debug file and its crash backtrace debuglink.+ options=('!strip' '!debug') provides=("${_pkgname}") conflicts=("${_pkgname}") cd "${srcdir}/${_lgdir}/client/build" make DESTDIR="${pkgdir}" install+ strip --strip-unneeded "${pkgdir}/usr/bin/looking-glass-client" } package_looking-glass-rc-module-dkms() { pkgdesc="A kernel module that implements a basic interface to the IVSHMEM device for when using LookingGlass in VM->VM mode"+ arch=('any') depends=('dkms') provides=("${_pkgname}-module-dkms") conflicts=("${_pkgname}-module-dkms") cd "${srcdir}/${_lgdir}/module"- install -Dm644 -t "${pkgdir}/usr/src/${_pkgname}-${_pkgver}" \+ install -Dm644 -t "${pkgdir}/usr/src/kvmfr-${pkgver}" \ Makefile \ dkms.conf \ kvmfr.{h,c}+ sed -i "s/^PACKAGE_VERSION=.*/PACKAGE_VERSION=\"${pkgver}\"/" \+ "${pkgdir}/usr/src/kvmfr-${pkgver}/dkms.conf" } package_looking-glass-rc-host() { pkgdesc="Linux host application for pushing frame data to the LookingGlass IVSHMEM device"- depends=('binutils' 'gcc-libs' 'glib2' 'glibc'- 'libpipewire' 'libxcb' 'zlib' 'zstd')+ depends=('glib2' 'glibc' 'libelf' 'libgcc' 'libpipewire' 'libunwind' 'libxcb') provides=("${_pkgname}-host") conflicts=("${_pkgname}-host") cd "${srcdir}/${_lgdir}/host/build"@@ -73,7 +78,7 @@ package_obs-plugin-looking-glass-rc() { pkgdesc="Plugin for OBS Studio to stream directly from Looking Glass without having to record the Looking Glass client"- depends=('glibc' 'obs-studio')+ depends=('glibc' 'libelf' 'libunwind' 'obs-studio') provides=("obs-plugin-${_pkgname}") conflicts=("obs-plugin-${_pkgname}") install -Dm644 -t "${pkgdir}/usr/lib/obs-plugins" \Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-06 14:12:45 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |