summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-08-23 22:20:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 16:00:10 +0100
commita96f16835c571c0d9008bcfcc593c7814ed66eaf (patch)
tree024e1e7a22570a09932f9f89fe051ef2cd22bbe0 /meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb
parent121b620c0cfb63476ae821792fe5b3585285538e (diff)
downloadpoky-a96f16835c571c0d9008bcfcc593c7814ed66eaf.tar.gz
harfbuzz: convert to meson, enable gobject introspection
The latter is needed for pango update. (From OE-Core rev: ee9f4567563a61e9f614e9405cf5480411890719) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb')
-rw-r--r--meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb24
1 files changed, 16 insertions, 8 deletions
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb
index 08c8f83239..42b3af1ff0 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_2.7.1.bb
@@ -10,18 +10,26 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8f787620b7d3866d9552fd1924c07572 \
10UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 10UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
11UPSTREAM_CHECK_REGEX = "harfbuzz-(?P<pver>\d+(\.\d+)+).tar" 11UPSTREAM_CHECK_REGEX = "harfbuzz-(?P<pver>\d+(\.\d+)+).tar"
12 12
13SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.xz" 13SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.xz \
14 file://0001-Do-not-disable-introspection-in-cross-builds.patch \
15 file://0001-src-hb-gobject-enums.cc.tmpl-write-out-only-the-file.patch \
16 "
14SRC_URI[sha256sum] = "e95ee43b6bd0d3d1307e2aacf0f9c0050e5baceb21988b367b833028114aa569" 17SRC_URI[sha256sum] = "e95ee43b6bd0d3d1307e2aacf0f9c0050e5baceb21988b367b833028114aa569"
15 18
16inherit autotools pkgconfig lib_package gtk-doc 19inherit meson pkgconfig lib_package gtk-doc gobject-introspection
20
21GIR_MESON_ENABLE_FLAG = 'enabled'
22GIR_MESON_DISABLE_FLAG = 'disabled'
23GTKDOC_MESON_ENABLE_FLAG = 'enabled'
24GTKDOC_MESON_DISABLE_FLAG = 'disabled'
17 25
18PACKAGECONFIG ??= "cairo fontconfig freetype glib icu" 26PACKAGECONFIG ??= "cairo fontconfig freetype glib icu"
19PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo" 27PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo"
20PACKAGECONFIG[fontconfig] = "--with-fontconfig,--without-fontconfig,fontconfig" 28PACKAGECONFIG[fontconfig] = "-Dfontconfig=enabled,-Dfontconfig=disabled,fontconfig"
21PACKAGECONFIG[freetype] = "--with-freetype,--without-freetype,freetype" 29PACKAGECONFIG[freetype] = "-Dfreetype=enabled,-Dfreetype=disabled,freetype"
22PACKAGECONFIG[glib] = "--with-glib,--without-glib,glib-2.0" 30PACKAGECONFIG[glib] = "-Dglib=enabled,-Dglib=disabled,glib-2.0"
23PACKAGECONFIG[graphite] = "--with-graphite2,--without-graphite2,graphite2" 31PACKAGECONFIG[graphite] = "-Dgraphite=enabled,-Dgraphite=disabled,graphite2"
24PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu" 32PACKAGECONFIG[icu] = "-Dicu=enabled,-Dicu=disabled,icu"
25 33
26PACKAGES =+ "${PN}-icu ${PN}-icu-dev ${PN}-subset" 34PACKAGES =+ "${PN}-icu ${PN}-icu-dev ${PN}-subset"
27 35