mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
waylandpp: added host build & OpenGL/OpenGLES dependencies
This commit is contained in:
parent
af89c0fb66
commit
302c3c7f37
@ -7,9 +7,18 @@ PKG_SHA256="e7f486165d3568c3558b5c7099133aea4a285b82820eeafad329fc10271c654d"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/NilsBrause/waylandpp"
|
||||
PKG_URL="https://github.com/NilsBrause/waylandpp/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="toolchain:host pugixml:host"
|
||||
PKG_DEPENDS_TARGET="toolchain pugixml:host waylandpp:host"
|
||||
PKG_LONGDESC="Wayland C++ bindings"
|
||||
|
||||
configure_package() {
|
||||
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
||||
elif [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
}
|
||||
|
||||
PKG_CMAKE_OPTS_HOST="-DBUILD_SCANNER=ON \
|
||||
-DBUILD_LIBRARIES=OFF"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user