Mercurial > vanilla
diff lib/glib/glib.sh @ 1321:412f1510b619
lib/glib: upgrade to 2.70.1
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 21 Nov 2021 10:29:39 +0100 |
parents | 9867e578b1a9 |
children |
line wrap: on
line diff
--- a/lib/glib/glib.sh Sun Nov 21 10:02:17 2021 +0100 +++ b/lib/glib/glib.sh Sun Nov 21 10:29:39 2021 +0100 @@ -16,11 +16,12 @@ # PKGNAME=glib -PKGVERSION=2.60.0 +PKGVERSION=2.70.1 PKGREVISION=1 PKGLICENSE="LGPL-2.1-only" PKGSUMMARY="general purpose low level C library" -PKGDOWNLOAD="https://download.gnome.org/sources/$PKGNAME/2.60/$PKGNAME-$PKGVERSION.tar.xz" +PKGWWW="https://www.gtk.org" +PKGDOWNLOAD="https://download.gnome.org/sources/$PKGNAME/2.70/$PKGNAME-$PKGVERSION.tar.xz" PKGDEPENDS="libffi meson pcre zlib" PKGOPTIONS="MOUNT NLS SELINUX" @@ -32,10 +33,10 @@ : ${SELINUX:=no} if [ "$MOUNT" = "yes" ]; then - PKGDEPENDS="util-linux $PKGDEPENDS" - with_mount="-D libmount=true" + PKGDEPENDS="libmount $PKGDEPENDS" + with_mount="-D libmount=enabled" else - with_mount="-D libmount=false" + with_mount="-D libmount=disabled" fi if [ "$NLS" = "yes" ]; then @@ -53,7 +54,7 @@ build() { rm -rf $PKGNAME-$PKGVERSION - tar xvf $PKGNAME-$PKGVERSION.tar.xz + tar -xvf $PKGNAME-$PKGVERSION.tar.xz cd $PKGNAME-$PKGVERSION CC="$CC" \ @@ -64,6 +65,7 @@ --buildtype release \ --default-library shared \ -D libdir=lib \ + -D tests=false \ $with_mount \ $with_nls \ $with_selinux