changeset 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 498f92bb635e
children dc75a88eae5a
files lib/glib/glib.sh lib/glib/glib.sha1
diffstat 2 files changed, 9 insertions(+), 7 deletions(-) [+]
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
--- a/lib/glib/glib.sha1	Sun Nov 21 10:02:17 2021 +0100
+++ b/lib/glib/glib.sha1	Sun Nov 21 10:29:39 2021 +0100
@@ -1,1 +1,1 @@
-9e3e1120086550ac0b17e16e4aaa0dfc0c9e9792  glib-2.60.0.tar.xz
+4704b98b3635950e69b86f8dedc01b0e2a7232b9  glib-2.70.1.tar.xz