Browse Source

git subrepo pull gobject-introspection

subrepo:
  subdir:   "gobject-introspection"
  merged:   "fb53418"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesG/gobject-introspection.git"
  branch:   "master"
  commit:   "fb53418"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
master
Dudemanguy 2 months ago
parent
commit
6b94efd638
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 4
      gobject-introspection/.gitrepo
  2. 4
      gobject-introspection/trunk/PKGBUILD
  3. 62
      gobject-introspection/x86_64/staging/PKGBUILD

4
gobject-introspection/.gitrepo

@ -6,7 +6,7 @@
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesG/gobject-introspection.git
branch = master
commit = 91a5a830d07b6e290e05638770e7412a2e931264
parent = 838096e59307312be3a7a845d32cd8ea9e4370b9
commit = fb53418145075d6b69eb7a9c5e870930a5b107ab
parent = 9f53630b8b80f84a5ebbe03d5d6c7ed5ba690467
method = merge
cmdver = 0.4.3

4
gobject-introspection/trunk/PKGBUILD

@ -4,7 +4,7 @@
pkgbase=gobject-introspection
pkgname=(gobject-introspection gobject-introspection-runtime)
pkgver=1.70.0
pkgrel=1
pkgrel=2
pkgdesc="Introspection system for GObject-based libraries"
url="https://wiki.gnome.org/Projects/GObjectIntrospection"
arch=(x86_64)
@ -30,7 +30,7 @@ prepare() {
}
build() {
arch-meson $pkgbase build \
artix-meson $pkgbase build \
-D gtk_doc=true \
-D glib_src_dir="$srcdir/glib"
meson compile -C build

62
gobject-introspection/x86_64/staging/PKGBUILD

@ -0,0 +1,62 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=gobject-introspection
pkgname=(gobject-introspection gobject-introspection-runtime)
pkgver=1.70.0
pkgrel=2
pkgdesc="Introspection system for GObject-based libraries"
url="https://wiki.gnome.org/Projects/GObjectIntrospection"
arch=(x86_64)
license=(LGPL GPL)
depends=(python-mako python-markdown)
_glibver=2.70.0
makedepends=(cairo git gtk-doc python-sphinx meson "glib2=$_glibver")
options=(!emptydirs)
_commit=4502dd33da995e5e9e6d73aa996cf42e92c9e217 # tags/1.70.0^0
source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/glib.git#tag=$_glibver")
sha512sums=('SKIP'
'SKIP')
# validpgpkeys=('923B7025EE03C1C59F42684CF0942E894B2EAFA0') # Philip Withnall <philip@tecnocode.co.uk>
pkgver() {
cd $pkgbase
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
}
build() {
artix-meson $pkgbase build \
-D gtk_doc=true \
-D glib_src_dir="$srcdir/glib"
meson compile -C build
}
check() {
meson test -C build
}
package_gobject-introspection() {
depends+=("gobject-introspection-runtime=$pkgver-$pkgrel")
meson install -C build --destdir "$pkgdir"
python -m compileall -d /usr/lib/$pkgbase "$pkgdir/usr/lib/$pkgbase"
python -O -m compileall -d /usr/lib/$pkgbase "$pkgdir/usr/lib/$pkgbase"
### Split runtime
mkdir -p "$srcdir/runtime/lib"
mv "$pkgdir"/usr/lib/{lib*,girepository-*} "$srcdir/runtime/lib"
}
package_gobject-introspection-runtime() {
pkgdesc+=" (runtime library)"
depends=(glib2)
provides+=(libgirepository-1.0.so)
mv "$srcdir/runtime" "$pkgdir/usr"
}
Loading…
Cancel
Save