meta-wayland/recipes-gtk/gimp/gimp_git.bb

111 lines
3.3 KiB
BlitzBasic
Raw Normal View History

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 \
2021-09-02 01:44:38 +02:00
libexif \
libmypaint \
2022-01-06 21:54:38 +01:00
libpng \
libxmu \
libxslt-native \
mypaint-brushes-1.0 \
pango \
poppler \
poppler-data \
"
DEPENDS:append:libc-musl = " libexecinfo"
2022-02-15 03:25:55 +01:00
RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking"
2024-01-19 08:56:52 +01:00
inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gi-docgen gobject-introspection vala
2024-01-15 18:40:03 +01:00
GIR_MESON_OPTION = 'can-crosscompile-gir'
2023-11-08 09:30:49 +01:00
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"
2024-01-15 18:40:03 +01:00
SRC_URI = "git://github.com/GNOME/gimp.git;protocol=https;branch=master"
2021-09-02 01:44:38 +02:00
S = "${WORKDIR}/git"
2023-11-08 09:30:49 +01:00
SRCREV = "d3c5536ac85bb84e1beaba68aea12cf28062e08c"
PV = "2.99.16"
PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib"
2021-09-01 22:38:56 +02:00
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"
2021-10-21 07:42:04 +02:00
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"
2021-09-01 22:38:56 +02:00
PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
PACKAGECONFIG[iso-codes] = ",,iso-codes"
2023-11-08 09:30:49 +01:00
PACKAGECONFIG[javascript] = "-Djavascript=enabled,-Djavascript=disabled,gjs"
2021-09-01 22:38:56 +02:00
PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper"
PACKAGECONFIG[jpeg] = ",,jpeg"
2021-10-21 12:05:23 +02:00
PACKAGECONFIG[jpeg-xl] = ",,libjxl"
2021-10-21 07:42:04 +02:00
PACKAGECONFIG[libunwind] = ",,libunwind"
PACKAGECONFIG[libbacktrace] = ",,libbacktrace"
2023-11-08 09:30:49 +01:00
PACKAGECONFIG[lua] = "-Dlua=enabled,-Dlua=disabled,luajit"
PACKAGECONFIG[lzma] = ",,xz"
2021-09-01 22:38:56 +02:00
PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng"
2023-11-08 09:30:49 +01:00
PACKAGECONFIG[python] = "-Dpython=enabled,-Dpython=disabled,,python3-core python3-pygobject"
PACKAGECONFIG[rsvg] = ",,librsvg"
PACKAGECONFIG[tiff] = ",,tiff"
2022-02-15 03:25:55 +01:00
PACKAGECONFIG[vector-icons] = "-Dvector-icons=true,-Dvector-icons=false,librsvg shared-mime-info"
2021-09-01 22:38:56 +02:00
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 ?= " \
2021-09-02 01:44:38 +02:00
${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
aa \
alsa \
bzip2 \
cairo-pdf \
ghostscript \
2021-09-01 22:38:56 +02:00
gudev \
jpeg \
jpeg2000 \
2021-10-21 12:05:23 +02:00
jpeg-xl \
lzma \
mng \
python \
rsvg \
tiff \
2022-02-15 03:25:55 +01:00
vector-icons \
webp \
zlib \
"
2023-11-08 09:30:49 +01:00
FILES:${PN} += "${datadir}/metainfo"
2021-09-02 01:44:38 +02:00
EXTRA_OEMESON += " \
-Dshmem-type=posix \
2021-10-21 07:42:04 +02:00
-Dlinux-input=enabled \
--buildtype release \
"