blob: 4b292d8ea93f7f8f154be5e760cca3f6f483b718 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -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"
7LIC_FILES_CHKSUM = "file://COPYING;md5=e021dd6dda6ff1e6b1044002fc662b9b \
8 file://src/hb-ucdn/COPYING;md5=994ba0f1295f15b4bda4999a5bbeddef \
9"
10
11DEPENDS = "glib-2.0 cairo fontconfig freetype"
12
13SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/${BP}.tar.bz2"
14SRC_URI[md5sum] = "531de9df7c8a5405dd9c6a873fcee8c2"
15SRC_URI[sha256sum] = "f205699d5b91374008d6f8e36c59e419ae2d9a7bb8c5d9f34041b9a5abcae468"
16
17inherit autotools pkgconfig lib_package gtk-doc
18
19PACKAGECONFIG ??= "icu"
20PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu"
21
22EXTRA_OECONF = " \
23 --with-cairo \
24 --with-fontconfig \
25 --with-freetype \
26 --with-glib \
27 --without-graphite2 \
28"
29
30PACKAGES =+ "${PN}-icu ${PN}-icu-dev"
31
32LEAD_SONAME = "libharfbuzz.so"
33
34FILES_${PN}-icu = "${libdir}/libharfbuzz-icu.so.*"
35FILES_${PN}-icu-dev = "${libdir}/libharfbuzz-icu.la \
36 ${libdir}/libharfbuzz-icu.so \
37 ${libdir}/pkgconfig/harfbuzz-icu.pc \
38"
39
40BBCLASSEXTEND = "native nativesdk"