summaryrefslogtreecommitdiff
path: root/librsvg
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-10-10 00:13:28 +1100
committerDanny Rawlins <contact@romster.me>2021-10-10 00:13:50 +1100
commit9599ba5bef35b47c79db74c798b254906c8b57f6 (patch)
tree65c5a3e24150d9d01bd8c3283a395fa8eb3fdaee /librsvg
parentc946c4df718db885df7d8bf4a8373b75929e7a0b (diff)
downloadopt-9599ba5bef35b47c79db74c798b254906c8b57f6.tar.gz
opt-9599ba5bef35b47c79db74c798b254906c8b57f6.tar.xz
librsvg: 2.52.0 -> 2.52.1
Diffstat (limited to 'librsvg')
-rw-r--r--librsvg/.signature6
-rw-r--r--librsvg/Pkgfile9
2 files changed, 10 insertions, 5 deletions
diff --git a/librsvg/.signature b/librsvg/.signature
index 224219e8c..86bf1af4a 100644
--- a/librsvg/.signature
+++ b/librsvg/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/RP43tHU+7xh35hfqMsflGrTWKRxAVg1z2Pe1Nr7pyReULOOM1fP9Tj59LzhK9ooYuP6tIctVMWw8T/fP1Us4Qs=
-SHA256 (Pkgfile) = ada86eb249264df1290976dcf4a273fd01cfd899e09192f465072e06a9b467ea
+RWSE3ohX2g5d/W9O8/C8qWuCd698Hzb6XuD0Vf8n9FVoLbEWgaIdiCk8qQeZgFhNUCE8To1uIiRER914h1a07FqOPBcAap/ltQM=
+SHA256 (Pkgfile) = bfde2088796165dcc46cbd379c32eae8859a56c2e97e18d9c557d76af7ba8a5d
SHA256 (.footprint) = 2bd9011b555172b6c67db297fda5e2bc17a149e3f18573210132f937af38a4cd
-SHA256 (librsvg-2.52.0.tar.xz) = bd821fb3e16494b61f5185addd23b726b064f203122b3ab4b3d5d7a44e6bf393
+SHA256 (librsvg-2.52.1.tar.xz) = 949dffcb0414865409e17a6c89ae30bc8bb014a51fba5186f73d1a46c6c5ccde
diff --git a/librsvg/Pkgfile b/librsvg/Pkgfile
index 28d27ce07..2803452ae 100644
--- a/librsvg/Pkgfile
+++ b/librsvg/Pkgfile
@@ -2,10 +2,10 @@
# URL: https://wiki.gnome.org/Projects/LibRsvg
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: brotli gdk-pixbuf pango rust
-# Optional: graphite2 sccache
+# Optional: graphite2 sccache clang lld
name=librsvg
-version=2.52.0
+version=2.52.1
release=1
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
@@ -16,6 +16,11 @@ build() {
mkdir "$PKGMK_SOURCE_DIR/rust" || true
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
+ export RUSTFLAGS+=' -C link-arg=-flto=thin'
+ prt-get isinst lld && LD=ld.lld LDFLAGS+=' -Wl,-fuse-ld=lld' RUSTFLAGS+=' -C link-arg=-fuse-ld=lld'
+ prt-get isinst clang && export CC='clang' CXX='clang++' AR='llvm-ar' NM='llvm-nm' RANLIB='llvm-ranlib' \
+ CFLAGS+=' -flto=thin' CXXFLAGS+=' -flto=thin' LDFLAGS+=' -Wl,-flto=thin'
+
# causes segfault if set
unset __GL_NO_DSO_FINALIZER

Generated by cgit