fix vala build
This commit is contained in:
parent
56dfb95513
commit
72b92380fd
13
librsvg-vala.patch
Normal file
13
librsvg-vala.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up librsvg-2.37.0/configure.in.vala librsvg-2.37.0/configure.in
|
||||
--- librsvg-2.37.0/configure.in.vala 2013-01-15 21:07:11.264576371 -0500
|
||||
+++ librsvg-2.37.0/configure.in 2013-01-15 21:07:17.638576143 -0500
|
||||
@@ -285,7 +285,7 @@ fi
|
||||
GOBJECT_INTROSPECTION_CHECK([0.10.8])
|
||||
|
||||
# Vala bindings
|
||||
-VAPIGEN_CHECK([0.17.1.26],,,[no])
|
||||
+VAPIGEN_CHECK([0.18.1],,,[auto])
|
||||
|
||||
dnl ===========================================================================
|
||||
|
||||
diff -up librsvg-2.37.0/Rsvg-2.0-custom.vala librsvg-2.37.0/Rsvg-2.0-custom
|
@ -8,6 +8,8 @@ Group: System Environment/Libraries
|
||||
#VCS: git:git://git.gnome.org/librsvg
|
||||
Source: http://download.gnome.org/sources/librsvg/2.37/librsvg-%{version}.tar.xz
|
||||
|
||||
# build with vala 0.18
|
||||
Patch0: librsvg-vala.patch
|
||||
|
||||
Requires(post): gdk-pixbuf2
|
||||
Requires(postun): gdk-pixbuf2
|
||||
@ -52,6 +54,9 @@ files to allow you to develop with librsvg.
|
||||
|
||||
%prep
|
||||
%setup -q -n librsvg-%{version}
|
||||
%patch0 -p1 -b .vala
|
||||
|
||||
autoreconf -i -f
|
||||
|
||||
%build
|
||||
GDK_PIXBUF_QUERYLOADERS=/usr/bin/gdk-pixbuf-query-loaders-%{__isa_bits}
|
||||
|
Loading…
Reference in New Issue
Block a user