mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
add driconf, add Mesa-XDemos, working on Games-support, various fixes
This commit is contained in:
parent
e1f0c4501b
commit
7743c35343
@ -94,7 +94,7 @@ EXTRAFIRMWARES=no
|
|||||||
EMULATORS=yes
|
EMULATORS=yes
|
||||||
|
|
||||||
# Support for games (yes/no)
|
# Support for games (yes/no)
|
||||||
GAMES=no
|
GAMES=yes
|
||||||
|
|
||||||
# Network Support (Samba shares and FTP Server) (yes/no)
|
# Network Support (Samba shares and FTP Server) (yes/no)
|
||||||
NETWORK=yes
|
NETWORK=yes
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
. config/options
|
. config/options
|
||||||
|
$SCRIPTS/install openal-soft
|
||||||
|
$SCRIPTS/install SDL_image
|
||||||
|
$SCRIPTS/install physfs
|
||||||
|
|
||||||
$SCRIPTS/install supertux
|
#$SCRIPTS/install supertux
|
||||||
|
@ -16,7 +16,7 @@ mkdir -p .build
|
|||||||
|
|
||||||
cd .build
|
cd .build
|
||||||
|
|
||||||
cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr \
|
cmake -D CMAKE_INSTALL_PREFIX:PATH=./ \
|
||||||
-D CMAKE_FIND_ROOT_PATH:PATH=$SYSROOT_PREFIX \
|
-D CMAKE_FIND_ROOT_PATH:PATH=$SYSROOT_PREFIX \
|
||||||
..
|
..
|
||||||
|
|
||||||
|
@ -45,6 +45,8 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
|||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
make -C progs/xdemos
|
||||||
|
|
||||||
# strip libmesa
|
# strip libmesa
|
||||||
#$STRIP src/mesa/libmesa.so*
|
#$STRIP src/mesa/libmesa.so*
|
||||||
|
|
||||||
|
@ -19,3 +19,6 @@ cp -PR $BUILD/$1*/lib/libGL.so* $INSTALL/usr/lib
|
|||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/dri
|
mkdir -p $INSTALL/usr/lib/dri
|
||||||
cp -PR $BUILD/$1*/lib/*_dri.so $INSTALL/usr/lib/dri
|
cp -PR $BUILD/$1*/lib/*_dri.so $INSTALL/usr/lib/dri
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/bin
|
||||||
|
cp -PR $BUILD/$1*/progs/xdemos/{corender,glsync,glthreads,glxcontexts,glxdemo,glxgears,glxgears_fbconfig,glxgears_pixmap,glxheads,glxinfo,glxpbdemo,glxpixmap,glxsnoop,glxswapcontrol,manywin,offset,overlay,pbdemo,pbinfo,sharedtex,sharedtex_mt,texture_from_pixmap,wincopy,xfont,xrotfontdemo} $INSTALL/usr/bin
|
||||||
|
18
packages/graphics/driconf/build
Executable file
18
packages/graphics/driconf/build
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build Python
|
||||||
|
$SCRIPTS/build pygtk
|
||||||
|
|
||||||
|
. config/options.python
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
|
||||||
|
sed -i -e "s%/usr/local%/usr%" setup.cfg
|
||||||
|
|
||||||
|
$PYTHON setup.py install -O1 --root ./.install
|
||||||
|
|
||||||
|
find .install -name "*.py" -exec rm -rf "{}" ";"
|
||||||
|
find .install -name "*.pyo" -exec rm -rf "{}" ";"
|
12
packages/graphics/driconf/install
Executable file
12
packages/graphics/driconf/install
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install Python
|
||||||
|
$SCRIPTS/install pygtk
|
||||||
|
|
||||||
|
BUILD_DIR=`ls -d $BUILD/$1*`
|
||||||
|
|
||||||
|
. config/options.python
|
||||||
|
|
||||||
|
cp -PR $BUILD_DIR/.install/* $INSTALL
|
1
packages/graphics/driconf/url
Normal file
1
packages/graphics/driconf/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://people.freedesktop.org/~fxkuehl/driconf/driconf-0.9.1.tar.gz
|
@ -74,6 +74,7 @@ case "$2" in
|
|||||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install gdb
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install gdb
|
||||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install mrxvt
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install mrxvt
|
||||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install pciutils
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install pciutils
|
||||||
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install driconf
|
||||||
|
|
||||||
# Devtools for Cooreboot... (not for Release)
|
# Devtools for Cooreboot... (not for Release)
|
||||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install superiotool
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install superiotool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user