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 \ |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 8 | file://src/hb-ucd.cc;beginline=1;endline=15;md5=29d4dcb6410429195df67efe3382d8bc" |
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" |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 13 | SRC_URI[md5sum] = "89b758a2eb14d56a94406cf914b62388" |
| 14 | SRC_URI[sha256sum] = "c651fb3faaa338aeb280726837c2384064cdc17ef40539228d88a1260960844f" |
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" |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 20 | PACKAGECONFIG[graphite] = "--with-graphite2,--without-graphite2,graphite2" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 21 | |
| 22 | EXTRA_OECONF = " \ |
| 23 | --with-cairo \ |
| 24 | --with-fontconfig \ |
| 25 | --with-freetype \ |
| 26 | --with-glib \ |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 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" |