69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.67 2017/07/26 22:45:18 sthen Exp $
|
|
|
|
BROKEN-hppa= no atomic primitives
|
|
|
|
COMMENT-main= text shaping library
|
|
COMMENT-icu= ICU support for libharfbuzz
|
|
|
|
V= 1.4.7
|
|
DISTNAME= harfbuzz-${V}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
PKGNAME-main= harfbuzz-${V}
|
|
PKGNAME-icu= harfbuzz-icu-${V}
|
|
REVISION-icu= 0
|
|
REVISION-main= 0
|
|
|
|
SHARED_LIBS += harfbuzz 8.7 # 10400.6
|
|
SHARED_LIBS += harfbuzz-icu 0.3 # 10400.6
|
|
SHARED_LIBS += harfbuzz-gobject 0.0 # 10400.6
|
|
|
|
CATEGORIES= devel graphics textproc
|
|
|
|
HOMEPAGE= http://www.freedesktop.org/wiki/Software/HarfBuzz
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += freetype glib-2.0 graphite2 iconv intl m pcre pthread
|
|
WANTLIB += ${COMPILER_LIBCXX} z
|
|
|
|
MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/
|
|
|
|
MULTI_PACKAGES= -main -icu
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
WANTLIB-main += ${WANTLIB}
|
|
WANTLIB-main += X11 Xext Xrender c cairo expat fontconfig pixman-1
|
|
WANTLIB-main += png pthread-stubs xcb xcb-render xcb-shm ffi
|
|
WANTLIB-main += gobject-2.0
|
|
|
|
WANTLIB-icu += ${WANTLIB}
|
|
WANTLIB-icu += harfbuzz icudata icuuc
|
|
|
|
BUILD_DEPENDS= devel/gobject-introspection
|
|
|
|
LIB_DEPENDS-main= graphics/cairo \
|
|
graphics/graphite2
|
|
|
|
LIB_DEPENDS-icu= devel/harfbuzz,-main=${V} \
|
|
textproc/icu4c
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --enable-introspection \
|
|
--with-graphite2 \
|
|
--with-gobject
|
|
|
|
.if ${MACHINE_ARCH} == "arm"
|
|
CXXFLAGS += -DHB_NO_MT
|
|
.endif
|
|
|
|
pre-configure:
|
|
sed -i 's,for suffix in so,for suffix in so.${LIBharfbuzz_VERSION},' \
|
|
${WRKSRC}/src/check-symbols.sh
|
|
|
|
.include <bsd.port.mk>
|