mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
glew: add metafile support, cleanups, thanks to cowbalt
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d9e1a6b423
commit
74eee2dc6c
@ -2,17 +2,8 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build libX11
|
||||
$SCRIPTS/build libXext
|
||||
$SCRIPTS/build libXi
|
||||
$SCRIPTS/build libXmu
|
||||
$SCRIPTS/build Mesa
|
||||
|
||||
cd $PKG_BUILD
|
||||
make SYSTEM=linux \
|
||||
GLEW_DEST=/usr \
|
||||
CC=$TARGET_CC \
|
||||
make SYSTEM=linux GLEW_DEST=/usr CC=$TARGET_CC
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||
cp -PR lib/* $SYSROOT_PREFIX/usr/lib
|
||||
|
16
packages/graphics/glew/meta
Normal file
16
packages/graphics/glew/meta
Normal file
@ -0,0 +1,16 @@
|
||||
PKG_NAME="glew"
|
||||
PKG_VERSION="1.5.6"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://glew.sourceforge.net/"
|
||||
PKG_URL="http://downloads.sourceforge.net/project/glew/glew/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS="libX11 libXext libXi libXmu Mesa"
|
||||
PKG_BUILD_DEPENDS="toolchain libX11 libXext libXi libXmu Mesa"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="graphics"
|
||||
PKG_SHORTDESC="glew: The OpenGL Extension Wrangler Library"
|
||||
PKG_LONGDESC="The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
http://downloads.sourceforge.net/project/glew/glew/1.5.6/glew-1.5.6.tgz
|
Loading…
x
Reference in New Issue
Block a user