meta-wayland/recipes-gtk/gimp/gimp_git.bb
Markus Volk a37ab55a56 gimp: dont build api-documentation
This is a temporary workaround to fix an issue thats eventually caused by pango update:
| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/gimp/2.99.18/recipe-sysroot-native/usr/bin/gi-docgen generate --quiet --fatal-warnings --config devel-docs/reference/gimp-ui/gimp-ui-3.0.toml --output-dir=devel-docs/reference/gimp-ui/libgimpui-3.0 --no-namespace-dir --content-dir=/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gimp/2.99.18/git/devel-docs/reference/gimp-ui --add-include-path=/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gimp/2.99.18/build/libgimp --add-include-path=/usr/share/gir-1.0 libgimp/GimpUi-3.0.gir
| WARNING: Unknown component in class link for Gimp.Brush: .Chooser
| Creates a [class@Gimp.Brush.Chooser] controlled by the specified property.
|           ^~~~~~~~~~~~~~~~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
2024-07-31 14:52:49 +02:00

116 lines
3.4 KiB
BlitzBasic

SUMMARY = "The GIMP is the GNU Image Manipulation Program"
HOMEPAGE = "http://www.gimp.org"
SECTION = "graphics"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
DEPENDS = " \
appstream-glib \
atk \
babl \
bison-native \
cairo \
dbus-glib \
fontconfig \
freetype \
gdk-pixbuf-native \
gegl \
gegl-native \
gexiv2 \
gtk+3 \
harfbuzz \
json-glib \
lcms \
libarchive \
libexif \
libmypaint \
libpng \
libxmu \
libxslt-native \
mypaint-brushes-1.0 \
pango \
poppler \
poppler-data \
"
DEPENDS:append:libc-musl = " libexecinfo"
RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking"
inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala
GIR_MESON_OPTION = 'can-crosscompile-gir'
VALA_MESON_OPTION = "vala"
VALA_MESON_ENABLE_FLAG = "enabled"
VALA_MESON_DISABLE_FLAG = "disabled"
GIDOCGEN_MESON_OPTION = "gi-docgen"
GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
SRC_URI = "git://github.com/GNOME/gimp.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
SRCREV = "f94c4cb5dbf9766b27ecb5016b7a39497cc74ddc"
PV = "2.99.18"
PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib"
PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib"
PACKAGECONFIG[appdata-test] = "-Dappdata-test=enabled,-Dappdata-test=disabled,appstream-glib-native"
PACKAGECONFIG[bzip2] = ",,bzip2"
PACKAGECONFIG[cairo-pdf] = "-Dcairo-pdf=enabled,-Dcairo-pdf=disabled"
PACKAGECONFIG[check-update] = "-Dcheck-update=yes,-Dcheck-update=no"
PACKAGECONFIG[enable-console-bin] = "-Denable-console-bin=true,-Denable-console-bin=false"
PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript,ghostscript"
PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
PACKAGECONFIG[iso-codes] = ",,iso-codes"
PACKAGECONFIG[javascript] = "-Djavascript=enabled,-Djavascript=disabled,gjs"
PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper"
PACKAGECONFIG[jpeg] = ",,jpeg"
PACKAGECONFIG[jpeg-xl] = ",,libjxl"
PACKAGECONFIG[libunwind] = ",,libunwind"
PACKAGECONFIG[libbacktrace] = ",,libbacktrace"
PACKAGECONFIG[lua] = "-Dlua=enabled,-Dlua=disabled,luajit"
PACKAGECONFIG[lzma] = ",,xz"
PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng"
PACKAGECONFIG[python] = "-Dpython=enabled,-Dpython=disabled,,python3-core python3-pygobject"
PACKAGECONFIG[rsvg] = ",,librsvg"
PACKAGECONFIG[tiff] = ",,tiff"
PACKAGECONFIG[vector-icons] = "-Dvector-icons=true,-Dvector-icons=false,librsvg shared-mime-info"
PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
PACKAGECONFIG[xcursor] = "-Dxcursor=enabled,-Dxcursor=disabled,libxcursor"
PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxext libxfixes"
PACKAGECONFIG[zlib] = ",,zlib"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
aa \
alsa \
bzip2 \
cairo-pdf \
ghostscript \
gudev \
jpeg \
jpeg2000 \
jpeg-xl \
lzma \
mng \
python \
rsvg \
tiff \
vector-icons \
webp \
zlib \
"
FILES:${PN} += "${datadir}/metainfo"
EXTRA_OEMESON += " \
-Dshmem-type=posix \
-Dlinux-input=enabled \
--buildtype release \
"
do_configure:append () {
sed -i -e "s|${RECIPE_SYSROOT_NATIVE}||" ${B}/config.h
sed -i -e "s|${RECIPE_SYSROOT_NATIVE}||" ${B}/config.h
}