blob: a90ff522554c6e79294e312099830d18ff75df09 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "Text shaping library"
2DESCRIPTION = "HarfBuzz is an OpenType text shaping engine."
3HOMEPAGE = "http://www.freedesktop.org/wiki/Software/HarfBuzz"
4BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=HarfBuzz"
5SECTION = "libs"
6LICENSE = "MIT"
Brad Bishop08902b02019-08-20 09:16:51 -04007LIC_FILES_CHKSUM = "file://COPYING;md5=e11f5c3149cdec4bb309babb020b32b9 \
8 file://src/hb-ucd.cc;md5=343f1797944de49ab2b5f5cf3126d3f2"
Brad Bishopc342db32019-05-15 21:57:59 -04009
10DEPENDS = "glib-2.0 cairo fontconfig freetype"
11
Brad Bishop08902b02019-08-20 09:16:51 -040012SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/${BP}.tar.xz"
13SRC_URI[md5sum] = "29a310e74a90b4e4f6d62f3e74a571e5"
14SRC_URI[sha256sum] = "fed00dc797b7ba3ca943225f0a854baaed4c1640fff8a31d455cd3b5caec855c"
Brad Bishopc342db32019-05-15 21:57:59 -040015
16inherit autotools pkgconfig lib_package gtk-doc
17
18PACKAGECONFIG ??= "icu"
19PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu"
20
21EXTRA_OECONF = " \
22 --with-cairo \
23 --with-fontconfig \
24 --with-freetype \
25 --with-glib \
26 --without-graphite2 \
27"
28
29PACKAGES =+ "${PN}-icu ${PN}-icu-dev"
30
31LEAD_SONAME = "libharfbuzz.so"
32
33FILES_${PN}-icu = "${libdir}/libharfbuzz-icu.so.*"
34FILES_${PN}-icu-dev = "${libdir}/libharfbuzz-icu.la \
35 ${libdir}/libharfbuzz-icu.so \
36 ${libdir}/pkgconfig/harfbuzz-icu.pc \
37"
38
39BBCLASSEXTEND = "native nativesdk"