diff --git a/metadata/org.openttd.sdl.txt b/metadata/org.openttd.sdl.txt new file mode 100644 index 0000000000..5d13488c4f --- /dev/null +++ b/metadata/org.openttd.sdl.txt @@ -0,0 +1,41 @@ +Categories:Games +License:GPLv2+ +Web Site:http://openttd.org/ +Source Code:https://github.com/pelya/commandergenius +Issue Tracker:https://github.com/pelya/commandergenius/issues +Name:OpenTTD +Summary:Railway emulator +Description: +OpenTTD is an open source simulation game based upon the popular Microprose game "Transport Tycoon +Deluxe", written by Chris Sawyer. It attempts to mimic the original game as closely as possible while +extending it with new features. +. + +Repo Type:srclib +Repo:libsdl-android +# some libraries, such as libandroid.so can't be rebuilt from included sources; +# others, such as python.so may be recompiled (probably, better from srclibs) +Build Version:1.3.2.25,13225,openttd-1.3.2.25,subdir=project,submodules=yes,buildjni=no,target=android-17,\ +srclibs=OpenTTD@1.3.2,scanignore=project/jni/application/commandergenius/commandergenius/icotool,\ +init=\ + ln -fs openttd jni/application/src && \ + sed -ri 's/ant debug|ant release/exit 0/' ../build.sh && \ + sed -ri 's/exit 0//' ../copyAssets.sh && \ + find -regex ".+\.\(a\|dll\|so\|exe\|lib\)" -type f -delete && cd jni && \ + rm -rf android/ ffmpeg/ avcodec/ python/ boost* ../themes/converter/converter && \ + cd ../.. && ./changeAppSettings.sh -a,\ +prebuild=\ + mkdir -p jni/application/openttd/openttd-1.3.2 && \ + cp -R $$OpenTTD$$/* jni/application/openttd/openttd-1.3.2 && \ + cd jni/application/openttd/ && \ + patch -p 0 -d openttd-1.3.2 < openttd-trunk-android.patch && \ + patch -p 0 -d openttd-1.3.2 < findversion.sh.patch,\ +build=\ + sed -ri 's/(debuggable)="true"/\1="false"/' AndroidManifest.xml && \ + cd .. && ./build.sh release + +# todo +Auto Update Mode:None +Update Check Mode:None +Current Version:1.3.2.25 +Current Version Code:13225 diff --git a/srclibs/OpenTTD.txt b/srclibs/OpenTTD.txt new file mode 100644 index 0000000000..770205c722 --- /dev/null +++ b/srclibs/OpenTTD.txt @@ -0,0 +1,2 @@ +Repo Type:git-svn +Repo:svn://svn.openttd.org;trunk=trunk;tags=tags