kind: autotools
depends:
- gtk-deps.bst
- x-common.bst
sources:
- kind: git
  url: upstream:gtk+
  track: 2.24.28
  ref: b5b055721378ffe0269613e49ab5741a315eeb00
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-2.0 --update-cache
