mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
gpu-viv-bin-mx6q: rename to package 'imx-gpu-viv', update to imx-gpu-viv-5.0.11.p4.4, merge package 'gpu-viv-g2d' to package 'imx-gpu-viv'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
5d3f242ed5
commit
ca4344d356
@ -1,85 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="gpu-viv-bin-mx6q"
|
||||
PKG_VERSION="3.10.17-1.0.0-1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.freescale.com"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="graphics"
|
||||
PKG_SHORTDESC="gpu-viv-bin-mx6q: OpenGL-ES and VIVANTE driver for imx6q"
|
||||
PKG_LONGDESC="gpu-viv-bin-mx6q: OpenGL-ES and VIVANTE driver for imx6q"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
|
||||
FLOAT="softfp"
|
||||
elif [ "$TARGET_FLOAT" = "hard" ]; then
|
||||
FLOAT="hardfp"
|
||||
fi
|
||||
|
||||
make_target() {
|
||||
: # nothing to make
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||
cp -PRv $FLOAT/usr/include/* $SYSROOT_PREFIX/usr/include
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||
cp -PRv $FLOAT/usr/lib/libEGL-fb.so \
|
||||
$FLOAT/usr/lib/libEGL.so* \
|
||||
$FLOAT/usr/lib/libGLES_CL.so \
|
||||
$FLOAT/usr/lib/libGLES_CM.so \
|
||||
$FLOAT/usr/lib/libGLESv1_CL.so* \
|
||||
$FLOAT/usr/lib/libGLESv1_CM.so* \
|
||||
$FLOAT/usr/lib/libGLESv2-fb.so \
|
||||
$FLOAT/usr/lib/libGLESv2.so* \
|
||||
$FLOAT/usr/lib/libGAL-fb.so \
|
||||
$FLOAT/usr/lib/libGAL.so* \
|
||||
$FLOAT/usr/lib/libVIVANTE-fb.so \
|
||||
$FLOAT/usr/lib/libVIVANTE.so* \
|
||||
$FLOAT/usr/lib/libOpenCL.so \
|
||||
$SYSROOT_PREFIX/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PRv $FLOAT/usr/lib/libEGL-fb.so \
|
||||
$FLOAT/usr/lib/libEGL.so* \
|
||||
$FLOAT/usr/lib/libGLES_CL.so \
|
||||
$FLOAT/usr/lib/libGLES_CM.so \
|
||||
$FLOAT/usr/lib/libGLESv1_CL.so* \
|
||||
$FLOAT/usr/lib/libGLESv1_CM.so* \
|
||||
$FLOAT/usr/lib/libGLESv2-fb.so \
|
||||
$FLOAT/usr/lib/libGLESv2.so* \
|
||||
$FLOAT/usr/lib/libGLSLC.so* \
|
||||
$FLOAT/usr/lib/libGAL-fb.so \
|
||||
$FLOAT/usr/lib/libGAL.so* \
|
||||
$FLOAT/usr/lib/libVIVANTE-fb.so \
|
||||
$FLOAT/usr/lib/libVIVANTE.so* \
|
||||
$FLOAT/usr/lib/libOpenCL.so \
|
||||
$INSTALL/usr/lib
|
||||
}
|
||||
|
||||
post_install() {
|
||||
enable_service unbind-console.service
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="gpu-viv-g2d"
|
||||
PKG_VERSION="3.10.17-1.0.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.freescale.com"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="graphics"
|
||||
PKG_SHORTDESC="gpu-viv-g2d: Another vivante Binary for performant resizing"
|
||||
PKG_LONGDESC="gpu-viv-g2d: Another vivante Binary for performant resizing"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
: # nothing to make all binary
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr
|
||||
cp -PRv usr/* $SYSROOT_PREFIX/usr
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PRv usr/lib/* $INSTALL/usr/lib
|
||||
}
|
94
packages/graphics/imx-gpu-viv/package.mk
Normal file
94
packages/graphics/imx-gpu-viv/package.mk
Normal file
@ -0,0 +1,94 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="imx-gpu-viv"
|
||||
PKG_VERSION="5.0.11.p4.4"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="arm"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.freescale.com"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="graphics"
|
||||
PKG_SHORTDESC="imx-gpu-viv: OpenGL-ES and VIVANTE driver for imx6q"
|
||||
PKG_LONGDESC="imx-gpu-viv: OpenGL-ES and VIVANTE driver for imx6q"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
|
||||
FLOAT="softfp"
|
||||
elif [ "$TARGET_FLOAT" = "hard" ]; then
|
||||
FLOAT="hardfp"
|
||||
fi
|
||||
|
||||
make_target() {
|
||||
: # nothing to make
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||
cp -PRv $FLOAT/gpu-core/usr/include/* $SYSROOT_PREFIX/usr/include
|
||||
cp -PRv $FLOAT/g2d/usr/include/* $SYSROOT_PREFIX/usr/include
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||
cp -PRv $FLOAT/gpu-core/usr/lib/libEGL-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libEGL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLES_CL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLES_CM.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv1_CL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv1_CM.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv2-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv2.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL_egl.fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL_egl.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libVIVANTE-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libVIVANTE.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libOpenCL.so \
|
||||
$FLOAT/gpu-core/usr/lib/libVSC.so \
|
||||
$FLOAT/g2d/usr/lib/libg2d*.so* \
|
||||
$SYSROOT_PREFIX/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PRv $FLOAT/gpu-core/usr/lib/libEGL-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libEGL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLES_CL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLES_CM.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv1_CL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv1_CM.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv2-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libGLESv2.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGLSLC.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL_egl.fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libGAL_egl.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libVIVANTE-fb.so \
|
||||
$FLOAT/gpu-core/usr/lib/libVIVANTE.so* \
|
||||
$FLOAT/gpu-core/usr/lib/libOpenCL.so \
|
||||
$FLOAT/gpu-core/usr/lib/libVSC.so \
|
||||
$FLOAT/g2d/usr/lib/libg2d*.so* \
|
||||
$INSTALL/usr/lib
|
||||
}
|
||||
|
||||
post_install() {
|
||||
enable_service unbind-console.service
|
||||
}
|
@ -195,7 +195,6 @@ if [ ! "$KODIPLAYER_DRIVER" = default ]; then
|
||||
KODI_CXXFLAGS="$KODI_CXXFLAGS $BCM2835_INCLUDES"
|
||||
elif [ "$KODIPLAYER_DRIVER" = libfslvpuwrap ]; then
|
||||
KODI_CODEC="--enable-codec=imxvpu"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET gpu-viv-g2d"
|
||||
elif [ "$KODIPLAYER_DRIVER" = libamcodec ]; then
|
||||
KODI_CODEC="--enable-codec=amcodec"
|
||||
else
|
||||
|
@ -70,7 +70,7 @@
|
||||
# OpenGL(X) implementation to use (no / mesa)
|
||||
OPENGL="mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / imx-gpu-viv)
|
||||
OPENGLES="no"
|
||||
|
||||
# include uvesafb support (yes / no)
|
||||
|
@ -70,7 +70,7 @@
|
||||
# OpenGL(X) implementation to use (no / mesa)
|
||||
OPENGL="mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / imx-gpu-viv)
|
||||
OPENGLES="no"
|
||||
|
||||
# include uvesafb support (yes / no)
|
||||
|
@ -92,7 +92,7 @@
|
||||
# OpenGL(X) implementation to use (no / mesa)
|
||||
OPENGL="no"
|
||||
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / imx-gpu-viv)
|
||||
OPENGLES="bcm2835-driver"
|
||||
|
||||
# include uvesafb support (yes / no)
|
||||
|
@ -92,7 +92,7 @@
|
||||
# OpenGL(X) implementation to use (no / mesa)
|
||||
OPENGL="no"
|
||||
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / imx-gpu-viv)
|
||||
OPENGLES="bcm2835-driver"
|
||||
|
||||
# include uvesafb support (yes / no)
|
||||
|
@ -90,7 +90,7 @@
|
||||
# OpenGL(X) implementation to use (no / mesa)
|
||||
OPENGL="no"
|
||||
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q / opengl-meson6)
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / imx-gpu-viv / opengl-meson6)
|
||||
OPENGLES="opengl-meson6"
|
||||
|
||||
# include uvesafb support (yes / no)
|
||||
|
@ -3378,8 +3378,8 @@ CONFIG_MXC_IPU=y
|
||||
# MXC Vivante GPU support
|
||||
#
|
||||
CONFIG_MXC_GPU_VIV=y
|
||||
# CONFIG_MXC_GPU_VIV_V5 is not set
|
||||
CONFIG_MXC_GPU_VIV_V4=y
|
||||
CONFIG_MXC_GPU_VIV_V5=y
|
||||
# CONFIG_MXC_GPU_VIV_V4 is not set
|
||||
CONFIG_MXC_IPU_V3=y
|
||||
|
||||
#
|
||||
|
@ -95,8 +95,8 @@
|
||||
# OpenGL(X) implementation to use (no / mesa)
|
||||
OPENGL="no"
|
||||
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
|
||||
OPENGLES="gpu-viv-bin-mx6q"
|
||||
# OpenGL-ES implementation to use (no / bcm2835-driver / imx-gpu-viv)
|
||||
OPENGLES="imx-gpu-viv"
|
||||
|
||||
# include uvesafb support (yes / no)
|
||||
UVESAFB_SUPPORT="no"
|
||||
|
Loading…
x
Reference in New Issue
Block a user