pantry/projects/gnome.org/pango/package.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2022-08-20 18:24:18 +03:00
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
2022-08-20 18:24:18 +03:00
dependencies:
cairographics.org: ^1.18
2022-08-20 18:24:18 +03:00
freetype.org: 2
gnome.org/glib: 2
harfbuzz.org: '>=4'
2022-08-20 18:24:18 +03:00
freedesktop.org/fontconfig: 2
sourceware.org/libffi: 3
gnu.org/fribidi: 1
build:
dependencies:
2024-02-26 17:46:48 +03:00
mesonbuild.com: '*'
2022-08-20 18:24:18 +03:00
ninja-build.org: 1
freedesktop.org/pkg-config: ^0.29
gnome.org/gobject-introspection: 1
2023-10-03 18:23:56 +03:00
python.org: '>=3<3.12' #FIXME rqd by gnome.org/gobject-introspection but should be added by tea-env
2022-08-20 18:24:18 +03:00
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
2022-08-20 18:24:18 +03:00
#TODO more
test: pango-view --version
2022-12-05 22:10:34 +03:00
provides:
- bin/pango-list
- bin/pango-segmentation
- bin/pango-view