ports/devel/harfbuzz/Makefile

70 lines
1.6 KiB
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
BROKEN-hppa= no atomic primitives
COMMENT-main= text shaping library
COMMENT-icu= ICU support for libharfbuzz
2023-09-19 18:42:08 +00:00
V= 8.2.1
2023-08-16 22:26:55 +00:00
DISTNAME= harfbuzz-${V}
EXTRACT_SUFX= .tar.xz
2023-09-19 18:42:08 +00:00
SHARED_LIBS += harfbuzz 18.6 # 0.60821.0
SHARED_LIBS += harfbuzz-subset 2.4 # 0.60821.0
SHARED_LIBS += harfbuzz-cairo 0.1 # 0.60821.0
SHARED_LIBS += harfbuzz-icu 2.1 # 0.60821.0
SHARED_LIBS += harfbuzz-gobject 1.1 # 0.60821.0
2023-08-16 22:26:55 +00:00
CATEGORIES= devel graphics textproc
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MIT
PERMIT_PACKAGE= Yes
2023-09-22 16:24:11 +00:00
SITES= https://github.com/harfbuzz/harfbuzz/releases/download/${V}/
2023-08-16 22:26:55 +00:00
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
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>