2021-09-01 18:02:56 +02:00
|
|
|
SUMMARY = "The GIMP is the GNU Image Manipulation Program"
|
|
|
|
HOMEPAGE = "http://www.gimp.org"
|
|
|
|
SECTION = "graphics"
|
|
|
|
LICENSE = "GPLv3"
|
|
|
|
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 \
|
|
|
|
intltool-native \
|
|
|
|
json-glib \
|
|
|
|
lcms \
|
|
|
|
libarchive \
|
2021-09-02 01:44:38 +02:00
|
|
|
libexif \
|
2021-09-01 18:02:56 +02:00
|
|
|
libmypaint \
|
|
|
|
libxslt-native \
|
|
|
|
mypaint-brushes-1.0 \
|
|
|
|
pango \
|
|
|
|
poppler \
|
|
|
|
poppler-data \
|
|
|
|
"
|
|
|
|
|
|
|
|
DEPENDS:append:libc-musl = " libexecinfo"
|
2021-09-02 01:44:38 +02:00
|
|
|
RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking"
|
2021-09-01 18:02:56 +02:00
|
|
|
|
2021-09-02 01:44:38 +02:00
|
|
|
inherit meson gtk-icon-cache mime-xdg pkgconfig features_check gobject-introspection
|
2021-09-01 18:02:56 +02:00
|
|
|
|
|
|
|
SRC_URI = " \
|
|
|
|
git://github.com/GNOME/gimp.git;protocol=https \
|
|
|
|
file://0001-meson-make-gir-buildable.patch \
|
|
|
|
"
|
2021-09-02 01:44:38 +02:00
|
|
|
|
2021-09-01 18:02:56 +02:00
|
|
|
S = "${WORKDIR}/git"
|
2021-10-21 07:42:04 +02:00
|
|
|
SRCREV = "GIMP_2_99_8"
|
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"
|
|
|
|
PACKAGECONFIG[email] = ",,,xdg-utils"
|
2021-09-01 18:02:56 +02:00
|
|
|
PACKAGECONFIG[enable-console-bin] = "-Denable-console-bin=true,-Denable-console-bin=false"
|
2021-09-01 22:38:56 +02:00
|
|
|
PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript"
|
|
|
|
PACKAGECONFIG[gtk-doc] = "-Dgtk-doc=true,-Dgtk-doc=false,gtk-doc-native"
|
|
|
|
PACKAGECONFIG[gtk-doc-app] = "-Dgtk-doc-app=true,-Dgtk-doc-app=false,gtk-doc-native"
|
|
|
|
PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
|
2021-09-01 18:02:56 +02:00
|
|
|
PACKAGECONFIG[javascript] = "-Djavascript=true,-Djavascript=false,,openjre-8"
|
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"
|
2021-09-01 18:02:56 +02:00
|
|
|
PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lgi"
|
|
|
|
PACKAGECONFIG[lzma] = ",,xz"
|
2021-09-01 22:38:56 +02:00
|
|
|
PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng"
|
|
|
|
PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
|
2021-09-01 18:02:56 +02:00
|
|
|
PACKAGECONFIG[python] = "-Dpython=true,-Dpython=false,,python3 python3-pygobject"
|
|
|
|
PACKAGECONFIG[rsvg] = ",,librsvg"
|
|
|
|
PACKAGECONFIG[tiff] = ",,tiff"
|
|
|
|
PACKAGECONFIG[vala-plugins] = "-Dvala-plugins=enabled,-Dvala-plugins=disabled"
|
2021-10-21 07:42:04 +02:00
|
|
|
PACKAGECONFIG[vec-icons] = "-Dvec-icons=true,-Dvec-icons=false,librsvg shared-mime-info"
|
2021-09-01 22:38:56 +02:00
|
|
|
PACKAGECONFIG[webkit] = "-Dwebkit=enabled,-Dwebkit=disabled,webkitgtk"
|
|
|
|
PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
|
|
|
|
PACKAGECONFIG[xcursor] = "-Dxcursor=enabled,-Dxcursor=disabled,libxcursor"
|
2021-10-21 07:42:04 +02:00
|
|
|
PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxmu 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 \
|
2021-09-01 22:38:56 +02:00
|
|
|
gtk-doc-app \
|
|
|
|
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
|
|
|
lua \
|
|
|
|
lzma \
|
|
|
|
mng \
|
|
|
|
png \
|
|
|
|
python \
|
|
|
|
rsvg \
|
|
|
|
tiff \
|
2021-10-21 07:42:04 +02:00
|
|
|
vec-icons \
|
2021-09-01 18:02:56 +02:00
|
|
|
webp \
|
|
|
|
zlib \
|
|
|
|
"
|
|
|
|
|
|
|
|
FILES:${PN} += " \
|
2021-09-01 22:38:56 +02:00
|
|
|
${datadir}/metainfo \
|
|
|
|
${datadir}/gir-1.0 \
|
|
|
|
${datadir}/appdata \
|
2021-09-01 18:02:56 +02:00
|
|
|
${libdir}/girepository-1.0 \
|
|
|
|
"
|
|
|
|
|
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 \
|
2021-09-01 18:02:56 +02:00
|
|
|
--buildtype release \
|
|
|
|
"
|
|
|
|
|