upg glib2

This commit is contained in:
joborun linux 2024-05-16 03:14:46 +03:00
parent 6b7c5d2abd
commit 2be1552ae1
2 changed files with 15 additions and 9 deletions

View file

@ -9,17 +9,13 @@
#pkgname=(glib2 glib2-docs)
pkgname=glib2
pkgver=2.80.2
pkgrel=01
pkgrel=02
pkgdesc="Low level core library"
#url="https://wiki.gnome.org/Projects/GLib"
url="https://gitlab.gnome.org/GNOME/glib"
depends=(bash glibc libffi pcre2 util-linux-libs zlib) # libsysprof-capture
makedepends=(gettext git
# gi-docgen
gobject-introspection
# python-docutils
python-packaging
libelf meson python shared-mime-info util-linux libxslt) #libsysprof-capture
makedepends=(gettext git gobject-introspection python-packaging
libelf meson python shared-mime-info util-linux libxslt)
checkdepends=(desktop-file-utils glib2)
#options=(debug staticlibs) ### uncomment this to have the debug pkg produced
options=(staticlibs)
@ -41,6 +37,11 @@ options=(staticlibs)
prepare() {
cd glib
# https://gitlab.archlinux.org/archlinux/packaging/packages/glib2/-/issues/6
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4073
git cherry-pick -n df2c5d925ac4b8f1708bafa5ac1d35acada05d55 \
7a7137838e79e5a98e6f4eab6898e2a0dc6392cd
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
@ -147,5 +148,5 @@ sha256sums=(SKIP # glib
557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8 # gio-querymodules.hook
fe31399eb057d24a37062bcae6f88ca0778a91b85737f8110a03baa8bfc64fec) # glib-compile-schemas.hook
## e11d05ddec2cda219aef1e88cdaa281c70deaa889c7abc921586099d87a376d6 glib2-2.80.2-01-x86_64.pkg.tar.lz
## dfb166d521ec67e28ae3e323007392bc9f40eb3b182131cf7c49d872b6eced86 glib2-2.80.2-02-x86_64.pkg.tar.lz

View file

@ -8,7 +8,7 @@ pkgname=(
glib2-docs
)
pkgver=2.80.2
pkgrel=1
pkgrel=2
pkgdesc="Low level core library"
url="https://gitlab.gnome.org/GNOME/glib"
license=(LGPL-2.1-or-later)
@ -59,6 +59,11 @@ validpgpkeys=(
prepare() {
cd glib
# https://gitlab.archlinux.org/archlinux/packaging/packages/glib2/-/issues/6
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4073
git cherry-pick -n df2c5d925ac4b8f1708bafa5ac1d35acada05d55 \
7a7137838e79e5a98e6f4eab6898e2a0dc6392cd
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch