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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |