lib32-openh264
MEDIUM
maintainer gverm
1 votes
scanned 2026-09-06 15:12:20.220602
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"
4
pkgname="lib32-${_name}"
5
pkgver=2.6.0
6
pkgrel=1
7
_gtestver=1.8.1 # https://github.com/cisco/openh264/blob/v2.6.0/Makefile#L33
8
pkgdesc="H.264 encoder and decoder (32-bit)"
9
arch=(
10
'x86_64'
11
)
12
url="https://www.openh264.org"
13
_url="https://github.com/cisco/${_name}"
14
license=(
15
'BSD-2-Clause'
16
)
17
depends=(
18
"${_name}>=${pkgver}"
19
'lib32-gcc-libs'
20
'lib32-glibc'
21
)
22
makedepends=(
23
'meson>=0.52'
24
'nasm'
25
)
26
provides=(
27
"lib${_name}.so"
28
)
29
_pkgsrc="${_url##*/}-${pkgver}"
30
source=(
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
)
34
sha256sums=('558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69'
35
'9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c')
36
37
prepare() {
38
cd "${srcdir}/${_pkgsrc}"
39
ln -vsf "../googletest-release-${_gtestver}" "gtest"
40
}
41
42
build() {
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
56
check() {
57
cd "${srcdir}"
58
meson test -C "${_pkgsrc}/build" --print-errorlogs
59
}
60
61
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-06 15:12:20 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |