lib32-openh264

MEDIUM
maintainer gverm 1 votes scanned 2026-09-06 15:12:20.220602
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3_name="openh264"
4pkgname="lib32-${_name}"
5pkgver=2.6.0
6pkgrel=1
7_gtestver=1.8.1 # https://github.com/cisco/openh264/blob/v2.6.0/Makefile#L33
8pkgdesc="H.264 encoder and decoder (32-bit)"
9arch=(
10 'x86_64'
11)
12url="https://www.openh264.org"
13_url="https://github.com/cisco/${_name}"
14license=(
15 'BSD-2-Clause'
16)
17depends=(
18 "${_name}>=${pkgver}"
19 'lib32-gcc-libs'
20 'lib32-glibc'
21)
22makedepends=(
23 'meson>=0.52'
24 'nasm'
25)
26provides=(
27 "lib${_name}.so"
28)
29_pkgsrc="${_url##*/}-${pkgver}"
30source=(
31 "${_url}/archive/refs/tags/v${pkgver}/${_pkgsrc}.tar.gz"
32 "https://github.com/google/googletest/archive/refs/tags/release-${_gtestver}/googletest-release-${_gtestver}.tar.gz"
33)
34sha256sums=('558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69'
35 '9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c')
36
37prepare() {
38 cd "${srcdir}/${_pkgsrc}"
39 ln -vsf "../googletest-release-${_gtestver}" "gtest"
40}
41
42build() {
43 export CFLAGS+=" -m32"
44 export CXXFLAGS+=" -m32"
45 export LDFLAGS+=" -m32"
46 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
47 local meson_options=(
48 --cross-file lib32
49 )
50
51 cd "${srcdir}"
52 arch-meson "${_pkgsrc}" "${_pkgsrc}/build" "${meson_options[@]}"
53 meson compile -C "${_pkgsrc}/build"
54}
55
56check() {
57 cd "${srcdir}"
58 meson test -C "${_pkgsrc}/build" --print-errorlogs
59}
60
61package() {
62 cd "${srcdir}"
63 meson install -C "${_pkgsrc}/build" --destdir "${pkgdir}"
64
65 cd "${pkgdir}/usr"
66 rm -rf "bin" "include" "share"
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-09-06 15:12:20 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

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

0 / 4000
Your suggestion