mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
Merge pull request #5313 from ToKe79/libreelec-master/fixes
cairo: set options based on OPENGL/ES
This commit is contained in:
commit
14ef0e70e4
@ -74,18 +74,27 @@ pre_configure_target() {
|
||||
--x-libraries="${SYSROOT_PREFIX}/usr/lib" \
|
||||
--enable-xlib \
|
||||
--enable-xlib-xrender \
|
||||
--enable-gl \
|
||||
--enable-glx \
|
||||
--disable-glesv2 \
|
||||
--disable-egl \
|
||||
--with-x"
|
||||
else
|
||||
else
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --disable-xlib \
|
||||
--disable-xlib-xrender \
|
||||
--disable-gl \
|
||||
--disable-glx \
|
||||
--enable-glesv2 \
|
||||
--enable-egl \
|
||||
--without-x"
|
||||
fi
|
||||
|
||||
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --enable-gl \
|
||||
--enable-glx \
|
||||
--disable-glesv2 \
|
||||
--disable-egl"
|
||||
elif [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --disable-gl \
|
||||
--disable-glx \
|
||||
--enable-glesv2 \
|
||||
--enable-egl"
|
||||
else
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --disable-gl \
|
||||
--disable-glx \
|
||||
--disable-glesv2 \
|
||||
--disable-egl"
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user