pantry/projects/harfbuzz.org/package.yml

60 lines
1.5 KiB
YAML
Raw Normal View History

2022-08-20 18:05:47 +03:00
distributable:
url: https://github.com/harfbuzz/harfbuzz/archive/{{ version }}.tar.gz
strip-components: 1
versions:
github: harfbuzz/harfbuzz/tags
dependencies:
cairographics.org: 1
freetype.org: 2
gnome.org/glib: 2
graphite.sil.org: '*'
2024-01-25 00:57:06 +03:00
unicode.org: ^71
2022-08-20 18:05:47 +03:00
build:
dependencies:
mesonbuild.com: ^0.63
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:05:47 +03:00
working-directory: build
script: |
meson .. $ARGS
ninja --verbose
ninja install
env:
ARGS:
- --prefix={{prefix}}
- --libdir={{prefix}}/lib
2022-08-20 18:05:47 +03:00
- --buildtype=release
- -Dcairo=enabled
- -Dcoretext=enabled
- -Dfreetype=enabled
- -Dglib=enabled
- -Dgraphite=enabled
2022-08-20 18:05:47 +03:00
- -Dtests=disabled
2023-03-05 02:04:34 +03:00
linux/x86-64:
CFLAGS: -fPIC
CXXFLAGS: -fPIC
LDFLAGS: -pie
2022-08-20 18:05:47 +03:00
2022-09-02 00:42:09 +03:00
test:
dependencies:
curl.se: '*'
2023-03-05 02:04:34 +03:00
gnu.org/binutils: '*'
2022-09-02 00:42:09 +03:00
script: |
curl $FIXTURE > font.ttf
out=$(echo 'സ്റ്റ്' | hb-shape font.ttf)
test $out = '[gid0=0+500|gid0=0+500|gid0=2+500|gid0=2+500|gid0=4+500|gid0=4+500]'
env:
FIXTURE: https://github.com/harfbuzz/harfbuzz/raw/fc0daafab0336b847ac14682e581a8838f36a0bf/test/shaping/fonts/sha1sum/270b89df543a7e48e206a2d830c0e10e5265c630.ttf
2023-10-03 18:23:56 +03:00
receipt: build/meson-logs/meson-log.txt
2022-11-18 21:43:48 +03:00
provides:
- bin/hb-ot-shape-closure
- bin/hb-shape
- bin/hb-subset
- bin/hb-view