glib: update to 2.36.0.

This commit is contained in:
Juan RP 2013-03-28 06:22:06 +01:00
parent 119ab67220
commit cae930f198
2 changed files with 13 additions and 12 deletions

View File

@ -2,7 +2,7 @@
# #
depends="python perl libglib-devel-${version}_${revision}" depends="python perl libglib-devel-${version}_${revision}"
short_desc="${short_desc} -- development files" short_desc="${short_desc} -- development files"
pycompile_dirs="usr/lib/gdbus-2.0/codegen" pycompile_dirs="/usr/share/glib-2.0"
do_install() { do_install() {
vmkdir usr/bin vmkdir usr/bin
@ -13,10 +13,10 @@ do_install() {
[ "$(basename ${f})" = "gdbus" ] && continue [ "$(basename ${f})" = "gdbus" ] && continue
[ "$(basename ${f})" = "gsettings" ] && continue [ "$(basename ${f})" = "gsettings" ] && continue
[ "$(basename ${f})" = "glib-compile-schemas" ] && continue [ "$(basename ${f})" = "glib-compile-schemas" ] && continue
[ "$(basename ${f})" = "gresource" ] && continue
[ "$(basename ${f})" = "gobject-query" ] && continue
mv ${f} ${DESTDIR}/usr/bin mv ${f} ${DESTDIR}/usr/bin
done done
vmove usr/lib/gdbus-2.0 usr/lib
for f in gtk-doc aclocal glib-2.0 gdb; do for f in gtk-doc aclocal glib-2.0 gdb; do
vmove usr/share/${f} usr/share vmove usr/share/${f} usr/share
done done
@ -25,6 +25,8 @@ do_install() {
[ "$(basename ${f})" = "gdbus.1" ] && continue [ "$(basename ${f})" = "gdbus.1" ] && continue
[ "$(basename ${f})" = "gsettings.1" ] && continue [ "$(basename ${f})" = "gsettings.1" ] && continue
[ "$(basename ${f})" = "glib-compile-schemas.1" ] && continue [ "$(basename ${f})" = "glib-compile-schemas.1" ] && continue
[ "$(basename ${f})" = "gresource.1" ] && continue
[ "$(basename ${f})" = "gobject-query.1" ] && continue
mv ${f} ${DESTDIR}/usr/share/man/man1 mv ${f} ${DESTDIR}/usr/share/man/man1
done done
} }

View File

@ -1,18 +1,18 @@
# Template build file for 'glib' # Template build file for 'glib'
pkgname=glib pkgname=glib
version=2.34.3 version=2.36.0
revision=3 revision=1
subpackages="libglib-devel glib-devel" subpackages="libglib-devel glib-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static --enable-man" configure_args="--disable-fam --with-pcre=system --enable-static --enable-man"
hostmakedepends="pkg-config python libxslt docbook-xsl" hostmakedepends="pkg-config perl python libxslt docbook-xsl"
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel" makedepends="zlib-devel pcre-devel>=8.30 libffi-devel dbus-devel elfutils-devel"
short_desc="The GNU library of C routines" short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/" homepage="http://www.gtk.org/"
license="LGPL-2.1" license="LGPL-2.1"
distfiles="${GNOME_SITE}/glib/2.34/glib-$version.tar.xz" distfiles="${GNOME_SITE}/glib/2.36/glib-$version.tar.xz"
checksum=855fcbf87cb93065b488358e351774d8a39177281023bae58c286f41612658a7 checksum=455a8abe8692c5174bcc7ffa15b96a7521a2f2f9fb47594405927c35cb9bb227
if [ "$XBPS_CROSS_BUILD" ]; then if [ "$XBPS_CROSS_BUILD" ]; then
configure_args="${configure_args} glib_cv_long_long_format=I64 configure_args="${configure_args} glib_cv_long_long_format=I64
@ -23,10 +23,9 @@ if [ "$XBPS_CROSS_BUILD" ]; then
ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getgrgid_r=yes" ac_cv_func_posix_getgrgid_r=yes"
hostmakedepends="automake gettext-devel which gtk-doc pkg-config glib-devel" hostmakedepends="${hostmakedepends} libtool automake which
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel" gtk-doc gettext-devel glib-devel"
pre_configure() { pre_configure() {
sed -e "s|AM_PROG_CC_STDC|AC_PROG_CC|g" -i configure.ac
NOCONFIGURE=1 ./autogen.sh NOCONFIGURE=1 ./autogen.sh
} }
fi fi