mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/glib2 to 2.64.0-1
This commit is contained in:
parent
a2205c57c9
commit
41b1b9c3b9
4 changed files with 63 additions and 6 deletions
|
@ -0,0 +1,52 @@
|
||||||
|
From 9be108136dc5e7ef0143a3ae4338476ffa6377e9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Thu, 27 Feb 2020 21:13:19 +0100
|
||||||
|
Subject: [PATCH] tests: Move memory_monitor_tests under
|
||||||
|
installed_tests_enabled
|
||||||
|
|
||||||
|
So they're not installed when the latter is disabled.
|
||||||
|
---
|
||||||
|
gio/tests/meson.build | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
|
||||||
|
index 695ad1f8f..76e28fc76 100644
|
||||||
|
--- a/gio/tests/meson.build
|
||||||
|
+++ b/gio/tests/meson.build
|
||||||
|
@@ -521,32 +521,32 @@ if installed_tests_enabled
|
||||||
|
)
|
||||||
|
install_subdir('static-link', install_dir : installed_tests_execdir)
|
||||||
|
install_data('static-link.py', install_dir : installed_tests_execdir)
|
||||||
|
-endif
|
||||||
|
|
||||||
|
memory_monitor_tests = [
|
||||||
|
'memory-monitor-dbus',
|
||||||
|
'memory-monitor-portal',
|
||||||
|
]
|
||||||
|
|
||||||
|
foreach memory_monitor_test : memory_monitor_tests
|
||||||
|
cdata = configuration_data()
|
||||||
|
cdata.set('installed_tests_dir', installed_tests_execdir)
|
||||||
|
cdata.set('program', memory_monitor_test + '.py')
|
||||||
|
configure_file(
|
||||||
|
input: installed_tests_template,
|
||||||
|
output: memory_monitor_test + '.test',
|
||||||
|
install_dir: installed_tests_metadir,
|
||||||
|
configuration: cdata
|
||||||
|
)
|
||||||
|
cdata = configuration_data()
|
||||||
|
cdata.set('libexecdir', join_paths(glib_prefix, get_option('libexecdir')))
|
||||||
|
configure_file(
|
||||||
|
input: memory_monitor_test + '.py.in',
|
||||||
|
output: memory_monitor_test + '.py',
|
||||||
|
install_dir : installed_tests_execdir,
|
||||||
|
configuration: cdata,
|
||||||
|
)
|
||||||
|
endforeach
|
||||||
|
+endif
|
||||||
|
|
||||||
|
if not meson.is_cross_build() or meson.has_exe_wrapper()
|
||||||
|
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
pkgbase=glib2
|
pkgbase=glib2
|
||||||
pkgname=(glib2 glib2-docs)
|
pkgname=(glib2 glib2-docs)
|
||||||
pkgver=2.62.5
|
pkgver=2.64.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Low level core library"
|
pkgdesc="Low level core library"
|
||||||
url="https://wiki.gnome.org/Projects/GLib"
|
url="https://wiki.gnome.org/Projects/GLib"
|
||||||
|
@ -17,15 +17,17 @@ depends=(pcre libffi libutil-linux zlib)
|
||||||
makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
|
makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
|
||||||
meson dbus)
|
meson dbus)
|
||||||
checkdepends=(desktop-file-utils)
|
checkdepends=(desktop-file-utils)
|
||||||
_commit=86c2832f950c389e230ec09c8bf0b92b475f0ee3 # tags/2.62.5^0
|
_commit=369626e3105d688afaa316d89d34e8927a8a0171 # tags/2.64.0^0
|
||||||
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
|
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
|
||||||
noisy-glib-compile-schemas.diff
|
noisy-glib-compile-schemas.diff
|
||||||
|
0001-tests-Move-memory_monitor_tests-under-installed_test.patch
|
||||||
glib-compile-schemas.hook gio-querymodules.hook
|
glib-compile-schemas.hook gio-querymodules.hook
|
||||||
0001-arm-atomic.patch)
|
0001-arm-atomic.patch)
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'81a4df0b638730cffb7fa263c04841f7ca6b9c9578ee5045db6f30ff0c3fc531'
|
'81a4df0b638730cffb7fa263c04841f7ca6b9c9578ee5045db6f30ff0c3fc531'
|
||||||
'e1123a5d85d2445faac33f6dae1085fdd620d83279a4e130a83fe38db52b62b3'
|
'3f7f20c817ef970f9d1bc6606023eca44df5c31dd2334847bc8df2dbcf8e0e43'
|
||||||
'5ba204a2686304b1454d401a39a9d27d09dd25e4529664e3fd565be3d439f8b6'
|
'64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25'
|
||||||
|
'557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8'
|
||||||
'fdd5e589e3c38903cfae63eaf37cd9c51304ce971c97553ca1f2c9083a0d61b0')
|
'fdd5e589e3c38903cfae63eaf37cd9c51304ce971c97553ca1f2c9083a0d61b0')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
@ -39,6 +41,9 @@ prepare() {
|
||||||
# Suppress noise from glib-compile-schemas.hook
|
# Suppress noise from glib-compile-schemas.hook
|
||||||
git apply -3 ../noisy-glib-compile-schemas.diff
|
git apply -3 ../noisy-glib-compile-schemas.diff
|
||||||
|
|
||||||
|
# Clean installed tests
|
||||||
|
git apply -3 ../0001-tests-Move-memory_monitor_tests-under-installed_test.patch
|
||||||
|
|
||||||
if [[ $CARCH == "arm" ]]; then
|
if [[ $CARCH == "arm" ]]; then
|
||||||
patch -Np1 -i ../0001-arm-atomic.patch
|
patch -Np1 -i ../0001-arm-atomic.patch
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Trigger]
|
[Trigger]
|
||||||
Type = File
|
Type = Path
|
||||||
Operation = Install
|
Operation = Install
|
||||||
Operation = Upgrade
|
Operation = Upgrade
|
||||||
Operation = Remove
|
Operation = Remove
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Trigger]
|
[Trigger]
|
||||||
Type = File
|
Type = Path
|
||||||
Operation = Install
|
Operation = Install
|
||||||
Operation = Upgrade
|
Operation = Upgrade
|
||||||
Operation = Remove
|
Operation = Remove
|
||||||
|
|
Loading…
Reference in a new issue