librsvg: 2.51.4 -> 2.52.0

This commit is contained in:
Tim Biermann 2021-09-18 14:22:49 +02:00
parent d5c1530f3f
commit b9a8418524
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 9 additions and 3 deletions

View File

@ -12,12 +12,10 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/
drwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/2.10.0/
drwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
-rw-r--r-- root/root usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a
-rwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la
-rwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
drwxr-xr-x root/root usr/lib/girepository-1.0/
-rw-r--r-- root/root usr/lib/girepository-1.0/Rsvg-2.0.typelib
-rw-r--r-- root/root usr/lib/librsvg-2.a
-rwxr-xr-x root/root usr/lib/librsvg-2.la
lrwxrwxrwx root/root usr/lib/librsvg-2.so -> librsvg-2.so.2.48.0
lrwxrwxrwx root/root usr/lib/librsvg-2.so.2 -> librsvg-2.so.2.48.0

View File

@ -5,20 +5,28 @@
# Optional: sccache
name=librsvg
version=2.51.4
version=2.52.0
release=1
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
export LC_ALL=C \
CARGO_PROFILE_RELEASE_LTO=true \
CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir "$PKGMK_SOURCE_DIR/rust" || true
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
unset __GL_NO_DSO_FINALIZER
./configure \
--prefix=/usr \
--disable-gtk-doc \
--disable-tools \
--disable-debug \
--disable-static \
--disable-nls
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool