pantry/projects/gnome.org/gobject-introspection/package.yml
Jacob Heider d7adf09a43
replace hardcoded versions (mostly) (#1733)
* update(slirp)

* update(poppler-data)

* update(doxygen)

* update(xcb)

* update(sm)

* update(xdmcp)

* update(ice)

* update(util-macros)

* update(xtrans)

* update(xmu)

* update(xt)

* update(xau)

* update(xrender)

* update(x11)

* update(xcb-proto)

* update(xpm)

* update(xaw)

* update(xorg-protocol)

* update(exts)

* update(lame)

* update(nmap)

* update(cairo)

* update(unicode)

* update(gts)

* update(vim)

* update(libtiff)

* update(lua)

* comment(bpb)

* update(giflib)

* update(gdk-pixbuf)

* update(gobj-intro)

* update(libcap2)

* update(gnuplot)

* update(dav1d)

* update(wumpus)

* update(librist)

* update(subversion)

* comment(jbig2dec)

* update(moreutils)

* update(eigen)

* update(ogg)

* update(musl)

* update(libtool)

* update(isl)

* update(coreutils)

* update(wget)

* update(gmp)

* update(libiconv)

* update(stow)

* update(sed)

* update(gperf)

* update(libunistring)

* update(grep)

* update(patch)

* update(tar)

* update(autoconf)

* update(libgpg-error)

* update(automake)

* update(libksba)

* update(npth)

* update(libgcrypt)

* update(libidn)

* update(libassuan)

* update(gnupg)

* update(libtasn1)

* update(ncdu)

* update(freexl)

* update(nasm)

* update(ffmpeg)

* update(libsodium)

* update(mpg123)

* update(freetype)

* update(dnsmasq)

* update(postgres)

* update(xz)

* update(docutils)

* update(aom)

* update(libssh)

* update(gitlab-cli)

* update(watch)

* update(tree)

* update(c-ares)

* update(mpdecimal)

* update(lzo)

* update(graphviz)

* update(nano)

* update(yasm)

* update(expect)

* update(pcre)

* update(file)

* update(shared-mime-info)

* use `gitlab:` builtin
2023-05-01 13:14:59 -04:00

58 lines
1.4 KiB
YAML

distributable:
url: https://download.gnome.org/sources/gobject-introspection/{{version.major}}.{{version.minor}}/gobject-introspection-{{version}}.tar.xz
strip-components: 1
versions:
gitlab: gitlab.gnome.org:gnome/gobject-introspection
strip: /^GObject-Introspection /
dependencies:
gnome.org/glib: 2
sourceware.org/libffi: 3
gnu.org/bison: 3 #NOTE macOS provides v2
python.org: 3
github.com/westes/flex: 2
build:
dependencies:
tea.xyz/gx/cc: c99
mesonbuild.com: ^0.63
ninja-build.org: 1
freedesktop.org/pkg-config: ^0.29
working-directory:
build
script: |
meson .. --prefix={{prefix}} --libdir={{prefix}}/lib --buildtype=release
ninja -v
ninja install
env:
#FIXME for python3 distutils
CC: clang
#FIXME of fails during build for a gir-scanner step
# LD_LIBRARY_PATH: /opt/gnome.org/glib/v2.72.2/lib
test:
dependencies:
tea.xyz/gx/cc: c99
gnome.org/glib: 2
pcre.org: 8 #NOTE possibly should be automatic
git-scm.org: 2
tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: ^0.29
script: |
git clone $FIXTURE test
cd test
git apply ../test_make.diff
make
test -f Tut-0.1.typelib
env:
FIXTURE: https://gist.github.com/7a0023656ccfe309337a.git
PKG_CONFIG_PATH: $PKG_CONFIG_PATH:{{prefix}}/lib/pkgconfig
provides:
- bin/g-ir-annotation-tool
- bin/g-ir-compiler
- bin/g-ir-generate
- bin/g-ir-inspect
- bin/g-ir-scanner