73 lines
1.6 KiB
Makefile
73 lines
1.6 KiB
Makefile
BROKEN-hppa= no atomic primitives
|
|
|
|
COMMENT-main= text shaping library
|
|
COMMENT-icu= ICU support for libharfbuzz
|
|
|
|
V= 8.5.0
|
|
DISTNAME= harfbuzz-${V}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
SHARED_LIBS += harfbuzz 18.9 # 0.60850.0
|
|
SHARED_LIBS += harfbuzz-subset 2.5 # 0.60850.0
|
|
SHARED_LIBS += harfbuzz-cairo 0.2 # 0.60850.0
|
|
SHARED_LIBS += harfbuzz-icu 2.2 # 0.60850.0
|
|
SHARED_LIBS += harfbuzz-gobject 1.2 # 0.60850.0
|
|
|
|
CATEGORIES= devel graphics textproc
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
SITES= https://github.com/harfbuzz/harfbuzz/releases/download/${V}/
|
|
|
|
WANTLIB-main += c cairo freetype glib-2.0 gobject-2.0 graphite2 m
|
|
|
|
WANTLIB-icu += harfbuzz icuuc
|
|
|
|
MULTI_PACKAGES= -main -icu
|
|
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
|
|
|
# C++11
|
|
COMPILER= base-clang ports-gcc ports-clang
|
|
|
|
MODULES= devel/meson \
|
|
lang/python
|
|
|
|
MODPY_ADJ_FILES= src/relative_to.py
|
|
MODPY_RUNDEP= No
|
|
|
|
BUILD_DEPENDS= devel/gobject-introspection
|
|
|
|
# XXX Program ragel found: NO found 6.9 but need: '6.10' (/usr/local/bin/ragel)
|
|
#BUILD_DEPENDS += devel/ragel
|
|
|
|
LIB_DEPENDS-main= graphics/cairo \
|
|
graphics/graphite2
|
|
|
|
LIB_DEPENDS-icu= devel/harfbuzz,-main=${V} \
|
|
textproc/icu4c
|
|
|
|
.include <bsd.port.arch.mk>
|
|
.if !${PROPERTIES:Mclang}
|
|
# needed for estdc++ in WANTLIB
|
|
LIB_DEPENDS-main += ${LIB_DEPENDS}
|
|
.endif
|
|
|
|
CONFIGURE_ARGS= -Dgraphite2=enabled
|
|
|
|
# bloat: needs gtk-doc
|
|
CONFIGURE_ARGS += -Ddocs=disabled
|
|
|
|
# bloat: requires ImageMagick, libwebp...
|
|
CONFIGURE_ARGS += -Dchafa=disabled
|
|
|
|
# XXX: infinite loop
|
|
CONFIGURE_ARGS += -Dtests=disabled
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/src/check-symbols.py
|
|
|
|
.include <bsd.port.mk>
|