Work on splitting OpenGL and OpenGL ES.
This commit is contained in:
parent
779c5eec5f
commit
7abca77f4a
6 changed files with 33 additions and 10 deletions
|
@ -7,12 +7,19 @@ PKG_VERSION="2.0.20"
|
|||
PKG_SHA256="c56aba1d7b5b0e7e999e4a7698c70b63a3394ff9704b5f6e1c57e0c16f04dd06"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://www.libsdl.org/"
|
||||
PKG_URL="https://www.libsdl.org/release/SDL2-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib systemd dbus ${OPENGLES} pulseaudio libdrm"
|
||||
PKG_URL="https://www.libsdl.org/release/SDL2-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib systemd dbus pulseaudio libdrm"
|
||||
PKG_LONGDESC="Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware."
|
||||
PKG_DEPENDS_HOST="toolchain:host distutilscross:host"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "arm" ] || [ "${ARCH}" = "aarch64" ]
|
||||
then
|
||||
|
|
|
@ -17,10 +17,10 @@ configure_package() {
|
|||
}
|
||||
|
||||
pre_configure_target(){
|
||||
PKG_MESON_OPTS_TARGET="-Dgles1=false"
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = "no" ]; then
|
||||
PKG_MESON_OPTS_TARGET+=" -Dgles2=false"
|
||||
else
|
||||
PKG_MESON_OPTS_TARGET+=" -Dgles1=true -Dgles2=true"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -7,13 +7,21 @@ PKG_ARCH="any"
|
|||
PKG_LICENSE="apache2"
|
||||
PKG_SITE=""
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_TARGET="toolchain ${OPENGLES}"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SHORTDESC="JELOS Meta Package"
|
||||
PKG_LONGDESC="JELOS Meta Package"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_TOOLCHAIN="make"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
PKG_BASEOS="plymouth-lite grep wget libjpeg-turbo util-linux xmlstarlet bluetool gnupg gzip patchelf \
|
||||
imagemagick terminus-font vim bash pyudev dialog six git dbus-python coreutils miniupnpc \
|
||||
nss-mdns avahi alsa-ucm-conf MC fbgrab modules"
|
||||
|
|
|
@ -6,11 +6,19 @@ PKG_VERSION="6820fd6e036e33f3d56b036978e6ec3c870c6b28"
|
|||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/lethal-guitar/TvTextViewer"
|
||||
PKG_URL="$PKG_SITE.git"
|
||||
PKG_DEPENDS_TARGET="toolchain ${OPENGLES} SDL2"
|
||||
PKG_DEPENDS_TARGET="toolchain SDL2"
|
||||
PKG_SHORTDESC="Full-screen text viewer tool with gamepad controls"
|
||||
PKG_TOOLCHAIN="make"
|
||||
GET_HANDLER_SUPPORT="git"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
pre_patch() {
|
||||
find $(echo "${PKG_BUILD}" | cut -f1 -d\ ) -type f -exec dos2unix -q {} \;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ PKG_BUILD_FLAGS="-gold"
|
|||
GET_HANDLER_SUPPORT="git"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu"
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
OPENGL="mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (mesa / no)
|
||||
OPENGLES="mesa"
|
||||
OPENGLES="no"
|
||||
|
||||
# Vulkan implementation to use (vulkan-loader / no)
|
||||
VULKAN="vulkan-loader"
|
||||
|
@ -17,10 +17,10 @@
|
|||
VULKAN_SUPPORT="yes"
|
||||
|
||||
# Displayserver to use (weston / x11 / no)
|
||||
DISPLAYSERVER="weston"
|
||||
DISPLAYSERVER="x11"
|
||||
|
||||
# Windowmanager to use (fluxbox / weston / no)
|
||||
WINDOWMANAGER="weston"
|
||||
WINDOWMANAGER="fluxbox"
|
||||
|
||||
# Mesa 3D Graphic drivers to use (all / crocus,i915,iris,r300,r600,radeonsi,vmware,virtio)
|
||||
# Space separated list is supported,
|
||||
|
|
Loading…
Reference in a new issue