mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
core/glib2 to 2.60.0-1
This commit is contained in:
parent
ebc0fbcfa1
commit
44a14dec1c
1 changed files with 11 additions and 7 deletions
|
@ -3,10 +3,11 @@
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - patch to fix v5 FTBFS with meson
|
# - patch to fix v5 FTBFS with meson
|
||||||
|
# - disable docs
|
||||||
|
|
||||||
pkgbase=glib2
|
pkgbase=glib2
|
||||||
pkgname=(glib2 glib2-docs)
|
pkgname=(glib2 glib2-docs)
|
||||||
pkgver=2.58.3
|
pkgver=2.60.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"
|
||||||
|
@ -18,7 +19,7 @@ checkdepends=(desktop-file-utils)
|
||||||
optdepends=('python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report'
|
optdepends=('python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report'
|
||||||
'libelf: gresource inspection tool')
|
'libelf: gresource inspection tool')
|
||||||
options=(!emptydirs)
|
options=(!emptydirs)
|
||||||
_commit=f2d1128ffae0de87680e411fb62ccfccafed6b1c # tags/2.58.3^0
|
_commit=2edc5aa6dfffec0a48c8a1e9381b73d1096e0489 # tags/2.60.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
|
||||||
glib-compile-schemas.hook gio-querymodules.hook
|
glib-compile-schemas.hook gio-querymodules.hook
|
||||||
|
@ -47,14 +48,14 @@ prepare() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
arch-meson glib build \
|
arch-meson glib build \
|
||||||
-D selinux=false \
|
-D selinux=disabled \
|
||||||
-D man=true \
|
-D man=true \
|
||||||
-D gtk_doc=true
|
-D gtk_doc=false
|
||||||
ninja -C build
|
ninja -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
meson test -C build
|
meson test -C build --no-suite flaky
|
||||||
}
|
}
|
||||||
|
|
||||||
package_glib2() {
|
package_glib2() {
|
||||||
|
@ -64,8 +65,11 @@ package_glib2() {
|
||||||
python -m compileall -d /usr/share/glib-2.0/codegen "$pkgdir/usr/share/glib-2.0/codegen"
|
python -m compileall -d /usr/share/glib-2.0/codegen "$pkgdir/usr/share/glib-2.0/codegen"
|
||||||
python -O -m compileall -d /usr/share/glib-2.0/codegen "$pkgdir/usr/share/glib-2.0/codegen"
|
python -O -m compileall -d /usr/share/glib-2.0/codegen "$pkgdir/usr/share/glib-2.0/codegen"
|
||||||
|
|
||||||
|
# Remove installed tests
|
||||||
|
rm -rf "$pkgdir/usr/lib/installed-tests"
|
||||||
|
|
||||||
# Split docs
|
# Split docs
|
||||||
mv "$pkgdir/usr/share/gtk-doc" "$srcdir"
|
#mv "$pkgdir/usr/share/gtk-doc" "$srcdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_glib2-docs() {
|
package_glib2-docs() {
|
||||||
|
@ -75,7 +79,7 @@ package_glib2-docs() {
|
||||||
license+=(custom)
|
license+=(custom)
|
||||||
|
|
||||||
mkdir -p "$pkgdir/usr/share"
|
mkdir -p "$pkgdir/usr/share"
|
||||||
mv gtk-doc "$pkgdir/usr/share"
|
#mv gtk-doc "$pkgdir/usr/share"
|
||||||
|
|
||||||
install -Dt "$pkgdir/usr/share/licenses/glib2-docs" -m644 glib/docs/reference/COPYING
|
install -Dt "$pkgdir/usr/share/licenses/glib2-docs" -m644 glib/docs/reference/COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue