pantry/projects/gnome.org/gdk-pixbuf/package.yml
Max Howell 88169e0b4d +gdk-pixbuf+gmp (#87)
* +gdk-pixbuf+gmp

* wip

* wip
2022-08-19 16:48:18 -04:00

41 lines
1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

distributable:
url: https://download.gnome.org/sources/gdk-pixbuf/{{version.major}}.{{version.minor}}/gdk-pixbuf-{{ version }}.tar.xz
strip-components: 1
versions:
- 2.42.8
dependencies:
ijg.org: 9
gnome.org/glib: 2
libpng.org: 1
build:
dependencies:
tea.xyz/gx/cc: c99
mesonbuild.com: ^0.63
ninja-build.org: 1
freedesktop.org/pkg-config: ^0.29
gnome.org/gobject-introspection: 1
python.org: 3 #FIXME rqd by gnome.org/gobject-introspection but should be added by tea-env
working-directory: build
script: |
if test {{ hw.platform }} == linux; then
#FIXME so linux configure finds shared-mime-info
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/share/pkgconfig"
#FIXME so linux build finds the shared-mime-info cache
export XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/share"
fi
meson \
--buildtype=release \
--prefix={{prefix}} \
-Dman=false \
..
ninja
ninja install
# ^^ man pages break the build due to needing some other dep
test: true #FIXME