[oe] [PATCH][v2 1/6] babl: upgrade 0.1.62 -> 0.1.74

Andreas Müller schnitzeltony at gmail.com
Sun Feb 9 15:10:48 UTC 2020


* babl moved to meson build
* move to meta-gnome: latest gimp requires gexiv2 and nothing but gimp depends
  on babl
* extend to native build for native gegl (next patch)
* get sources from location gimp's homepage suggests

Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
---
 .../recipes-gimp/babl/babl_0.1.74.bb           | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-graphics/babl/babl_0.1.62.bb => meta-gnome/recipes-gimp/babl/babl_0.1.74.bb (31%)

diff --git a/meta-oe/recipes-graphics/babl/babl_0.1.62.bb b/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb
similarity index 31%
rename from meta-oe/recipes-graphics/babl/babl_0.1.62.bb
rename to meta-gnome/recipes-gimp/babl/babl_0.1.74.bb
index 4a7dbcab3..59921d344 100644
--- a/meta-oe/recipes-graphics/babl/babl_0.1.62.bb
+++ b/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb
@@ -2,12 +2,16 @@ SUMMARY = "Babl is a dynamic, any to any, pixel format conversion library"
 LICENSE = "LGPL-3.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
 
-inherit gnomebase
+GNOMEBASEBUILDCLASS = "meson"
 
-SRC_URI = "http://ftp.gimp.org/pub/${BPN}/0.1/${BP}.tar.bz2"
-SRC_URI[md5sum] = "28fa9d43549378ceebe2871d7721dd46"
-SRC_URI[sha256sum] = "dc279f174edbcb08821cf37e4ab0bc02e6949369b00b150c759a6c24bfd3f510"
+GIR_MESON_OPTION = "enable-gir"
 
-FILES_${PN} += "${libdir}/babl-*/*.so"
-FILES_${PN}-dev += "${libdir}/babl-*/*.la"
-FILES_${PN}-dbg += "${libdir}/babl-*/.debug/"
+inherit setuptools3 gnomebase gobject-introspection
+
+DEPENDS += "lcms"
+
+SRC_URI = "https://download.gimp.org/pub/${BPN}/0.1/${BP}.tar.xz"
+SRC_URI[md5sum] = "d032853f2678bc95054c39d4f02045c1"
+SRC_URI[sha256sum] = "9a710b6950da37ada94cd9e2046cbce26de12473da32a7b79b7d1432fc66ce0e"
+
+BBCLASSEXTEND = "native"
-- 
2.21.0



More information about the Openembedded-devel mailing list