kind: autotools
depends:
- gtk-deps.bst
- wayland-generic.bst
- x-common.bst
- gtk3/libxkbcommon-x11.bst
sources:
- kind: git
  url: upstream:gtk+
  track: 3.22.16
  ref: 74d51e86af1e983e4eab317da87fdcfc70aac32a
config:
  configure-commands:
  - gdk-pixbuf-query-loaders > loader.cache
  - NOCONFIGURE=1 ./autogen.sh
  - ./configure --prefix="%{prefix}" --sysconfdir=/etc
  build-commands:
  - GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make
  install-commands:
  - GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make install DESTDIR="%{install-root}"
public:
  bst:
    integration-commands:
    - gtk-query-immodules-3.0 --update-cache
