upg glib2

This commit is contained in:
joborun linux 2022-11-26 03:57:14 +02:00
parent 779169645d
commit 945154eccc
4 changed files with 64 additions and 33 deletions

View file

@ -8,7 +8,7 @@
#pkgbase=glib2
#pkgname=(glib2 glib2-docs)
pkgname=glib2
pkgver=2.74.1
pkgver=2.74.2
pkgrel=01
# this is a waste of resources rebuilding this for the shake of catching up
# to arch's late decision to be building debug symbol packages along with the core pkg
@ -23,11 +23,11 @@ makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
checkdepends=(desktop-file-utils glib2)
#options=(debug staticlibs) ### uncomment this to have the debug pkg produced
options=(staticlibs)
_commit=058491cb6f635ff6e0a57fcdd4107a40ca91c62a # tags/2.74.1^0
_commit=b5299ed2055aa3ccd628aceb016c1e9bda516e39 # tags/2.74.2^0
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
glib-compile-schemas.hook
gio-querymodules.{hook,script})
gio-querymodules.{hook,script}
glib-compile-schemas.hook)
pkgver() {
cd glib
@ -114,8 +114,10 @@ license=(LGPL)
validpgpkeys=('923B7025EE03C1C59F42684CF0942E894B2EAFA0') # Philip Withnall (https://endlessos.org/) <pwithnall@endlessos.org>
sha256sums=(SKIP
6d51eb5856268d79eee01b97a299fa9f99db18b2abb4df56f2ed9e641a09138a # 0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25 # glib-compile-schemas.hook
2a9f9b8235f48e3b7d0f6cfcbc76cd2116c45f28692cac4bd61074c495bd5eb7 # gio-querymodules.hook
92d08db5aa30bda276bc3d718e7ff9dd01dc40dcab45b359182dcc290054e24e) # gio-querymodules.script
6d51eb5856268d79eee01b97a299fa9f99db18b2abb4df56f2ed9e641a09138a # 0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
2a9f9b8235f48e3b7d0f6cfcbc76cd2116c45f28692cac4bd61074c495bd5eb7 # gio-querymodules.hook
92d08db5aa30bda276bc3d718e7ff9dd01dc40dcab45b359182dcc290054e24e # gio-querymodules.script
64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25) # glib-compile-schemas.hook
# 9539182c1d77dbaff16a43de06215117311bc3d80b211b57e26e83d01372a2f9 glib2-2.74.2-01-x86_64.pkg.tar.xz

View file

@ -3,26 +3,51 @@
pkgbase=glib2
pkgname=(glib2 glib2-docs)
pkgver=2.74.1
pkgver=2.74.2
pkgrel=1
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
license=(LGPL)
arch=(x86_64)
depends=(pcre2 libffi util-linux-libs zlib libsysprof-capture)
makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
meson dbus)
checkdepends=(desktop-file-utils glib2)
options=(debug staticlibs)
_commit=058491cb6f635ff6e0a57fcdd4107a40ca91c62a # tags/2.74.1^0
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
glib-compile-schemas.hook gio-querymodules.{hook,script})
sha256sums=('SKIP'
'6d51eb5856268d79eee01b97a299fa9f99db18b2abb4df56f2ed9e641a09138a'
'64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25'
'2a9f9b8235f48e3b7d0f6cfcbc76cd2116c45f28692cac4bd61074c495bd5eb7'
'92d08db5aa30bda276bc3d718e7ff9dd01dc40dcab45b359182dcc290054e24e')
depends=(
libffi
libsysprof-capture
pcre2
util-linux-libs
zlib
)
makedepends=(
dbus
gettext
git
gtk-doc
libelf
meson
python
shared-mime-info
util-linux
)
checkdepends=(
desktop-file-utils
glib2
)
options=(
debug
staticlibs
)
_commit=b5299ed2055aa3ccd628aceb016c1e9bda516e39 # tags/2.74.2^0
source=(
"git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
gio-querymodules.{hook,script}
glib-compile-schemas.hook
)
b2sums=('SKIP'
'4d5cb5ad1222a5e8d06e79736170cd694a6277e0da71ffd55560d74cf5c3273551d302a35bd2ff43f09070d61c1de147bb312428fce98347d232ac3d44406511'
'cd3a7817193ca985be5aff0813e78cc59c39ad8d4a2171c1c719267e4f51beda47c58a44c6d5afead64e9fa1b854430ac935976d02158e927ba3ec8f36fce282'
'4b90eb8d582509b09aab401313d4399cc139ad21b5dd7d45d79860d0764c7494c60714e0794e09823e51d1894ac032a994f27d79d1499abf24ee6f59bdb0c243'
'd30d349b4cb4407839d9074ce08f5259b8a5f3ca46769aabc621f17d15effdb89c4bf19bd23603f6df3d59f8d1adaded0f4bacd0333afcab782f2d048c882858')
pkgver() {
cd glib
@ -58,12 +83,16 @@ check() {
}
package_glib2() {
depends+=(libmount.so libffi.so)
provides+=(libgio-2.0.so libglib-2.0.so libgmodule-2.0.so libgobject-2.0.so
libgthread-2.0.so)
optdepends=('python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report'
'libelf: gresource inspection tool'
'gvfs: most gio functionality')
depends+=(
libffi.so
libmount.so
)
provides+=(libg{lib,io,module,object,thread}-2.0.so)
optdepends=(
'gvfs: most gio functionality'
'libelf: gresource inspection tool'
'python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report'
)
meson install -C build --destdir "$pkgdir"

View file

@ -5,6 +5,6 @@ shared-mime-info
meson
desktop-file-utils
gtk3
at-spi2-core

View file

@ -2,7 +2,7 @@
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgbase=linux-lts54
pkgver=5.4.211
pkgver=5.4.212
pkgrel=1
pkgdesc='LTS 5.4 Linux'
url="https://www.kernel.org/"
@ -27,7 +27,7 @@ validpgpkeys=(
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
)
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
sha256sums=('bfb43241b72cd55797af68bea1cebe630d37664c0f9a99b6e9263a63a67e2dec'
sha256sums=('09c72e3dd85df773eb52e53e25c556d132958bd775b0ed6985a6b1ac21c9cfc2'
'SKIP'
'df3e11d360eb17fa6564a55ff05f14624c5ed8763a64cf0a9b9f4ebde5863412'
'b439f57b84bc98730c0265695abb92385ee4dcd35a5c00d4cb3d3155c75fb491'