mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
gegl: upgrade 0.3.18 -> 0.4.20
* gegl is GPLv3 now * gegl moved to meson build * move to meta-gnome: latest gimp requires gexiv2 and nothing but gimp depends on gegl * add more PACKAGECONFIGs and change defaults slightly: sdl->sdl2 / add gexiv2 by default because gimp requires it anyway * extend to native: latest gimp requires gegl for manipulation of pngs during build * get sources from location gimp's homepage suggests Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From 6bed199a73a7af39344cf8e799b665011553600c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 8 Feb 2020 14:29:52 +0100
|
||||
Subject: [PATCH] meson.build: Give note if sdl2 was found
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Configure output confused me a bit
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
meson.build | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 9d5b484..296b5f3 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -374,6 +374,7 @@ message('\n'.join(['',
|
||||
' OpenEXR: @0@'.format(openexr.found()),
|
||||
' rsvg: @0@'.format(librsvg.found()),
|
||||
' SDL: @0@'.format(sdl1.found()),
|
||||
+' SDL2: @0@'.format(sdl2.found()),
|
||||
' libraw: @0@'.format(libraw.found()),
|
||||
' Jasper: @0@'.format(jasper.found()),
|
||||
' av libs: @0@'.format(avlibs_found),
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
SUMMARY = "GEGL (Generic Graphics Library) is a graph based image processing framework"
|
||||
LICENSE = "GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f1a8bfcbc85304df454b65d378b299c7"
|
||||
|
||||
DEPENDS = " \
|
||||
intltool-native \
|
||||
babl \
|
||||
glib-2.0 \
|
||||
pango \
|
||||
cairo \
|
||||
expat \
|
||||
zlib \
|
||||
\
|
||||
json-glib \
|
||||
"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
inherit features_check gnomebase vala gobject-introspection
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SHPV = "${@gnome_verdir("${PV}")}"
|
||||
|
||||
SRC_URI = " \
|
||||
https://download.gimp.org/pub/${BPN}/${SHPV}/${BP}.tar.xz \
|
||||
file://0001-meson.build-Give-note-if-sdl2-was-found.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "37433eb00f8a4b0d1ae9e975aaedfa26"
|
||||
SRC_URI[sha256sum] = "23bd8bb42b20de7c2a8c314eeb5301dc20141feda20a4b1ed455020b69b73dff"
|
||||
|
||||
PACKAGECONFIG ??= "gexiv2 jpeg libpng librsvg sdl2"
|
||||
PACKAGECONFIG_class-native = "libpng librsvg"
|
||||
|
||||
PACKAGECONFIG[jasper] = "-Djasper=enabled,-Djasper=disabled,jasper"
|
||||
PACKAGECONFIG[gexiv2] = "-Dgexiv2=enabled,-Dgexiv2=disabled,gexiv2"
|
||||
PACKAGECONFIG[graphviz] = "-Dgraphviz=enabled,-Dgraphviz=disabled,graphviz"
|
||||
PACKAGECONFIG[jpeg] = "-Dlibjpeg=enabled,-Dlibjpeg=disabled,jpeg"
|
||||
PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms"
|
||||
PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav"
|
||||
PACKAGECONFIG[libpng] = "-Dlibpng=enabled,-Dlibpng=disabled,libpng"
|
||||
PACKAGECONFIG[librsvg] = "-Dlibrsvg=enabled,-Dlibrsvg=disabled,librsvg"
|
||||
PACKAGECONFIG[sdl] = "-Dsdl1=enabled,-Dsdl1=disabled,virtual/libsdl"
|
||||
PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,virtual/libsdl2"
|
||||
PACKAGECONFIG[tiff] = "-Dlibtiff=enabled,-Dlibtiff=disabled,tiff"
|
||||
PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,webp"
|
||||
|
||||
# There are a couple of non-symlink .so files installed into libdir, which need to go into main package
|
||||
FILES_${PN} += " \
|
||||
${libdir}/*.so \
|
||||
${libdir}/gegl-${SHPV}/*.json \
|
||||
${libdir}/gegl-${SHPV}/*.so \
|
||||
"
|
||||
FILES_SOLIBSDEV = "${libdir}/libgegl-${SHPV}${SOLIBSDEV}"
|
||||
|
||||
# Fails to build with thumb-1 (qemuarm)
|
||||
# gegl-0.2.0/operations/common/matting-global.c: In function 'matting_process':
|
||||
# gegl-0.2.0/operations/common/matting-global.c:463:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1275
|
||||
ARM_INSTRUCTION_SET = "arm"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user