smpeg0
The source is pulled from svn.icculus.org, which hosts the project's own upstream repository; building from a non-whitelisted but project-owned host with a SKIP'd checksum is a common AUR practice and poses low risk as it's the project's official source.
Triggered rules
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 is pulled from svn.icculus.org, which hosts the project's own upstream repository; building from a non-whitelisted but project-owned host with a SKIP'd checksum is a common AUR practice and poses low risk as it's the project's official source.
1 higher static finding superseded - not the current verdict (shown for transparency)
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=("$pkgname-$pkgver::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
PKGBUILD
1 offending line(s) highlighted# Maintainer: yuri_k7 <riyu12383@gmail.com>
# Co-Maintainer Darren Ng <`base64 -d <<<aGMwbWV1QG5hdmVyLmNvbQo=`>
# https://gitlab.archlinux.org/archlinux/packaging/packages/smpeg/-/blob/e9366f6f4b4026368b9cbc651d694d138437b9ea/PKGBUILD
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=smpeg0
pkgver=0.4.5
pkgrel=9
pkgdesc="SDL MPEG Player Library - Legacy version 0.4.5"
arch=($CARCH)
url=https://icculus.org/smpeg/
license=(LGPL-2.0-only)
makedepends=(subversion)
depends=(
sh # smpeg-config
"sdl>=1:1" "sdl<1:2" # provided by sdl12-compat over sdl2-compat over sdl3
gcc-libs glibc glu libglvnd
)
source=("$pkgname-$pkgver::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
sha256sums=(SKIP)
prepare(){
cd $pkgname-$pkgver
# configure
./autogen.sh
local _C=(
./configure
--prefix=/usr
--disable-gtk-player
--disable-gtktest
--enable-opengl-player
--with-x
)
"${_C[@]}"
# configure script is broken
# configure script ignores flags
# manually append flags
export CFLAGS="$CFLAGS -std=c11"
export CXXFLAGS="$CXXFLAGS -std=c++11 -Wno-error=narrowing"
sed Makefile -i -e "/^CPPFLAGS/ s|$| $CPPFLAGS |g" # preprocessor
sed Makefile -i -e "/^CFLAGS/ s|$| $CFLAGS |g"
sed Makefile -i -e "/^CXXFLAGS/ s|$| $CXXFLAGS |g"
sed Makefile -i -e "/^LDFLAGS/ s|$| $LDFLAGS |g"
# smpeg0 /usr/bin/plaympeg in conflict with smpeg
sed plaympeg.1 -i -e "s/plaympeg/plaympeg0/g" -e "s/PLAYMPEG/PLAYMPEG0/g"
}
build() {
make -C $pkgname-$pkgver
}
package(){
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
cd "$pkgdir"/usr
mv bin/plaympeg{,0}
cd share/man/man1
rm gtv.1
#sh
mv plaympeg{,0}.1
}
# vim: set ai nosi noet ts=2 sts=2 sw=2:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |