lib32-apitrace
LOW
maintainer orphaned
0 votes
scanned 2026-08-23 15:20:41.721113
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
2
# Contributor: Luca Bennati <lucak3 AT gmail DOT com>
3
# Contributor: Glaucous <glakke1 at gmail dot com>
4
5
pkgname=lib32-apitrace
6
_name="${pkgname//lib32-/}"
7
pkgver=14.0
8
pkgrel=1
9
pkgdesc="Graphics API Tracing (32-bit)"
10
arch=('x86_64')
11
url="https://github.com/apitrace/apitrace"
12
license=(MIT)
13
depends=(
14
$_name=$pkgver
15
lib32-brotli
16
lib32-glibc
17
lib32-libpng
18
lib32-libprocps
19
lib32-libx11
20
lib32-zlib
21
python
22
python-numpy
23
python-pillow
24
)
25
makedepends=(
26
cmake
27
git
28
)
29
source=(
30
$_name::git+$url.git#tag=$pkgver
31
git+https://github.com/apitrace/gltrim-tests.git
32
git+https://github.com/google/brotli.git
33
git+https://github.com/google/googletest.git
34
git+https://github.com/ianlancetaylor/libbacktrace.git
35
git+https://github.com/apitrace/libpng.git
36
git+https://github.com/google/snappy.git
37
git+https://github.com/madler/zlib.git
38
git+https://github.com/microsoft/DirectXMath.git
39
)
40
sha256sums=('ae711c7a2152b2ada5e319f96c58aabdd531370ed12acd32fc9f3153c82d3149'
41
'SKIP'
42
'SKIP'
43
'SKIP'
44
'SKIP'
45
'SKIP'
46
'SKIP'
47
'SKIP'
48
'SKIP')
49
50
prepare() {
51
cd $_name
52
53
git submodule init
54
git config submodule.frametrim/tests.url "$srcdir/gltrim-tests"
55
git config submodule.thirdparty/brotli.url "$srcdir/brotli"
56
git config submodule.thirdparty/gtest.url "$srcdir/googletest"
57
git config submodule.thirdparty/libbacktrace.url "$srcdir/libbacktrace"
58
git config submodule.thirdparty/libpng.url "$srcdir/libpng"
59
git config submodule.thirdparty/snappy.url "$srcdir/snappy"
60
git config submodule.thirdparty/zlib.url "$srcdir/zlib"
61
git config submodule.thirdparty/directxmath.url "$srcdir/DirectXMath"
62
git -c protocol.file.allow=always submodule update
63
}
64
65
66
build() {
67
local cmake_options=(
68
-B build
69
-D CMAKE_BUILD_TYPE=None
70
-D CMAKE_INSTALL_PREFIX=/usr
71
-D ENABLE_GUI=NO
72
-D LIB_SUFFIX=32
73
-S $_name
74
-W no-dev
75
)
76
77
export CFLAGS+=" -m32"
78
export CXXFLAGS+=" -m32"
79
export LDFLAGS+=" -m32"
80
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
81
82
cmake "${cmake_options[@]}"
83
cmake --build build --verbose
84
cd $_name
85
}
86
87
package() {
88
local binary
89
90
DESTDIR="$pkgdir" cmake --install build
91
install -vDm 644 $_name/LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname/"
92
93
for binary in "$pkgdir/usr/bin/"*; do
94
mv -v "$binary" "$binary-32"
95
done
96
mv -v "$pkgdir/usr/share/doc/$_name" "$pkgdir/usr/share/doc/$pkgname"
97
}
98
99
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-23 15:20:41 | Low | 1 |