librsvg-pixbuf-loader
LOW
maintainer rocka
0 votes
scanned 2026-10-17 19:19:13.554222
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: Rocket Aaron (rocka) <rocka@archlinuxcn.org>
2
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3
# Contributor: Fabian Bornschein <fabiscafe@archlinux.org>
4
# Contributor: Jan de Groot <jgc@archlinux.org>
5
6
pkgname=librsvg-pixbuf-loader
7
pkgver=2.63.3
8
pkgrel=1
9
pkgdesc="SVG GDK Pixbuf Loader library (from librsvg)"
10
url="https://gitlab.gnome.org/GNOME/librsvg"
11
arch=(x86_64)
12
license=(LGPL-2.1-or-later)
13
depends=(
14
gcc-libs
15
gdk-pixbuf2
16
glib2
17
glibc
18
librsvg
19
)
20
makedepends=(
21
# librsvg deps
22
cairo
23
dav1d
24
freetype2
25
harfbuzz
26
libxml2
27
pango
28
# build deps
29
cargo-c
30
gi-docgen
31
git
32
gobject-introspection
33
llvm
34
meson
35
python-docutils
36
rust
37
vala
38
)
39
checkdepends=(ttf-dejavu)
40
source=(
41
"https://gitlab.gnome.org/GNOME/librsvg/-/archive/${pkgver}/librsvg-${pkgver}.tar.gz"
42
install-tag.patch
43
)
44
sha256sums=('55227c18a6bbb80d41c3cbf8f7c88c096bd0c250d224a557b82e1f601a1dd945'
45
'3b6d1dc3bda1b9387ac6b9e50dade552ab374b060dbc3a44af67b0e57f2d895d')
46
47
# Use debug
48
export CARGO_PROFILE_RELEASE_DEBUG=2 CARGO_PROFILE_RELEASE_STRIP=false
49
50
# Use LTO
51
export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
52
53
prepare() {
54
cd "${srcdir}/librsvg-${pkgver}"
55
patch -Np1 -i "${srcdir}/install-tag.patch"
56
}
57
58
build() {
59
local meson_options=(
60
-D avif=enabled
61
-D pixbuf-loader=enabled
62
)
63
64
arch-meson "${meson_options[@]}" "${srcdir}/build" "${srcdir}/librsvg-${pkgver}"
65
meson compile -C "${srcdir}/build" pixbufloader-svg
66
}
67
68
check() {
69
meson test -C build --print-errorlogs --no-rebuild pixbufloader-svg
70
}
71
72
package() {
73
meson install -C "${srcdir}/build" --destdir "${pkgdir}" --no-rebuild --tags pixbufloader-svg
74
}
75
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 19:19:13 | Low | 1 |