blend2d-git
MEDIUM
maintainer dreieck
2 votes
scanned 2026-09-27 13:18:29.354985
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: Cebtenzzre <cebtenzzre (at) gmail (dot) com>
2
3
_pkgname=blend2d
4
pkgname=${_pkgname}-git
5
pkgver=r87.592d1ba
6
pkgrel=1
7
pkgdesc='A high-performance 2D vector graphics engine written in C++'
8
url='https://blend2d.com'
9
arch=('i686' 'x86_64')
10
license=('custom:zlib')
11
depends=('glibc')
12
makedepends=('clang' 'cmake' 'git')
13
provides=("$_pkgname")
14
conflicts=("$_pkgname")
15
source=("${_pkgname}::git+https://github.com/blend2d/blend2d"
16
"asmjit::git+https://github.com/asmjit/asmjit")
17
sha1sums=('SKIP' 'SKIP')
18
19
pkgver() {
20
cd "$_pkgname"
21
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
22
}
23
24
build() {
25
cd "$_pkgname"
26
27
[[ -d build ]] && rm -rf build
28
mkdir build && cd build
29
30
# "It's strongly advised to use Clang to compile Blend2D on all platforms to achieve maximum performance."
31
export CC='clang'
32
export CXX='clang++'
33
34
# Build a shared library with tests
35
cmake .. \
36
-DCMAKE_INSTALL_PREFIX=/usr \
37
-DCMAKE_BUILD_TYPE=Release \
38
-DASMJIT_DIR="$srcdir"/asmjit \
39
-DBLEND2D_EMBED=FALSE \
40
-DBLEND2D_STATIC=FALSE \
41
-DBLEND2D_TEST=TRUE
42
43
make
44
}
45
46
check() {
47
cd "$_pkgname"/build
48
./bl_test_unit
49
}
50
51
package() {
52
cd "$_pkgname"/build
53
make DESTDIR="$pkgdir" install
54
55
# Do not include the unit test program
56
rm -rf "$pkgdir"/usr/bin
57
58
install -Dm644 -t "$pkgdir"/usr/share/licenses/"$pkgname" ../LICENSE.md
59
}
60
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 13:18:29 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |