mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-13 06:24:28 +02:00
gimp: update
This commit is contained in:
118
recipes-gtk/gimp/gimp_git.bb
Normal file
118
recipes-gtk/gimp/gimp_git.bb
Normal file
@ -0,0 +1,118 @@
|
||||
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"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
|
||||
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 \
|
||||
libexif \
|
||||
libmypaint \
|
||||
libpng \
|
||||
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 features_check gobject-introspection
|
||||
GIR_MESON_OPTION = ''
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/GNOME/gimp.git;protocol=https;branch=master \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "1858d72d032a0bd4ccb26b62f3e8c8310b9f61f6"
|
||||
PV = "2.99.9"
|
||||
|
||||
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[email] = ",,,xdg-utils"
|
||||
PACKAGECONFIG[enable-console-bin] = "-Denable-console-bin=true,-Denable-console-bin=false"
|
||||
PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript"
|
||||
PACKAGECONFIG[gi-docgen] = "-Dgi-docgen=enabled,-Dgi-docgen=disabled,gi-docgen-native"
|
||||
PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
|
||||
PACKAGECONFIG[iso-codes] = ",,iso-codes"
|
||||
PACKAGECONFIG[javascript] = "-Djavascript=true,-Djavascript=false,,openjre-8"
|
||||
PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper"
|
||||
PACKAGECONFIG[jpeg] = ",,jpeg"
|
||||
PACKAGECONFIG[jpeg-xl] = ",,libjxl"
|
||||
PACKAGECONFIG[libunwind] = ",,libunwind"
|
||||
PACKAGECONFIG[libbacktrace] = ",,libbacktrace"
|
||||
PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lgi"
|
||||
PACKAGECONFIG[lzma] = ",,xz"
|
||||
PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng"
|
||||
PACKAGECONFIG[python] = "-Dpython=true,-Dpython=false,,python3 python3-pygobject"
|
||||
PACKAGECONFIG[rsvg] = ",,librsvg"
|
||||
PACKAGECONFIG[tiff] = ",,tiff"
|
||||
PACKAGECONFIG[vala-plugins] = "-Dvala-plugins=enabled,-Dvala-plugins=disabled"
|
||||
PACKAGECONFIG[vec-icons] = "-Dvec-icons=true,-Dvec-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 libxmu libxext libxfixes"
|
||||
PACKAGECONFIG[zlib] = ",,zlib"
|
||||
|
||||
PACKAGECONFIG ?= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
|
||||
aa \
|
||||
alsa \
|
||||
bzip2 \
|
||||
cairo-pdf \
|
||||
gi-docgen \
|
||||
gudev \
|
||||
jpeg \
|
||||
jpeg2000 \
|
||||
jpeg-xl \
|
||||
lua \
|
||||
lzma \
|
||||
mng \
|
||||
python \
|
||||
rsvg \
|
||||
tiff \
|
||||
vec-icons \
|
||||
webp \
|
||||
zlib \
|
||||
"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/metainfo \
|
||||
${datadir}/gir-1.0 \
|
||||
${datadir}/appdata \
|
||||
${libdir}/girepository-1.0 \
|
||||
"
|
||||
|
||||
EXTRA_OEMESON += " \
|
||||
-Dshmem-type=posix \
|
||||
-Dlinux-input=enabled \
|
||||
-Dcan-crosscompile-gir=true \
|
||||
--buildtype release \
|
||||
"
|
||||
|
Reference in New Issue
Block a user