1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/print/harfbuzz/Makefile
Tobias C. Berner 79a4cf5dcc print/harfbuzz: update to 3.2.0
harfbuzz library improvements:

   * Fixed shaping of Apple Color Emoji flags in right-to-left context.
   * Fixed positioning of CFF fonts in HB_TINY profile.
   * OpenType 1.9 language tags update.
   * Add HB_NO_VERTICAL config option.
   * Add HB_CONFIG_OVERRIDE_H for easier configuration.

harfbuzz-subset library improvements:

   * Improved packing of cmap, loca, and Ligature tables.
   * Significantly improved overflow-resolution strategy in the repacker.

PR:		260363
Exp-run by:	antoine
2021-12-16 18:27:56 +01:00

57 lines
1.4 KiB
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
PORTNAME= harfbuzz
DISTVERSION= 3.2.0
PORTREVISION?= 0
CATEGORIES= print
MASTER_SITES= https://github.com/harfbuzz/harfbuzz/releases/download/${DISTVERSION}/
MAINTAINER= desktop@FreeBSD.org
COMMENT?= OpenType text shaping engine
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libgraphite2.so:graphics/graphite2
USES= compiler:c++11-lib cpe gnome meson \
pkgconfig python:build shebangfix tar:xz
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
SHEBANG_GLOB= *.py
CPE_VENDOR= harfbuzz_project
MESON_ARGS= -Dglib=enabled -Dgobject=enabled -Dgraphite=enabled \
-Dfreetype=enabled -Dbenchmark=disabled
PLIST_SUB+= LIBVER=0.30200.0
HARFBUZZ_SLAVE?= no
.if ${HARFBUZZ_SLAVE} == no
OPTIONS_DEFINE= DOCS TEST
OPTIONS_SUB= yes
DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc
DOCS_MESON_ENABLED= docs
TEST_MESON_ENABLED= tests
.endif
.if ${HARFBUZZ_SLAVE} == no
MESON_ARGS+= -Dicu=disabled -Dcairo=disabled
.elif ${HARFBUZZ_SLAVE} == icu
MESON_ARGS+= -Dicu=enabled -Dcairo=disabled -Ddocs=disabled \
-Dtests=disabled
LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \
libicudata.so:devel/icu
.elif ${HARFBUZZ_SLAVE} == hb-view
MESON_ARGS+= -Dcairo=enabled -Dicu=disabled -Ddocs=disabled \
-Dtests=disabled
LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz
USE_GNOME+= cairo
.endif
.include <bsd.port.mk>