summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2013-01-09 14:13:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:43:16 +0000
commit9826ea1821ff86c80e276bf6447a7ce99a2ca4ff (patch)
treea0659a84d1041769cd53dd9789e29e47ea86938f /meta
parent0120167750078b7b0ed1c8454c04b57b90e73e98 (diff)
downloadpoky-9826ea1821ff86c80e276bf6447a7ce99a2ca4ff.tar.gz
harfbuzz: add recipe, version 0.9.10
OpenType text shaping engine HarfBuzz is dependency of pango >= 1.32 This depends on all of glib-2.0, cairo, and freetype to consistently provide all backends. Otherwise it would, in typical case, depend on build order of these packages. HarfBuzz configure would pick those backends for which dependencies happen to be built before it. Similarly graphite is consistenly disabled if there ever happens to be recipe for it. (From OE-Core rev: 6f5ab158203101db69d11754a77b0fd6fbb23f87) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/harfbuzz/harfbuzz-0.9.10/disable_graphite.patch15
-rw-r--r--meta/recipes-graphics/harfbuzz/harfbuzz_0.9.10.bb29
2 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz-0.9.10/disable_graphite.patch b/meta/recipes-graphics/harfbuzz/harfbuzz-0.9.10/disable_graphite.patch
new file mode 100644
index 0000000000..49938ba1a4
--- /dev/null
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz-0.9.10/disable_graphite.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Inappropriate [disable feature]
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd harfbuzz-0.9.10/configure.ac harfbuzz-0.9.10/configure.ac
5--- harfbuzz-0.9.10/configure.ac 2013-01-03 08:08:51.000000000 +0200
6+++ harfbuzz-0.9.10/configure.ac 2013-01-09 08:18:04.812529418 +0200
7@@ -185,7 +185,7 @@
8
9 dnl ==========================================================================
10
11-PKG_CHECK_MODULES(GRAPHITE2, graphite2, have_graphite=true, have_graphite=false)
12+have_graphite=false
13 if $have_graphite; then
14 AC_DEFINE(HAVE_GRAPHITE2, 1, [Have Graphite library])
15 fi
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.10.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.10.bb
new file mode 100644
index 0000000000..0dd630157a
--- /dev/null
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.10.bb
@@ -0,0 +1,29 @@
1SUMMARY = "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 = "Old-MIT | UCDN | ICU | HarfBuzz-old"
7LIC_FILES_CHKSUM = "file://COPYING;md5=e021dd6dda6ff1e6b1044002fc662b9b \
8 file://src/hb-ucdn/COPYING;md5=994ba0f1295f15b4bda4999a5bbeddef \
9 file://src/hb-icu-le/COPYING;md5=0ac60acf068e2cc9facdf86169a9c13e \
10 file://src/hb-icu-le/license.html;md5=9136737088bbfbbf86d9a714da49fb89 \
11 file://src/hb-old/COPYING;md5=6e8442c12d498ce55cfe39fc60f97981 \
12"
13
14SECTION = "libs"
15
16PR = "r0"
17
18SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PV}.tar.bz2 \
19 file://disable_graphite.patch \
20"
21
22SRC_URI[md5sum] = "deec04f2281bef6323f4ad1dabbf75f7"
23SRC_URI[sha256sum] = "1f8c281ded05290fd1964c0e11a2bde607713b33d0c8122a8d230452d99c2e23"
24
25inherit autotools pkgconfig
26
27DEPENDS = "icu glib-2.0 cairo freetype"
28
29BBCLASSEXTEND = "native"