mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/glib2 to 2.66.1-1
This commit is contained in:
parent
5f33e3ce7d
commit
bccb1ff3bc
1 changed files with 8 additions and 4 deletions
|
@ -6,17 +6,17 @@
|
||||||
|
|
||||||
pkgbase=glib2
|
pkgbase=glib2
|
||||||
pkgname=(glib2 glib2-docs)
|
pkgname=(glib2 glib2-docs)
|
||||||
pkgver=2.66.0
|
pkgver=2.66.1
|
||||||
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"
|
||||||
license=(LGPL2.1)
|
license=(LGPL2.1)
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
depends=(pcre libffi libutil-linux zlib)
|
depends=(pcre libffi util-linux-libs 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 sysprof)
|
||||||
checkdepends=(desktop-file-utils)
|
checkdepends=(desktop-file-utils)
|
||||||
_commit=c2c12e42920d6e06c23c87398996827e53c1fc72 # tags/2.66.0^0
|
_commit=b2f8ba8a11482dc702a470e92552cbb97765dbc9 # tags/2.66.1^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
|
||||||
glib-compile-schemas.hook gio-querymodules.hook)
|
glib-compile-schemas.hook gio-querymodules.hook)
|
||||||
|
@ -41,6 +41,7 @@ build() {
|
||||||
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
|
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
|
||||||
arch-meson glib build \
|
arch-meson glib build \
|
||||||
-D selinux=disabled \
|
-D selinux=disabled \
|
||||||
|
-D sysprof=enabled \
|
||||||
-D man=true \
|
-D man=true \
|
||||||
-D gtk_doc=false
|
-D gtk_doc=false
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
|
@ -60,6 +61,9 @@ package_glib2() {
|
||||||
DESTDIR="$pkgdir" meson install -C build
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
|
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
|
||||||
|
|
||||||
|
# Avoid a dep on sysprof
|
||||||
|
sed -i 's/, sysprof-capture-4//' "$pkgdir"/usr/lib/pkgconfig/*.pc
|
||||||
|
|
||||||
export PYTHONHASHSEED=0
|
export PYTHONHASHSEED=0
|
||||||
python -m compileall -d /usr/share/glib-2.0/codegen \
|
python -m compileall -d /usr/share/glib-2.0/codegen \
|
||||||
"$pkgdir/usr/share/glib-2.0/codegen"
|
"$pkgdir/usr/share/glib-2.0/codegen"
|
||||||
|
|
Loading…
Reference in a new issue