mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
add games support, add game supertux
This commit is contained in:
parent
443fd22ad1
commit
540de753b4
40
packages/emulators/SDL_image/build
Executable file
40
packages/emulators/SDL_image/build
Executable file
@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build SDL
|
||||
$SCRIPTS/build jpeg
|
||||
$SCRIPTS/build libexif
|
||||
$SCRIPTS/build libungif
|
||||
$SCRIPTS/build libpng
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-bmp \
|
||||
--enable-gif \
|
||||
--enable-jpg \
|
||||
--enable-jpg-shared \
|
||||
--disable-lbm \
|
||||
--enable-pcx \
|
||||
--enable-png \
|
||||
--enable-png-shared \
|
||||
--enable-pnm \
|
||||
--enable-tga \
|
||||
--disable-tif \
|
||||
--disable-tif-shared \
|
||||
--enable-xcf \
|
||||
--enable-xpm \
|
||||
--disable-xv \
|
||||
|
||||
make
|
||||
|
||||
$STRIP .libs/*.so*
|
||||
|
||||
$MAKEINSTALL
|
13
packages/emulators/SDL_image/install
Executable file
13
packages/emulators/SDL_image/install
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install SDL
|
||||
$SCRIPTS/install jpeg
|
||||
$SCRIPTS/install libexif
|
||||
#static $SCRIPTS/install libungif
|
||||
$SCRIPTS/install libpng
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $BUILD/$1*/.libs/*.so* $INSTALL/usr/lib
|
||||
|
1
packages/emulators/SDL_image/url
Normal file
1
packages/emulators/SDL_image/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.7.tar.gz
|
34
packages/emulators/SDL_mixer/build
Executable file
34
packages/emulators/SDL_mixer/build
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build SDL
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-music-cmd \
|
||||
--enable-music-wave \
|
||||
--disable-music-libmikmod \
|
||||
--disable-music-mod \
|
||||
--disable-music-midi \
|
||||
--disable-music-timidity-midi \
|
||||
--enable-music-native-midi \
|
||||
--enable-music-native-midi-gpl \
|
||||
--disable-music-ogg \
|
||||
--disable-music-ogg-shared \
|
||||
--disable-music-mp3 \
|
||||
--disable-smpegtest \
|
||||
--enable-music-mp3-shared \
|
||||
|
||||
make
|
||||
|
||||
$STRIP build/.libs/*.so*
|
||||
|
||||
$MAKEINSTALL
|
8
packages/emulators/SDL_mixer/install
Executable file
8
packages/emulators/SDL_mixer/install
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install SDL
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $BUILD/$1*/build/.libs/*.so* $INSTALL/usr/lib
|
1
packages/emulators/SDL_mixer/url
Normal file
1
packages/emulators/SDL_mixer/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.8.tar.gz
|
5
packages/games/install
Executable file
5
packages/games/install
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install supertux
|
21
packages/games/supertux/build
Executable file
21
packages/games/supertux/build
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build SDL
|
||||
$SCRIPTS/build SDL_image
|
||||
$SCRIPTS/build SDL_mixer
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
|
||||
make
|
||||
|
||||
$STRIP src/$1
|
15
packages/games/supertux/install
Executable file
15
packages/games/supertux/install
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install SDL
|
||||
$SCRIPTS/install SDL_image
|
||||
$SCRIPTS/install SDL_mixer
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $BUILD/$1*/src/supertux $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/share/supertux
|
||||
cp -a $BUILD/$1*/data/* $INSTALL/usr/share/supertux
|
||||
rm $INSTALL/usr/share/supertux/Makefile*
|
||||
cp $BUILD/$1*/supertux.png $INSTALL/usr/share/supertux
|
12
packages/games/supertux/patches/10_compile-fix.diff
Normal file
12
packages/games/supertux/patches/10_compile-fix.diff
Normal file
@ -0,0 +1,12 @@
|
||||
# Patch from Debian by Martin Michlmayr <tbm@cyrius.com>
|
||||
--- supertux-0.1.3.orig/src/menu.h
|
||||
+++ supertux-0.1.3/src/menu.h
|
||||
@@ -207,7 +207,7 @@
|
||||
|
||||
bool isToggled(int id);
|
||||
|
||||
- void Menu::get_controlfield_key_into_input(MenuItem *item);
|
||||
+ void get_controlfield_key_into_input(MenuItem *item);
|
||||
|
||||
void draw ();
|
||||
void draw_item(int index, int menu_width, int menu_height);
|
1
packages/games/supertux/url
Normal file
1
packages/games/supertux/url
Normal file
@ -0,0 +1 @@
|
||||
http://download.berlios.de/supertux/supertux-0.1.3.tar.bz2
|
21
packages/graphics/libexif/build
Executable file
21
packages/graphics/libexif/build
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-nls \
|
||||
|
||||
make -C libexif
|
||||
|
||||
$STRIP libexif/.libs/*.so*
|
||||
|
||||
$MAKEINSTALL -C libexif
|
6
packages/graphics/libexif/install
Executable file
6
packages/graphics/libexif/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $BUILD/$1*/libexif/.libs/libexif.so* $INSTALL/usr/lib
|
1
packages/graphics/libexif/url
Normal file
1
packages/graphics/libexif/url
Normal file
@ -0,0 +1 @@
|
||||
http://prdownloads.sourceforge.net/libexif/libexif-0.6.17.tar.gz
|
19
packages/graphics/libungif/build
Executable file
19
packages/graphics/libungif/build
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--without-x \
|
||||
|
||||
make -C lib
|
||||
|
||||
$MAKEINSTALL -C lib
|
1
packages/graphics/libungif/url
Normal file
1
packages/graphics/libungif/url
Normal file
@ -0,0 +1 @@
|
||||
http://prdownloads.sourceforge.net/giflib/libungif-4.1.4.tar.bz2
|
@ -66,7 +66,7 @@ case "$2" in
|
||||
# fi
|
||||
|
||||
[ "$EMULATORS" = yes ] && $SCRIPTS/install emulators
|
||||
#[ "$GAMES" = yes ] && $SCRIPTS/install games $1
|
||||
[ "$GAMES" = yes ] && $SCRIPTS/install games
|
||||
#[ "$GAMES" = yes ] && $SCRIPTS/install pygame $1
|
||||
#[ "$LCD4LINUX" = yes ] && $SCRIPTS/install lcd4linux $1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user