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