mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +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_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Dbuiltin_loaders=all \
|
||||
-Dgtk_doc=false \
|
||||
-Ddocs=false \
|
||||
-Dintrospection=disabled \
|
||||
-Dman=false \
|
||||
-Drelocatable=false \
|
||||
-Dinstalled_tests=false"
|
||||
configure_package() {
|
||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET+=" libX11"
|
||||
fi
|
||||
}
|
||||
|
||||
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