From 7aac615a5b8588e1dda18587019a9a9bad6e1374 Mon Sep 17 00:00:00 2001 From: Przemyslaw Rzepecki Date: Fri, 13 Jun 2014 23:06:32 +0200 Subject: [PATCH] Introduced SDL as srclib. --- metadata/com.traffar.a24game.txt | 10 ++++------ metadata/com.traffar.game_of_life.txt | 20 ++++++++------------ metadata/com.traffar.gomoku.txt | 10 ++++------ metadata/com.traffar.oware.txt | 10 ++++------ srclibs/SDL.txt | 2 ++ 5 files changed, 22 insertions(+), 30 deletions(-) create mode 100644 srclibs/SDL.txt diff --git a/metadata/com.traffar.a24game.txt b/metadata/com.traffar.a24game.txt index 405188b6cc..7db3071b13 100644 --- a/metadata/com.traffar.a24game.txt +++ b/metadata/com.traffar.a24game.txt @@ -16,14 +16,12 @@ Repo Type:git Repo:https://bitbucket.org/przemekr/24-game Build:0.1,1 + srclibs=SDL@release-2.0.3 commit=0.1 subdir=android - init=cd jni/SDL && \ - rm -rf src include SDL-2.0.3* && \ - wget https://libsdl.org/release/SDL2-2.0.3.tar.gz && \ - tar xf SDL2-2.0.3.tar.gz && \ - ln -s SDL2-2.0.3/src . && \ - ln -s SDL2-2.0.3/include . + prebuild=rm -rf jni/SDL/src jni/SDL/include && \ + ln -s ../../$$SDL$$/src jni/SDL/ && \ + ln -s ../../$$SDL$$/include jni/SDL/ buildjni=yes Auto Update Mode:None diff --git a/metadata/com.traffar.game_of_life.txt b/metadata/com.traffar.game_of_life.txt index 02d6b202af..74643ccce0 100644 --- a/metadata/com.traffar.game_of_life.txt +++ b/metadata/com.traffar.game_of_life.txt @@ -23,23 +23,19 @@ Repo:https://bitbucket.org/przemekr/game_of_life_agg.git Build:20131217,1 commit=android20131217 subdir=android - init=cd jni/SDL && \ - rm -rf src include SDL-2.0.1* && \ - wget https://libsdl.org/release/SDL2-2.0.1.tar.gz && \ - tar xf SDL2-2.0.1.tar.gz && \ - ln -s SDL2-2.0.1/src . && \ - ln -s SDL2-2.0.1/include . + srclibs=SDL@release-2.0.1 + prebuild=rm -rf jni/SDL/src jni/SDL/include && \ + ln -s ../../$$SDL$$/src jni/SDL/ && \ + ln -s ../../$$SDL$$/include jni/SDL/ buildjni=yes Build:0.2,2 commit=0.2 subdir=android - init=cd jni/SDL && \ - rm -rf src include SDL-2.0.1* && \ - wget https://libsdl.org/release/SDL2-2.0.1.tar.gz && \ - tar xf SDL2-2.0.1.tar.gz && \ - ln -s SDL2-2.0.1/src . && \ - ln -s SDL2-2.0.1/include . + srclibs=SDL@release-2.0.1 + prebuild=rm -rf jni/SDL/src jni/SDL/include && \ + ln -s ../../$$SDL$$/src jni/SDL/ && \ + ln -s ../../$$SDL$$/include jni/SDL/ buildjni=yes Auto Update Mode:Version %v diff --git a/metadata/com.traffar.gomoku.txt b/metadata/com.traffar.gomoku.txt index 75ec999b0b..196e603043 100644 --- a/metadata/com.traffar.gomoku.txt +++ b/metadata/com.traffar.gomoku.txt @@ -22,12 +22,10 @@ Repo:https://bitbucket.org/przemekr/gomoku Build:0.1,1 commit=0.1 subdir=android - init=cd jni/SDL && \ - rm -rf src include SDL-2.0.1* && \ - wget https://libsdl.org/release/SDL2-2.0.1.tar.gz && \ - tar xf SDL2-2.0.1.tar.gz && \ - ln -s SDL2-2.0.1/src . && \ - ln -s SDL2-2.0.1/include . + srclibs=SDL@release-2.0.1 + prebuild=rm -rf jni/SDL/src jni/SDL/include && \ + ln -s ../../$$SDL$$/src jni/SDL/ && \ + ln -s ../../$$SDL$$/include jni/SDL/ buildjni=yes Auto Update Mode:None diff --git a/metadata/com.traffar.oware.txt b/metadata/com.traffar.oware.txt index 8655065b56..75adf984ca 100644 --- a/metadata/com.traffar.oware.txt +++ b/metadata/com.traffar.oware.txt @@ -22,12 +22,10 @@ Repo:https://bitbucket.org/przemekr/oware_agg Build:0.1,1 commit=0.1 subdir=android - init=cd jni/SDL && \ - rm -rf src include SDL-2.0.1* && \ - wget https://libsdl.org/release/SDL2-2.0.1.tar.gz && \ - tar xf SDL2-2.0.1.tar.gz && \ - ln -s SDL2-2.0.1/src . && \ - ln -s SDL2-2.0.1/include . + srclibs=SDL@release-2.0.1 + prebuild=rm -rf jni/SDL/src jni/SDL/include && \ + ln -s ../../$$SDL$$/src jni/SDL/ && \ + ln -s ../../$$SDL$$/include jni/SDL/ buildjni=yes Auto Update Mode:None diff --git a/srclibs/SDL.txt b/srclibs/SDL.txt new file mode 100644 index 0000000000..05be8ec0cc --- /dev/null +++ b/srclibs/SDL.txt @@ -0,0 +1,2 @@ +Repo Type:hg +Repo:https://hg.libsdl.org/SDL