mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Android build script adaptations.
This commit is contained in:
parent
70fedf618a
commit
063c35db0d
4 changed files with 4 additions and 10 deletions
|
@ -31,6 +31,7 @@ include .tidyallrc
|
||||||
include android/*.py
|
include android/*.py
|
||||||
include android/mk*
|
include android/mk*
|
||||||
include android/initsdk
|
include android/initsdk
|
||||||
|
include android/initsupport
|
||||||
include android/debian/*
|
include android/debian/*
|
||||||
#graft data/plugins
|
#graft data/plugins
|
||||||
##
|
##
|
||||||
|
|
|
@ -7,11 +7,4 @@ set -eux
|
||||||
liburl="https://maven.google.com/com/android/support/support-v4/24.1.1"
|
liburl="https://maven.google.com/com/android/support/support-v4/24.1.1"
|
||||||
libname="support-v4-24.1.1.aar"
|
libname="support-v4-24.1.1.aar"
|
||||||
|
|
||||||
if [[ ! -f ${libdir}/${libname} ]]; then
|
. mkp4a.preload supportlib ${liburl} ${libname}
|
||||||
mkdir -p ${libdir}
|
|
||||||
pushd ${libdir}
|
|
||||||
wget ${liburl}/${libname}
|
|
||||||
popd
|
|
||||||
else
|
|
||||||
echo "Skipping supportlib download as already present."
|
|
||||||
fi
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ cardsets_file="${cardsets_dir}.tar.xz"
|
||||||
|
|
||||||
sdkdir="${HOME}/.cache/sdk-for-p4a/sdk"
|
sdkdir="${HOME}/.cache/sdk-for-p4a/sdk"
|
||||||
ndkdir="${HOME}/.cache/sdk-for-p4a/android-ndk-r17c"
|
ndkdir="${HOME}/.cache/sdk-for-p4a/android-ndk-r17c"
|
||||||
libdir="${HOME}/.cache/sdk-for-p4a/libs"
|
pkgdir="${HOME}/.local/share/python-for-android/packages"
|
||||||
|
|
||||||
# gradle may need this.
|
# gradle may need this.
|
||||||
export TERM="xterm"
|
export TERM="xterm"
|
||||||
|
|
|
@ -48,7 +48,7 @@ rm -rf ${tmpdir}/setup.py
|
||||||
rm -rf ${tmpdir}/setup_osx.py
|
rm -rf ${tmpdir}/setup_osx.py
|
||||||
rm -rf ${tmpdir}/setup.cfg
|
rm -rf ${tmpdir}/setup.cfg
|
||||||
|
|
||||||
cp -a ${libdir}/support-v4-24.1.1.aar ${tmpdir}
|
cp -a ${pkgdir}/supportlib/support-v4-24.1.1.aar ${tmpdir}
|
||||||
cp -a main.py ${tmpdir}
|
cp -a main.py ${tmpdir}
|
||||||
mkdir -p ${tmpdir}/data/images/cards/bottoms/trumps-only
|
mkdir -p ${tmpdir}/data/images/cards/bottoms/trumps-only
|
||||||
echo "" > ${tmpdir}/data/images/cards/bottoms/trumps-only/.keep
|
echo "" > ${tmpdir}/data/images/cards/bottoms/trumps-only/.keep
|
||||||
|
|
Loading…
Add table
Reference in a new issue