glib: update to 2.67.2

updated 2.67.1 (7 Dec 2020) to 2.67.2 (8 Jan 2021)
changelog: https://raw.githubusercontent.com/GNOME/glib/master/NEWS
switched from drop test patch to -Dtests=false
This commit is contained in:
heitbaum 2021-01-09 09:09:09 +00:00
parent ffe456ce65
commit c9d28c51ed
2 changed files with 6 additions and 29 deletions

View File

@ -3,8 +3,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="glib"
PKG_VERSION="2.67.1"
PKG_SHA256="3b3409fe3a93f9e9f6f5dc9cd8405edfd7513b289589987e568369e627d3350c"
PKG_VERSION="2.67.2"
PKG_SHA256="b41d42d6c572e1e420ffc38a077e0157e0b53b5a94c9647a3dc3701043c3b69b"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.gtk.org/"
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/$(get_pkg_version_maj_min)/$PKG_NAME-$PKG_VERSION.tar.xz"
@ -16,7 +16,8 @@ PKG_TOOLCHAIN="meson"
PKG_MESON_OPTS_HOST="-Ddefault_library=static \
-Dinternal_pcre=true \
-Dinstalled_tests=false \
-Dlibmount=disabled"
-Dlibmount=disabled \
-Dtests=false"
PKG_MESON_OPTS_TARGET="-Ddefault_library=shared \
-Dinternal_pcre=false \
@ -29,7 +30,8 @@ PKG_MESON_OPTS_TARGET="-Ddefault_library=shared \
-Ddtrace=false \
-Dsystemtap=false \
-Dbsymbolic_functions=true \
-Dforce_posix_threads=true"
-Dforce_posix_threads=true \
-Dtests=false"
PKG_MESON_PROPERTIES_TARGET="
have_c99_vsnprintf=false

View File

@ -1,25 +0,0 @@
From 135f1c814b81b18d7546cb5d8b7246463e7704bd Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Sun, 26 Jan 2020 05:56:34 +0000
Subject: [PATCH] tests are broken when cross-compiling so don't build them
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index cbacf0d..84d2c9e 100644
--- a/meson.build
+++ b/meson.build
@@ -77,7 +77,7 @@ installed_tests_template = files('template.test.in')
installed_tests_template_tap = files('template-tap.test.in')
# Dont build the tests unless we can run them (either natively, in an exe wrapper, or by installing them for later use)
-build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper()) or installed_tests_enabled
+build_tests = false
add_project_arguments('-D_GNU_SOURCE', language: 'c')
--
2.7.4