new game
simgear flightgear opencity
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "%s-%sstable" % (get.srcNAME(), get.srcVERSION())
|
||||
NoStrip = ["/usr/share/opencity"]
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-vif")
|
||||
autotools.configure("--disable-sdltest \
|
||||
--enable-sdl-mixer")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
@@ -0,0 +1,13 @@
|
||||
--- opencity.desktop.orig 2007-10-28 20:56:57.000000000 +0200
|
||||
+++ opencity.desktop 2007-12-11 20:34:02.000000000 +0200
|
||||
@@ -3,8 +3,10 @@
|
||||
Encoding=UTF-8
|
||||
Comment=A 3D city simulator
|
||||
Comment[fr]=Jeu de simulation de Ville en 3D
|
||||
+Comment[tr]=3B Şehir Simülasyonu
|
||||
Categories=Game;StrategyGame;
|
||||
Exec=opencity
|
||||
GenericName=City simulator
|
||||
GenericName[fr]=Simulateur de ville
|
||||
+GenericName[tr]=Şehir Simülatörü
|
||||
Icon=opencity.png
|
||||
@@ -0,0 +1,16 @@
|
||||
Description: Fix build failure with GCC 4.7
|
||||
- src/tinyxpath/node_set.cpp: Include "../main.h" for HAVE_STDINT_H.
|
||||
Bug-Debian: http://bugs.debian.org/667310
|
||||
Author: Matej Vela <vela@debian.org>
|
||||
Last-Update: 2012-05-18
|
||||
|
||||
--- opencity-0.0.6.4stable~/src/tinyxpath/node_set.cpp
|
||||
+++ opencity-0.0.6.4stable/src/tinyxpath/node_set.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
distribution.
|
||||
*/
|
||||
|
||||
+#include "../main.h"
|
||||
#include "node_set.h"
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include "stdint.h" // for intptr_t (32/64 bits void* pointer compatibility)
|
||||
@@ -0,0 +1,11 @@
|
||||
--- opencity-0.0.6.2stable/configure.ac~ 2009-10-22 21:00:46.000000000 +0200
|
||||
+++ opencity-0.0.6.2stable/configure.ac 2009-11-18 18:20:24.000000000 +0100
|
||||
@@ -48,7 +48,7 @@
|
||||
dnl Set CXXFLAGS to disable -g -O2 and support the SDL libraries check
|
||||
|
||||
CXXFLAGS="$SDL_CFLAGS"
|
||||
-LDFLAGS="$LDFLAGS $SDL_LIBS"
|
||||
+LIBS="$LIBS $SDL_LIBS -lSDL_mixer -lpng"
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_LANG_CPLUSPLUS
|
||||
@@ -0,0 +1,187 @@
|
||||
--- opencity-0.0.5stable.orig/config/Makefile.in 2007-12-01 23:12:47.000000000 +0200
|
||||
+++ opencity-0.0.5stable/config/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -79,7 +79,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/configure 2007-12-01 23:12:51.000000000 +0200
|
||||
+++ opencity-0.0.5stable/configure 2007-12-11 20:00:32.000000000 +0200
|
||||
@@ -4903,7 +4903,7 @@
|
||||
if test "x$enable_debug" = "xyes"; then
|
||||
enable_debug="$enable_gdb"
|
||||
else
|
||||
- enable_debug="-DNDEBUG"
|
||||
+ enable_debug=""
|
||||
fi
|
||||
|
||||
|
||||
--- opencity-0.0.5stable.orig/docs/Makefile.in 2007-12-01 23:16:54.000000000 +0200
|
||||
+++ opencity-0.0.5stable/docs/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -81,7 +81,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/Makefile.in 2007-12-01 23:12:51.000000000 +0200
|
||||
+++ opencity-0.0.5stable/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -103,7 +103,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/binreloc/Makefile.in 2007-12-01 23:12:47.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/binreloc/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -90,7 +90,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/enum/Makefile.in 2007-12-01 23:12:48.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/enum/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -73,7 +73,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/Makefile.in 2007-12-01 23:12:47.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -136,7 +136,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/mapgen/Makefile.in 2007-12-01 23:12:48.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/mapgen/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -102,7 +102,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/mas/Makefile.in 2007-12-01 23:12:49.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/mas/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -93,7 +93,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/model/Makefile.in 2007-12-01 23:12:49.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/model/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -93,7 +93,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/networking/Makefile.in 2007-12-01 23:12:49.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/networking/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -91,7 +91,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/simulator/Makefile.in 2007-12-01 23:12:49.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/simulator/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -94,7 +94,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/structure/Makefile.in 2007-12-01 23:12:50.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/structure/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -93,7 +93,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/tinyxml/Makefile.in 2007-12-01 23:12:50.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/tinyxml/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -92,7 +92,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/tinyxpath/Makefile.in 2007-12-01 23:12:50.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/tinyxpath/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -95,7 +95,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/src/triangulation/Makefile.in 2007-12-01 23:12:50.000000000 +0200
|
||||
+++ opencity-0.0.5stable/src/triangulation/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -91,7 +91,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
--- opencity-0.0.5stable.orig/viewer/Makefile.in 2007-12-01 23:12:50.000000000 +0200
|
||||
+++ opencity-0.0.5stable/viewer/Makefile.in 2007-12-11 19:56:41.000000000 +0200
|
||||
@@ -97,7 +97,7 @@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
-CXXFLAGS = @CXXFLAGS@
|
||||
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>opencity</Name>
|
||||
<Homepage>http://www.opencity.info</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>OpenCity</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>A city simulator game</Summary>
|
||||
<Description>OpenCity is a city simulator game project written in standard C++ with OpenGL and SDL from scratch.</Description>
|
||||
<Archive sha1sum="f9fd35974fd45e6d8c4453417d01c56b1ef13bca" type="tarbz2">mirrors://sourceforge/opencity/opencity-0.0.6.5stable.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>sdl-net-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
<Dependency>sdl-image-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>desktop.patch</Patch>
|
||||
<Patch level="1">gcc-4.7-fixes.patch</Patch>
|
||||
<Patch level="1">pisilinux-makefile.patch</Patch>
|
||||
<!--<Patch level="1">opencity-as-needed.patch</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>opencity</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>sdl-net</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>sdl-image</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc/opencity</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="data">/usr/share/applicaions</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2016-06-16</Date>
|
||||
<Version>0.0.6.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ali Algul(gulle)</Name>
|
||||
<Email>aligulle3801@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>opencity</Name>
|
||||
<Summary xml:lang="tr">Şehir benzetim oyunu</Summary>
|
||||
<Description xml:lang="tr">OpenCity standart C++ ile OpenGL ve SDL kullanılarak sıfırdan yazılmış bir şehir benzetim oyunudur.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user