pantry/projects/gnome.org/pango/package.yml
2024-06-29 15:36:54 -04:00

48 lines
1.1 KiB
YAML
Raw Permalink 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/pango/{{ version.major }}.{{ version.minor }}/pango-{{ version }}.tar.xz
strip-components: 1
versions:
gitlab: gitlab.gnome.org:GNOME/pango/tags
ignore:
- /1\.51\.1/ # this version is broken really 1.51.0
- /1\.90\.*/ # beta of 2.0
dependencies:
cairographics.org: ^1.18
freetype.org: 2
gnome.org/glib: 2
harfbuzz.org: 8
freedesktop.org/fontconfig: 2
sourceware.org/libffi: 3
gnu.org/fribidi: 1
build:
dependencies:
mesonbuild.com: '*'
ninja-build.org: 1
freedesktop.org/pkg-config: ^0.29
gnome.org/gobject-introspection: 1
python.org: '>=3<3.12' #FIXME rqd by gnome.org/gobject-introspection but should be added by tea-env
working-directory: build
script: |
meson .. $ARGS
ninja --verbose
ninja install
env:
ARGS:
- -Dcairo=enabled
- -Dfontconfig=enabled
- -Dfreetype=enabled
- --buildtype=release
- --prefix={{prefix}}
- --libdir={{prefix}}/lib
#TODO more
test: pango-view --version
provides:
- bin/pango-list
- bin/pango-segmentation
- bin/pango-view