[oe-commits] [openembedded-core] 11/15: harfbuzz: split libharfbuzz-subset.so to its own binary package

git at git.openembedded.org git at git.openembedded.org
Sun Nov 10 14:07:37 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit eb661eaa2067e91b533fb077479be5432b6e586b
Author: Mikko Rapeli <mikko.rapeli at bmw.de>
AuthorDate: Thu Nov 7 15:39:11 2019 +0200

    harfbuzz: split libharfbuzz-subset.so to its own binary package
    
    harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
    1365431 bytes in yocto 3.0. Most of the size increase is in the new
    libharfbuzz-subset.so* library
    https://harfbuzz.github.io/utilities.html#utilities-command-line-hbsubset
    
    Split it to its own binary package which will be installed if anyone needs it.
    Effect to harfbuzz binary package size is:
    
    -PKGSIZE = 1476271
    +PKGSIZE = 1007424
    
    Signed-off-by: Mikko Rapeli <mikko.rapeli at bmw.de>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb
index 99cd4cd..80ab545 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb
@@ -21,7 +21,7 @@ PACKAGECONFIG[glib] = "--with-glib,--without-glib,glib-2.0"
 PACKAGECONFIG[graphite] = "--with-graphite2,--without-graphite2,graphite2"
 PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu"
 
-PACKAGES =+ "${PN}-icu ${PN}-icu-dev"
+PACKAGES =+ "${PN}-icu ${PN}-icu-dev ${PN}-subset"
 
 LEAD_SONAME = "libharfbuzz.so"
 
@@ -36,5 +36,6 @@ FILES_${PN}-icu-dev = "${libdir}/libharfbuzz-icu.la \
                        ${libdir}/libharfbuzz-icu.so \
                        ${libdir}/pkgconfig/harfbuzz-icu.pc \
 "
+FILES_${PN}-subset = "${libdir}/libharfbuzz-subset.so.*"
 
 BBCLASSEXTEND = "native nativesdk"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list