PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

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

36 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233343536
pkgname: 'gobject-introspection'
pkgver: '1.86.0'
pkgrel: '2'
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:
- glib
- libffi
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