>From 4afe57d65b4c8d00985250dda9c133e6e68cb3c6 Mon Sep 17 00:00:00 2001 From: Henrique Lengler Date: Fri, 9 Jan 2015 22:52:14 +0000 Subject: [PATCH] gobject-introspection, new version --- pkg/gobject-introspection | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pkg/gobject-introspection b/pkg/gobject-introspection index 4a6c25c..67b6893 100644 --- a/pkg/gobject-introspection +++ b/pkg/gobject-introspection @@ -1,16 +1,24 @@ [mirrors] -http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.38/gobject-introspection-1.38.0.tar.xz +http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.42/gobject-introspection-1.42.0.tar.xz [main] -filesize=1226324 -sha512=2eeafbb09484988c8489757232233aa9bf5cefecf7f80ed940867cf721e271644f7e94d8ae3b18717340ba3af1c208701c4766b1113af03972311517fda10e8f +filesize=1308056 +sha512=2f84aae6ebb73f1cda70be6070fdbd0791777baed0f12921518a3c9cc890c406d6649bf0441bef5b93b6da4320d0c2639d9090c43d1011deebd1652f1e958021 [deps] python glib [build] -#patch -p1 < "$K/some.patch" -CFLAGS=-D_GNU_SOURCE ./configure -C --prefix="$butch_prefix" -make -j$MAKE_THREADS +[ -n "$CROSS_COMPILE" ] && \ +xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/') \ +--with-sysroot=$butch_root_dir" + +CPPFLAGS="-D_GNU_SOURCE" CFLAGS="$optcflags" CXXFLAGS="$optcflags" \ +LDFLAGS="$optldflags -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib" \ +./configure -C --prefix="$butch_prefix" --disable-nls $xconfflags \ + --disable-static + +make V=1 -j$MAKE_THREADS make DESTDIR="$butch_install_dir" install + -- 1.8.4