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