librsvg: Update to 2.40.11

This commit is contained in:
Alexey Pavlov
2015-10-13 14:08:33 +03:00
parent 92778b417c
commit ca46fb0c9b
2 changed files with 2 additions and 25 deletions

View File

@@ -1,20 +0,0 @@
--- librsvg-2.40.2/Makefile.am.orig 2014-04-17 01:22:10.962400000 +0400
+++ librsvg-2.40.2/Makefile.am 2014-04-17 01:23:09.634000000 +0400
@@ -214,6 +214,8 @@
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS = Rsvg-@RSVG_API_VERSION@.gir
+INTROSPECTION_SCANNER_ENV = \
+ CC="$(CC)"
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --symbol-prefix=rsvg --symbol-prefix=librsvg
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
@@ -238,7 +238,7 @@
pango \
libxml-2.0 \
$(NULL)
-Rsvg_@RSVG_API_VERSION_U@_gir_CFLAGS = -I$(top_builddir) -DRSVG_COMPILATION
+Rsvg_@RSVG_API_VERSION_U@_gir_CFLAGS = -I$(top_builddir) $(LIBRSVG_CFLAGS) -DRSVG_COMPILATION
Rsvg_@RSVG_API_VERSION_U@_gir_LIBS = librsvg-@RSVG_API_MAJOR_VERSION@.la
Rsvg_@RSVG_API_VERSION_U@_gir_SCANNERFLAGS = --c-include="librsvg/rsvg.h"

View File

@@ -3,7 +3,7 @@
_realname=librsvg
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.40.10
pkgver=2.40.11
pkgrel=1
pkgdesc="A SVG viewing library (mingw-w64)"
arch=('any')
@@ -21,16 +21,13 @@ depends=("${MINGW_PACKAGE_PREFIX}-gdk-pixbuf2"
optdepends=("${MINGW_PACKAGE_PREFIX}-gtk3: for rsvg-view-3")
options=('staticlibs' 'strip')
source=("http://ftp.gnome.org/pub/gnome/sources/librsvg/${pkgver%.*}/${_realname}-${pkgver}.tar.xz"
"0001-give-cc-to-gir-scanner.mingw.patch"
"0005-hack-unixy-paths.patch")
sha256sums=('965c807438ce90b204e930ff80c92eba1606a2f6fd5ccfd09335c99896dd3479'
'854f36c9bc1ad0f3a85ca2ec4e8b5c7d75ba035c45ad4915601210acf0321776'
sha256sums=('611ac0f544debd0c9bf1ef5509c990d218e83dd1d8c83297075c4b29796a2e02'
'b23b094c0cb65fcbbbb952350448de6f3430b30f273e05acdbf7a56d634212dc')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -p1 -i "${srcdir}/0001-give-cc-to-gir-scanner.mingw.patch"
patch -p1 -i "${srcdir}/0005-hack-unixy-paths.patch"
autoreconf -fi