gimp: cleanup dependencies

This commit is contained in:
Markus Volk 2025-01-05 17:30:08 +01:00
parent cf629bb066
commit 06f725482c

View File

@ -11,20 +11,25 @@ DEPENDS = " \
bzip2 \ bzip2 \
bison-native \ bison-native \
cairo \ cairo \
dbus-glib \
fontconfig \ fontconfig \
freetype \ freetype \
gdk-pixbuf-native \ gdk-pixbuf-native \
gegl \ gegl \
gexiv2 \ gexiv2 \
glib-2.0 \
glib-2.0-native \
gtk+3 \ gtk+3 \
harfbuzz \ harfbuzz \
iso-codes \
jpeg \
json-glib \ json-glib \
lcms \ lcms \
libarchive \ libarchive \
libexif \ libexif \
libmypaint \ libmypaint \
libpng \ libpng \
librsvg \
librsvg-native \
libxmu \ libxmu \
libxslt-native \ libxslt-native \
mypaint-brushes-1.0 \ mypaint-brushes-1.0 \
@ -32,6 +37,9 @@ DEPENDS = " \
poppler \ poppler \
poppler-data \ poppler-data \
python3-pygobject-native \ python3-pygobject-native \
tiff \
xz \
zlib \
" "
DEPENDS:append:libc-musl = " libexecinfo" DEPENDS:append:libc-musl = " libexecinfo"
@ -61,43 +69,33 @@ PACKAGECONFIG[cairo-pdf] = "-Dcairo-pdf=enabled,-Dcairo-pdf=disabled"
PACKAGECONFIG[check-update] = "-Dcheck-update=yes,-Dcheck-update=no" PACKAGECONFIG[check-update] = "-Dcheck-update=yes,-Dcheck-update=no"
PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript,ghostscript" PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript,ghostscript"
PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev" PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
PACKAGECONFIG[iso-codes] = ",,iso-codes"
PACKAGECONFIG[javascript] = "-Djavascript=enabled,-Djavascript=disabled,,gjs" PACKAGECONFIG[javascript] = "-Djavascript=enabled,-Djavascript=disabled,,gjs"
PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper" PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper"
PACKAGECONFIG[jpeg] = ",,jpeg" PACKAGECONFIG[jpeg-xl] = "-Djpeg-xl=enabled,-Djpeg-xl=disabled,libjxl"
PACKAGECONFIG[jpeg-xl] = ",,libjxl" PACKAGECONFIG[libunwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind"
PACKAGECONFIG[libunwind] = ",,libunwind" PACKAGECONFIG[libbacktrace] = "-Dlibbacktrace=true,-Dlibbacktrace=false,libbacktrace"
PACKAGECONFIG[libbacktrace] = ",,libbacktrace"
PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lua-lgi" PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lua-lgi"
PACKAGECONFIG[lzma] = ",,xz"
PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng" PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng"
PACKAGECONFIG[rsvg] = ",,librsvg-native librsvg" PACKAGECONFIG[openmp] = "-Dopenmp=enabled,-Dopenmp=disabled,gcc-runtime"
PACKAGECONFIG[tiff] = ",,tiff"
PACKAGECONFIG[vector-icons] = "-Dvector-icons=true,-Dvector-icons=false,librsvg shared-mime-info" PACKAGECONFIG[vector-icons] = "-Dvector-icons=true,-Dvector-icons=false,librsvg shared-mime-info"
PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
PACKAGECONFIG[xcursor] = "-Dxcursor=enabled,-Dxcursor=disabled,libxcursor" PACKAGECONFIG[xcursor] = "-Dxcursor=enabled,-Dxcursor=disabled,libxcursor"
PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxext libxfixes" PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxext libxfixes"
PACKAGECONFIG[zlib] = ",,zlib"
PACKAGECONFIG ?= " \ PACKAGECONFIG ?= " \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcursor', '', d)} \
aa \ aa \
alsa \ alsa \
cairo-pdf \ cairo-pdf \
ghostscript \ ghostscript \
gudev \ gudev \
javascript \ javascript \
jpeg \
jpeg2000 \ jpeg2000 \
jpeg-xl \ jpeg-xl \
lua \ lua \
lzma \
mng \ mng \
rsvg \
tiff \
vector-icons \ vector-icons \
webp \ webp \
zlib \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcursor', '', d)} \
" "
PACKAGECONFIG:remove:riscv32 = "lua" PACKAGECONFIG:remove:riscv32 = "lua"