2021-09-01 18:02:56 +02:00
|
|
|
SUMMARY = "The GIMP is the GNU Image Manipulation Program"
|
|
|
|
HOMEPAGE = "http://www.gimp.org"
|
|
|
|
SECTION = "graphics"
|
2022-03-04 14:58:29 +01:00
|
|
|
LICENSE = "GPL-3.0-only"
|
2021-09-01 18:02:56 +02:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
|
|
|
|
|
2021-09-01 22:38:56 +02:00
|
|
|
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
|
|
|
|
2021-09-01 18:02:56 +02:00
|
|
|
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 \
|
2021-09-01 18:02:56 +02:00
|
|
|
libmypaint \
|
2022-01-06 21:54:38 +01:00
|
|
|
libpng \
|
2022-05-28 08:40:16 +02:00
|
|
|
libxmu \
|
2021-09-01 18:02:56 +02:00
|
|
|
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"
|
2021-09-01 18:02:56 +02:00
|
|
|
|
2023-11-12 12:35:52 +01:00
|
|
|
inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gi-docgen features_check gobject-introspection vala
|
2022-01-06 21:54:38 +01:00
|
|
|
GIR_MESON_OPTION = ''
|
2023-11-08 09:30:49 +01:00
|
|
|
VALA_MESON_OPTION = "vala"
|
|
|
|
VALA_MESON_ENABLE_FLAG = "enabled"
|
|
|
|
VALA_MESON_DISABLE_FLAG = "disabled"
|
2023-11-12 12:35:52 +01:00
|
|
|
GIDOCGEN_MESON_OPTION = "gi-docgen"
|
|
|
|
GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
|
|
|
|
GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
|
2021-09-01 18:02:56 +02:00
|
|
|
|
|
|
|
SRC_URI = " \
|
2021-11-23 17:14:00 +01:00
|
|
|
git://github.com/GNOME/gimp.git;protocol=https;branch=master \
|
2021-09-01 18:02:56 +02:00
|
|
|
"
|
2021-09-02 01:44:38 +02:00
|
|
|
|
2021-09-01 18:02:56 +02:00
|
|
|
S = "${WORKDIR}/git"
|
2023-11-08 09:30:49 +01:00
|
|
|
SRCREV = "d3c5536ac85bb84e1beaba68aea12cf28062e08c"
|
|
|
|
PV = "2.99.16"
|
2021-09-01 18:02:56 +02:00
|
|
|
|
2021-09-01 23:15:10 +02:00
|
|
|
PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib"
|
2021-09-01 22:38:56 +02:00
|
|
|
PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib"
|
2021-09-01 23:15:10 +02:00
|
|
|
PACKAGECONFIG[appdata-test] = "-Dappdata-test=enabled,-Dappdata-test=disabled,appstream-glib-native"
|
2021-09-01 18:02:56 +02:00
|
|
|
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"
|
2021-09-01 18:02:56 +02:00
|
|
|
PACKAGECONFIG[enable-console-bin] = "-Denable-console-bin=true,-Denable-console-bin=false"
|
2023-11-12 12:35:52 +01:00
|
|
|
PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript,ghostscript"
|
2021-09-01 22:38:56 +02:00
|
|
|
PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
|
2021-11-23 17:14:00 +01:00
|
|
|
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"
|
2021-09-01 18:02:56 +02:00
|
|
|
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"
|
2021-09-01 18:02:56 +02:00
|
|
|
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"
|
2021-09-01 18:02:56 +02:00
|
|
|
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"
|
2022-05-28 08:40:16 +02:00
|
|
|
PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxext libxfixes"
|
2021-09-01 18:02:56 +02:00
|
|
|
PACKAGECONFIG[zlib] = ",,zlib"
|
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
2021-09-02 01:44:38 +02:00
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
|
2021-09-01 23:15:10 +02:00
|
|
|
aa \
|
2021-09-01 18:02:56 +02:00
|
|
|
alsa \
|
|
|
|
bzip2 \
|
|
|
|
cairo-pdf \
|
2023-11-12 12:35:52 +01:00
|
|
|
ghostscript \
|
2021-09-01 22:38:56 +02:00
|
|
|
gudev \
|
2021-09-01 18:02:56 +02:00
|
|
|
jpeg \
|
|
|
|
jpeg2000 \
|
2021-10-21 12:05:23 +02:00
|
|
|
jpeg-xl \
|
2021-09-01 18:02:56 +02:00
|
|
|
lzma \
|
|
|
|
mng \
|
|
|
|
python \
|
|
|
|
rsvg \
|
|
|
|
tiff \
|
2022-02-15 03:25:55 +01:00
|
|
|
vector-icons \
|
2021-09-01 18:02:56 +02:00
|
|
|
webp \
|
|
|
|
zlib \
|
|
|
|
"
|
|
|
|
|
2023-11-08 09:30:49 +01:00
|
|
|
FILES:${PN} += "${datadir}/metainfo"
|
2021-09-01 18:02:56 +02:00
|
|
|
|
2021-09-02 01:44:38 +02:00
|
|
|
EXTRA_OEMESON += " \
|
2021-09-01 18:02:56 +02:00
|
|
|
-Dshmem-type=posix \
|
2021-10-21 07:42:04 +02:00
|
|
|
-Dlinux-input=enabled \
|
2022-01-06 21:54:38 +01:00
|
|
|
-Dcan-crosscompile-gir=true \
|
2021-09-01 18:02:56 +02:00
|
|
|
--buildtype release \
|
|
|
|
"
|