blob: 670bd98e1542fb396519e10bf9e19b2eeb70d744 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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"
5
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://COPYING;md5=e021dd6dda6ff1e6b1044002fc662b9b \
8 file://src/hb-ucdn/COPYING;md5=994ba0f1295f15b4bda4999a5bbeddef \
9"
10
11SECTION = "libs"
12
13SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/${BP}.tar.bz2"
14SRC_URI[md5sum] = "e74f644045fe42c38a2641fc1e82a800"
15SRC_URI[sha256sum] = "beb3caf8654010fcdca61c810a3a7532237fc567ee4271deb674b5efbbe3b466"
16
17inherit autotools pkgconfig lib_package
18
19DEPENDS = "glib-2.0 cairo freetype"
20
21BBCLASSEXTEND = "native"
22
23EXTRA_OECONF = "--with-glib --with-freetype --with-cairo --without-graphite2"
24
25PACKAGECONFIG ??= "icu"
26PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu"
27
28PACKAGES =+ "${PN}-icu ${PN}-icu-dbg ${PN}-icu-dev"
29
30FILES_${PN}-icu = "${libdir}/libharfbuzz-icu.so.*"
31FILES_${PN}-icu-dbg = "${libdir}/.debug/libharfbuzz-icu.so*"
32FILES_${PN}-icu-dev = "${libdir}/libharfbuzz-icu.la \
33 ${libdir}/libharfbuzz-icu.so \
34 ${libdir}/pkgconfig/harfbuzz-icu.pc \
35"