commit
8a3f4d21d5
2 changed files with 29 additions and 0 deletions
22
packages/graphics/mesa-demos/package.mk
Normal file
22
packages/graphics/mesa-demos/package.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="mesa-demos"
|
||||
PKG_VERSION="8.5.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.mesa3d.org/"
|
||||
PKG_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11 mesa glu glew"
|
||||
PKG_LONGDESC="Mesa 3D demos - installed are the well known glxinfo and glxgears."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--without-glut --enable-autotools"
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -P src/xdemos/glxdemo ${INSTALL}/usr/bin
|
||||
cp -P src/xdemos/glxgears ${INSTALL}/usr/bin
|
||||
cp -P src/xdemos/glxinfo ${INSTALL}/usr/bin
|
||||
}
|
|
@ -34,6 +34,13 @@ PKG_COMPAT=""
|
|||
|
||||
PKG_TOOLS="i2c-tools rclone jslisten evtest tailscale"
|
||||
|
||||
### Tools for mainline devices
|
||||
case "${DEVICE}" in
|
||||
handheld|RG552)
|
||||
PKG_TOOLS+=" mesa-demos"
|
||||
;;
|
||||
esac
|
||||
|
||||
PKG_MULTIMEDIA="ffmpeg mpv vlc"
|
||||
|
||||
PKG_EXPERIMENTAL=""
|
||||
|
|
Loading…
Reference in a new issue