megaglest-source: remove package (will be reworked and included later again)

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-13 00:48:32 +01:00
parent 0136c6ffa3
commit 2a3b585953
3 changed files with 0 additions and 179 deletions

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
# ensure we dont use fast-math optimization.
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-ffast-math||"`
# hack for wrong ar implementatition
unset AR
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr/games/$1 \
--with-sdl-prefix="$ROOT/$TOOLCHAIN" \
--with-vorbis="$SYSROOT_PREFIX/usr" \
--with-ogg="$SYSROOT_PREFIX/usr" \
--with-libOpenAL="$SYSROOT_PREFIX/usr" \
--with-lua="$SYSROOT_PREFIX/usr" \
--with-wx-config=/bin/true \
jam

View File

@ -1,36 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="megaglest-source"
PKG_VERSION="3.3.7.2"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.glest.org"
PKG_URL="$SOURCEFORGE_SRC/megaglest/current_release/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="curl xerces-c $LIBJPEG libpng libvorbis libogg SDL openal-soft libX11 $MESA"
PKG_BUILD_DEPENDS="toolchain lua curl xerces-c $LIBJPEG libpng libvorbis libogg SDL openal-soft libX11 $MESA"
PKG_PRIORITY="optional"
PKG_SECTION="games"
PKG_SHORTDESC="(Game) MegaGlest: a free 3D real-time strategy game"
PKG_LONGDESC="Glest is a free 3D real-time strategy game, where you control the armies of two different factions: Tech, which is mainly composed of warriors and mechanical devices, and Magic, that prefers mages and summoned creatures in the battlefield."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"

View File

@ -1,100 +0,0 @@
diff -Naur megaglest-source-3.3.5/Jamfile megaglest-source-3.3.5.patch/Jamfile
--- megaglest-source-3.3.5/Jamfile 2010-06-26 01:56:31.000000000 +0200
+++ megaglest-source-3.3.5.patch/Jamfile 2010-07-15 07:10:13.563768426 +0200
@@ -83,50 +83,50 @@
ExternalLibs glest.bin : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL LUA JPEG PNG CURL X11 ;
IncludeDir glest.bin : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_DIRS) ;
-#### Editor ####
-if $(WX_AVAILABLE) = "yes" {
- SubDir TOP glest_map_editor ;
-
- GLEST_MAP_DIRS = . ;
- for i in $(GLEST_DIRS) {
- GLEST_MAP_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
- }
-
- Application glest_editor : $(GLEST_MAP_SOURCES) ;
- LinkWith glest_editor : glestlib strefloplib ;
- ExternalLibs glest_editor : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL WX CURL ;
- IncludeDir glest_editor : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_MAP_DIRS) ;
-}
-
-### Viewer ###
-if $(WX_AVAILABLE) = "yes" {
- SubDir TOP g3d_viewer ;
-
- GLEST_VIEWER_DIRS =
- .
-
-;
-
- for i in $(GLEST_VIEWER_DIRS) {
- GLEST_VIEWER_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
- }
-
- Application glest_g3dviewer : $(GLEST_VIEWER_SOURCES) ../glest_game/graphics/unit_particle_type.cpp ../glest_game/graphics/particle_type.cpp ;
- LinkWith glest_g3dviewer : glestlib strefloplib ;
- ExternalLibs glest_g3dviewer : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL LUA JPEG PNG CURL WX X11 ;
- IncludeDir glest_g3dviewer : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_VIEWER_DIRS) ../glest_game/graphics ../glest_game/global ../glest_game/sound ../glest_game/game ;
-}
-
-### Configurator ###
- SubDir TOP configurator ;
-
- GLEST_CONFIG_DIRS = . ;
- for i in $(GLEST_DIRS) {
- GLEST_CONFIG_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
- }
-
- Application glest_configurator : $(GLEST_CONFIG_SOURCES) ;
- LinkWith glest_configurator : glestlib strefloplib ;
- ExternalLibs glest_configurator : SDL GL GLU XERCES WX CURL ;
- IncludeDir glest_configurator : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_CONFIG_DIRS) ;
+# #### Editor ####
+# if $(WX_AVAILABLE) = "yes" {
+# SubDir TOP glest_map_editor ;
+#
+# GLEST_MAP_DIRS = . ;
+# for i in $(GLEST_DIRS) {
+# GLEST_MAP_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
+# }
+#
+# Application glest_editor : $(GLEST_MAP_SOURCES) ;
+# LinkWith glest_editor : glestlib strefloplib ;
+# ExternalLibs glest_editor : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL WX CURL ;
+# IncludeDir glest_editor : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_MAP_DIRS) ;
+# }
+
+# ### Viewer ###
+# if $(WX_AVAILABLE) = "yes" {
+# SubDir TOP g3d_viewer ;
+#
+# GLEST_VIEWER_DIRS =
+# .
+#
+# ;
+#
+# for i in $(GLEST_VIEWER_DIRS) {
+# GLEST_VIEWER_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
+# }
+#
+# Application glest_g3dviewer : $(GLEST_VIEWER_SOURCES) ../glest_game/graphics/unit_particle_type.cpp ../glest_game/graphics/particle_type.cpp ;
+# LinkWith glest_g3dviewer : glestlib strefloplib ;
+# ExternalLibs glest_g3dviewer : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL LUA JPEG PNG CURL WX X11 ;
+# IncludeDir glest_g3dviewer : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_VIEWER_DIRS) ../glest_game/graphics ../glest_game/global ../glest_game/sound ../glest_game/game ;
+# }
+
+# ### Configurator ###
+# SubDir TOP configurator ;
+#
+# GLEST_CONFIG_DIRS = . ;
+# for i in $(GLEST_DIRS) {
+# GLEST_CONFIG_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
+# }
+#
+# Application glest_configurator : $(GLEST_CONFIG_SOURCES) ;
+# LinkWith glest_configurator : glestlib strefloplib ;
+# ExternalLibs glest_configurator : SDL GL GLU XERCES WX CURL ;
+# IncludeDir glest_configurator : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_CONFIG_DIRS) ;