[arch-commits] Commit in lib32-librsvg/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Oct 8 10:28:02 UTC 2019
Date: Tuesday, October 8, 2019 @ 10:28:01
Author: heftig
Revision: 514196
2.46.1-1
Modified:
lib32-librsvg/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 10:24:48 UTC (rev 514195)
+++ PKGBUILD 2019-10-08 10:28:01 UTC (rev 514196)
@@ -3,7 +3,7 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=lib32-librsvg
-pkgver=2.46.0
+pkgver=2.46.1
pkgrel=1
pkgdesc="SVG rendering library (32-bit)"
url="https://wiki.gnome.org/Projects/LibRsvg"
@@ -10,8 +10,8 @@
arch=(x86_64)
license=(LGPL)
depends=(lib32-gdk-pixbuf2 lib32-pango lib32-libcroco librsvg)
-makedepends=(intltool gobject-introspection vala python2 gtk-doc git lib32-rust)
-_commit=b4aa8d277d30f4042797dc8b64c073b10f8bac4b # tags/2.46.0^0
+makedepends=(gobject-introspection gtk-doc git rust lib32-rust-libs)
+_commit=7ee553d5f99ceb741d4e1751e39fef345107b4f4 # librsvg-2.46
source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit"
multilib.diff)
sha256sums=('SKIP'
@@ -25,6 +25,9 @@
prepare() {
cd librsvg
+ # Fixup missing tag
+ git tag -f 2.46.1 7ee553d5f99ceb741d4e1751e39fef345107b4f4
+
# Hack to cross-compile rust only
patch -Np1 -i ../multilib.diff
@@ -34,11 +37,11 @@
build() {
export CC='gcc -m32'
export CXX='g++ -m32'
- export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
export RUST_TARGET=i686-unknown-linux-gnu
cd librsvg
- ./configure --prefix=/usr --disable-static --enable-vala --disable-gtk-doc --libdir=/usr/lib32
+ ./configure --prefix=/usr --disable-static --disable-vala --disable-gtk-doc --disable-introspection --libdir=/usr/lib32
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
make
}
More information about the arch-commits
mailing list