Coder Social home page Coder Social logo

hayate891 / freeciv-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zielmicha/freeciv-android

0.0 1.0 0.0 19.38 MB

Port of Freeciv for Android and Freeciv bindings for Python.

Home Page: http://civ.zielm.com/?ref=github

License: GNU General Public License v2.0

Makefile 4.67% Python 2.48% Shell 0.06% C 91.31% Java 0.28% Ruby 0.39% Lua 0.10% C++ 0.63% JavaScript 0.08% HTML 0.01%

freeciv-android's Introduction

It includes Freeciv 2.3.1

If you don't need to change source code and don't need latest version simply download APK from http://civ.zielm.com

== INSTALLATION ==

Running Freeciv on desktop requires SDL2 with modified alpha blending from http://github.com/zielmicha/SDL2. You also need SDL2_image and SDL2_ttf (from http://hg.libsdl.org/SDL_image/ and http://hg.libsdl.org/SDL_ttf/).

Known working version (and remember to run ./augogen.sh first!):

   hg clone -r 363 http://hg.libsdl.org/SDL_image
   hg clone -r 228 http://hg.libsdl.org/SDL_ttf

Dependency installation:

   apt-get build-dep -y libsdl1.2debian libsdl-image1.2 libsdl-ttf2.0-0
   apt-get install -y graphviz python-pip mercurial python2.7-dev git-core
   pip install Cython==0.15
   # for running web/proxy.py
   pip install tornado==3.1.1
   apt-get install -y python-imaging
   # if on fairly new system
   ln -s /usr/bin/aclocal /usr/local/bin/aclocal-1.13
   ln -s /usr/bin/automake /usr/local/bin/automake-1.13
   # if software renderer needed
   apt-get install libgl1-mesa-swx11-dev xvfb

Don't install SDL2 from your distribution repository! It is highly probable that it will be incompatible.

Build and run on desktop (for debugging):
   make run

(Warning: if you break build process you may need to start again with clean repo)

Build for Android (put android, adb and ndk-build in your PATH):
   make -C android debug

freeciv-android's People

Contributors

jktheslacker avatar zielmicha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.