diff options
Diffstat (limited to 'meta-gnome/recipes-gimp/gegl/gegl_0.4.54.bb')
-rw-r--r-- | meta-gnome/recipes-gimp/gegl/gegl_0.4.54.bb | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gimp/gegl/gegl_0.4.54.bb b/meta-gnome/recipes-gimp/gegl/gegl_0.4.54.bb new file mode 100644 index 0000000000..a7f676ef05 --- /dev/null +++ b/meta-gnome/recipes-gimp/gegl/gegl_0.4.54.bb | |||
@@ -0,0 +1,63 @@ | |||
1 | SUMMARY = "GEGL (Generic Graphics Library) is a graph based image processing framework" | ||
2 | LICENSE = "GPL-3.0-only" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=f1a8bfcbc85304df454b65d378b299c7" | ||
4 | |||
5 | DEPENDS = " \ | ||
6 | intltool-native \ | ||
7 | babl \ | ||
8 | glib-2.0 \ | ||
9 | cairo \ | ||
10 | expat \ | ||
11 | zlib \ | ||
12 | \ | ||
13 | json-glib \ | ||
14 | libpng \ | ||
15 | jpeg \ | ||
16 | " | ||
17 | |||
18 | DEPENDS:append:toolchain-clang = " openmp" | ||
19 | DEPENDS:remove:toolchain-clang:riscv32 = "openmp" | ||
20 | DEPENDS:remove:toolchain-clang:powerpc = "openmp" | ||
21 | |||
22 | VALA_MESON_OPTION = "" | ||
23 | |||
24 | inherit features_check gnomebase gobject-introspection vala | ||
25 | |||
26 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
27 | |||
28 | SHPV = "${@gnome_verdir("${PV}")}" | ||
29 | |||
30 | SRC_URI = "https://download.gimp.org/pub/${BPN}/${SHPV}/${BP}.tar.xz" | ||
31 | SRC_URI[sha256sum] = "35a342f08c6b4379adee2cb5748fc4e307cfdcf2417c0bb17d6ca6543f238b1e" | ||
32 | |||
33 | PACKAGECONFIG ??= "gexiv2 libraw librsvg pango poppler sdl2" | ||
34 | PACKAGECONFIG:class-native = "librsvg" | ||
35 | |||
36 | PACKAGECONFIG[jasper] = "-Djasper=enabled,-Djasper=disabled,jasper" | ||
37 | PACKAGECONFIG[gexiv2] = "-Dgexiv2=enabled,-Dgexiv2=disabled,gexiv2" | ||
38 | PACKAGECONFIG[graphviz] = "-Dgraphviz=enabled,-Dgraphviz=disabled,graphviz" | ||
39 | PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms" | ||
40 | PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav" | ||
41 | PACKAGECONFIG[libraw] = "-Dlibraw=enabled,-Dlibraw=disabled,libraw" | ||
42 | PACKAGECONFIG[librsvg] = "-Dlibrsvg=enabled,-Dlibrsvg=disabled,librsvg" | ||
43 | PACKAGECONFIG[pango] = "-Dpango=enabled -Dpangocairo=enabled,-Dpango=disabled -Dpangocairo=disabled,pango" | ||
44 | PACKAGECONFIG[poppler] = "-Dpoppler=enabled,-Dpoppler=disabled,poppler" | ||
45 | PACKAGECONFIG[sdl] = "-Dsdl1=enabled,-Dsdl1=disabled,libsdl" | ||
46 | PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,libsdl2" | ||
47 | PACKAGECONFIG[tiff] = "-Dlibtiff=enabled,-Dlibtiff=disabled,tiff" | ||
48 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" | ||
49 | |||
50 | # There are a couple of non-symlink .so files installed into libdir, which need to go into main package | ||
51 | FILES:${PN} += " \ | ||
52 | ${libdir}/*.so \ | ||
53 | ${libdir}/gegl-${SHPV}/*.json \ | ||
54 | ${libdir}/gegl-${SHPV}/*.so \ | ||
55 | " | ||
56 | FILES_SOLIBSDEV = "${libdir}/libgegl-${SHPV}${SOLIBSDEV}" | ||
57 | |||
58 | # Fails to build with thumb-1 (qemuarm) | ||
59 | # gegl-0.2.0/operations/common/matting-global.c: In function 'matting_process': | ||
60 | # gegl-0.2.0/operations/common/matting-global.c:463:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1275 | ||
61 | ARM_INSTRUCTION_SET = "arm" | ||
62 | |||
63 | BBCLASSEXTEND = "native" | ||