mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-05 17:07:49 +00:00
gdk-pixbuf: reintroduce conditional libX11 to support chrome
update to conditionally build the /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders when building with libX11 for DISPLAYSERVER = x11. These are required for the chrome addon. Co-authored-by: mglae <mglmail@arcor.de>
This commit is contained in:
parent
aa1fe591c2
commit
6c90b4fa13
@ -12,10 +12,21 @@ PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info
|
|||||||
PKG_DEPENDS_CONFIG="shared-mime-info"
|
PKG_DEPENDS_CONFIG="shared-mime-info"
|
||||||
PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
|
PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
|
||||||
|
|
||||||
PKG_MESON_OPTS_TARGET="-Dbuiltin_loaders=all \
|
configure_package() {
|
||||||
-Dgtk_doc=false \
|
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||||
-Ddocs=false \
|
PKG_DEPENDS_TARGET+=" libX11"
|
||||||
-Dintrospection=disabled \
|
fi
|
||||||
-Dman=false \
|
}
|
||||||
-Drelocatable=false \
|
|
||||||
-Dinstalled_tests=false"
|
pre_configure_target() {
|
||||||
|
PKG_MESON_OPTS_TARGET="-Dgtk_doc=false \
|
||||||
|
-Ddocs=false \
|
||||||
|
-Dintrospection=disabled \
|
||||||
|
-Dman=false \
|
||||||
|
-Drelocatable=false \
|
||||||
|
-Dinstalled_tests=false"
|
||||||
|
|
||||||
|
if [ "${DISPLAYSERVER}" != "x11" ]; then
|
||||||
|
PKG_MESON_OPTS_TARGET+=" -Dbuiltin_loaders=all"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user