Giter Site home page Giter Site logo

bk138 / 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 32.31 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

Shell 2.26% JavaScript 2.10% Python 50.50% C 37.32% Java 2.03% Makefile 5.75% HTML 0.04%

freeciv-android's Introduction

It includes Freeciv 2.6.0

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 a patched version of SDL2 (with modified alpha blending). To patch SDL 2.0.4, use configure_project/SDL_modify_blending.patch. You also need Curl, SDL2_image and SDL2_ttf.

Dependency installation:

   apt-get build-dep -y libsdl1.2debian libsdl-image1.2 libsdl-ttf2.0-0 libcurl4-openssl-dev python2.7-dev
   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
   pip install pygame
   # 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

Building for Android requires Android NDK with version r12b.

Configuration:
You need Android SDK >= 26. Add these environment variables:
   ANDROID_HOME=<PATH to your SDK installation>
   ANDROID_NDK_HOME=<PATH to your NDK installation>
   You also need Java8. If this version is not your system default, use JAVA_HOME environment variable.

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:
   make -C android debugapk

Upgrade Freeciv: see README.freeciv_upgrade

freeciv-android's People

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.