🔒 Repository is read-only – file editing is disabled.

recipes/utils/gobject-introspection/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: 'gobject-introspection'
pkgver: '1.86.0'
pkgrel: '1'
pkgdesc: 'Used to describe the program APIs and collect them in a uniform, machine readable format.'
url: 'https://live.gnome.org/GObjectIntrospection'
arch: x86_64
depends: []
makedepends:
- flex
- bison
- glib
- meson
- ninja

source:
- 'https://download.gnome.org/sources/${pkgname}/1.86/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  pip3 install setuptools --break-system-packages || true
  meson setup --prefix /usr \
              --buildtype plain \
              --libexecdir lib \
              --sbindir bin \
              -D b_pie=true \
              ${pkgname}-${pkgver} builddir
              
  # Przekazujemy ścieżkę do świeżo skompilowanej biblioteki libgirepository wewnątrz builddir
  LD_LIBRARY_PATH="$(pwd)/builddir/girepository:${LD_LIBRARY_PATH:-}" meson compile -C builddir

package: |
  DESTDIR="${PKGDIR}" meson install -C builddir