mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
libepoxy: don't assume we have OpenGL and X11
This disables glx support if we don't have X11 and allows to use GLES drivers if we have any.
This commit is contained in:
parent
54307b296e
commit
74bd63fa9e
@ -22,14 +22,26 @@
|
|||||||
# in Xorg.log
|
# in Xorg.log
|
||||||
|
|
||||||
PKG_NAME="libepoxy"
|
PKG_NAME="libepoxy"
|
||||||
PKG_VERSION="1.4.2"
|
PKG_VERSION="1.4.3"
|
||||||
PKG_SHA256="bea6fdec3d10939954495da898d872ee836b75c35699074cbf02a64fcb80d5b3"
|
PHG_SHA256="0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://github.com/anholt/libepoxy"
|
PKG_SITE="https://github.com/anholt/libepoxy"
|
||||||
PKG_URL="https://github.com/anholt/libepoxy/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="https://github.com/anholt/libepoxy/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS_TARGET="toolchain $OPENGL"
|
PKG_DEPENDS_TARGET="toolchain"
|
||||||
PKG_SECTION="graphics"
|
PKG_SECTION="graphics"
|
||||||
PKG_SHORTDESC="libepoxy: a library for handling OpenGL function pointer management for you."
|
PKG_SHORTDESC="libepoxy: a library for handling OpenGL function pointer management for you."
|
||||||
PKG_LONGDESC="Epoxy is a library for handling OpenGL function pointer management for you."
|
PKG_LONGDESC="Epoxy is a library for handling OpenGL function pointer management for you."
|
||||||
PKG_TOOLCHAIN="autotools"
|
PKG_TOOLCHAIN="autotools"
|
||||||
|
|
||||||
|
if [ "$OPENGL" != "no" ]; then
|
||||||
|
PKG_DEPENDS_TARGET+=" $OPENGL"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$OPENGLES" != "no" ]; then
|
||||||
|
PKG_DEPENDS_TARGET+=" $OPENGLES"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$DISPLAYSERVER" != "x11" ]; then
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-glx"
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user