lib32-libyuv
MEDIUM
maintainer Damgaldor
0 votes
scanned 2026-09-06 13:11:32.219503
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="libyuv"
4
pkgname="lib32-${_name}"
5
_commit="644251f252a84bf8ce91ff0aca86a9b16b069ab8" # r2921
6
pkgver="r2921+${_commit::9}"
7
pkgrel=1
8
pkgdesc="Library for YUV scaling (32-bit)"
9
arch=('x86_64')
10
url="https://chromium.googlesource.com/libyuv/libyuv"
11
license=('LicenseRef-libavif')
12
depends=('lib32-gcc-libs' 'lib32-glibc' 'lib32-libjpeg-turbo' "${_name}>=${pkgver}")
13
makedepends=('cmake>=2.8.12' 'git') # 'lib32-gtest'
14
provides=("${_name}.so")
15
source=("git+${url}#commit=${_commit}")
16
sha512sums=('4dcf60738bb23c8c4581457dbd00a4ff7c86cf28cc66190544942079954c9ec90c353e1892ab3a684bfb2a4ca34cb91cd42a29d15e633e8c673d09708266705f')
17
18
pkgver() {
19
cd "${srcdir}/${_name}"
20
printf "r%s+%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21
}
22
23
24
prepare() {
25
cd "${srcdir}/${_name}"
26
sed -e 's|yuvconvert ${JPEG_LIBRARY}|${ly_lib_shared} ${JPEG_LIBRARY}|' \
27
-e 's|DESTINATION lib|DESTINATION lib32|g' \
28
-e '/DESTINATION include/d' \
29
-e '/yuvconvert/d' \
30
-e '/yuvconstants/d' \
31
-i 'CMakeLists.txt'
32
}
33
34
build() {
35
export CFLAGS+=" -m32"
36
export CXXFLAGS+=" -m32"
37
export LDFLAGS+=" -m32"
38
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
39
local cmake_options=(
40
-G 'Unix Makefiles'
41
-B "${_name}/build"
42
-S "${_name}"
43
-Wno-dev
44
-DCMAKE_BUILD_TYPE:STRING='None'
45
-DCMAKE_INSTALL_PREFIX:PATH='/usr'
46
# -DCMAKE_INSTALL_LIBDIR='lib32'
47
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
48
-DTEST:BOOL=OFF
49
)
50
51
cd "${srcdir}"
52
cmake "${cmake_options[@]}"
53
cmake --build "${_name}/build"
54
}
55
56
# check() {
57
# local excluded_tests=""
58
# local ctest_flags=(
59
# --test-dir "${_name}/build"
60
# --output-on-failure
61
# --parallel $(nproc)
62
# --exclude-regex "${excluded_tests}"
63
# )
64
#
65
# cd "${srcdir}"
66
# ctest "${ctest_flags[@]}"
67
# }
68
69
package() {
70
cd "${srcdir}"
71
DESTDIR="${pkgdir}" cmake --install "${_name}/build"
72
73
cd "${pkgdir}/usr"
74
rm -rf "bin" "include" "share"
75
}
76
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-09-06 13:11@@ -2,8 +2,8 @@ _name="libyuv" pkgname="lib32-${_name}"-_commit="464c51a0353c71f08fe45f683d6a97a638d47833" # r2426-pkgver="r2426+${_commit::9}"+_commit="644251f252a84bf8ce91ff0aca86a9b16b069ab8" # r2921+pkgver="r2921+${_commit::9}" pkgrel=1 pkgdesc="Library for YUV scaling (32-bit)" arch=('x86_64')@@ -13,7 +13,7 @@ makedepends=('cmake>=2.8.12' 'git') # 'lib32-gtest' provides=("${_name}.so") source=("git+${url}#commit=${_commit}")-sha512sums=('1a149818c4cddaef7963606cac5d6f1e2b6ccf700507ceca7e77f3206853c5f6818044c12af362d1f065c63e1aa9a8f3fde052e86841773417eb98f8ad2d8c69')+sha512sums=('4dcf60738bb23c8c4581457dbd00a4ff7c86cf28cc66190544942079954c9ec90c353e1892ab3a684bfb2a4ca34cb91cd42a29d15e633e8c673d09708266705f') pkgver() { cd "${srcdir}/${_name}"@@ -47,7 +47,7 @@ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DTEST:BOOL=OFF )- + cd "${srcdir}" cmake "${cmake_options[@]}" cmake --build "${_name}/build"@@ -61,7 +61,7 @@ # --parallel $(nproc) # --exclude-regex "${excluded_tests}" # )-# +# # cd "${srcdir}" # ctest "${ctest_flags[@]}" # }Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 13:11:32 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |