mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
82 lines
1.9 KiB
YAML
82 lines
1.9 KiB
YAML
distributable:
|
|
url: https://download.gnome.org/sources/gtk+/{{version.marketing}}/gtk+-{{version}}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
- 3.24.38
|
|
|
|
display-name: gtk3
|
|
|
|
dependencies:
|
|
gnome.org/atk: '*'
|
|
gnome.org/gdk-pixbuf: '*'
|
|
gnome.org/glib: '*'
|
|
gnome.org/gsettings-desktop-schemas: '*'
|
|
freedesktop.org/icon-theme: '*'
|
|
github.com/anholt/libepoxy: '*'
|
|
gnome.org/pango: '*'
|
|
gnome.org/libxslt: '*'
|
|
x.org/x11: '*'
|
|
x.org/exts: '*'
|
|
x.org/xrender: '*'
|
|
x.org/xrandr: '*'
|
|
x.org/xi: '*'
|
|
ebassi.github.io/graphene: '*'
|
|
xkbcommon.org: '*'
|
|
debian.org/iso-codes: '*'
|
|
freedesktop.org/at-spi2-atk: '*'
|
|
linux:
|
|
cairographics.org: '*'
|
|
wayland.freedesktop.org/protocols: '*'
|
|
x.org/protocol: '*'
|
|
openprinting.github.io/cups: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
docbook.org: '*'
|
|
docbook.org/xsl: '*'
|
|
gnu.org/gettext: '*'
|
|
gnome.org/gobject-introspection: '*'
|
|
mesonbuild.com: '*'
|
|
ninja-build.org: '*'
|
|
freedesktop.org/pkg-config: '*'
|
|
linux:
|
|
cmake.org: '*'
|
|
script:
|
|
- meson setup build $MESON_ARGS
|
|
- meson compile -C build --verbose
|
|
- meson install -C build
|
|
env:
|
|
MESON_ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
- --buildtype=release
|
|
- --wrap-mode=nofallback
|
|
- -Dintrospection=true
|
|
darwin:
|
|
MESON_ARGS:
|
|
- -Dquartz_backend=true
|
|
- -Dx11_backend=false
|
|
DESTDIR: /
|
|
XML_CATALOG_FILES: '{{prefix}}/etc/xml/catalog'
|
|
|
|
provides:
|
|
- bin/gtk-builder-tool
|
|
- bin/gtk-encode-symbolic-svg
|
|
- bin/gtk-launch
|
|
- bin/gtk-query-immodules-3.0
|
|
- bin/gtk-query-settings
|
|
- bin/gtk-update-icon-cache
|
|
- bin/gtk3-demo
|
|
- bin/gtk3-demo-application
|
|
- bin/gtk3-icon-browser
|
|
- bin/gtk3-widget-factory
|
|
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- pkg-config --modversion gtk+-3.0 | grep {{version}}
|
|
- cc test.c $(pkg-config --cflags --libs gtk+-3.0) -o test
|
|
- ./test
|