File tree 7 files changed +14
-10
lines changed
7 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -552,6 +552,10 @@ function run_get_packages() {
552
552
try mkdir -p $BUILD_PATH /$module
553
553
fi
554
554
555
+ if [ ! -d " $PACKAGES_PATH /$module " ]; then
556
+ try mkdir -p " $PACKAGES_PATH /$module "
557
+ fi
558
+
555
559
if [ " X$url " == " X" ]; then
556
560
debug " No package for $module "
557
561
continue
@@ -561,7 +565,7 @@ function run_get_packages() {
561
565
marker_filename=" .mark-$filename "
562
566
do_download=1
563
567
564
- cd $PACKAGES_PATH
568
+ cd " $PACKAGES_PATH / $module "
565
569
566
570
# check if the file is already present
567
571
if [ -f $filename ]; then
@@ -631,7 +635,7 @@ function run_get_packages() {
631
635
fi
632
636
633
637
# decompress
634
- pfilename=$PACKAGES_PATH /$filename
638
+ pfilename=$PACKAGES_PATH /$module / $ filename
635
639
info " Extract $pfilename "
636
640
case $pfilename in
637
641
* .tar.gz|* .tgz )
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
VERSION_audiostream=${VERSION_audiostream:- master}
4
- URL_audiostream=https://github.com/kivy/audiostream/zipball /$VERSION_audiostream /audiostream .zip
4
+ URL_audiostream=https://github.com/kivy/audiostream/archive /$VERSION_audiostream .zip
5
5
DEPS_audiostream=(python sdl pyjnius)
6
6
MD5_audiostream=
7
- BUILD_audiostream=$BUILD_PATH /audiostream/audiostream
7
+ BUILD_audiostream=$BUILD_PATH /audiostream/$( get_directory $URL_audiostream )
8
8
RECIPE_audiostream=$RECIPES_PATH /audiostream
9
9
10
10
function prebuild_audiostream() {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
VERSION_cymunk=${VERSION_cymunk:- master}
4
- URL_cymunk=http://github.com/tito/cymunk/zipball /$VERSION_cymunk /cymunk .zip
4
+ URL_cymunk=http://github.com/tito/cymunk/archive /$VERSION_cymunk .zip
5
5
DEPS_cymunk=(python)
6
6
MD5_cymunk=
7
7
BUILD_cymunk=$BUILD_PATH /cymunk/$( get_directory $URL_cymunk )
Original file line number Diff line number Diff line change 3
3
# Only h264+aac build are working.
4
4
5
5
VERSION_ffmpeg=${VERSION_ffmpeg:- master}
6
- URL_ffmpeg=https://github.com/tito/ffmpeg-android/zipball /$VERSION_ffmpeg /ffmpeg-android .zip
6
+ URL_ffmpeg=https://github.com/tito/ffmpeg-android/archive /$VERSION_ffmpeg .zip
7
7
DEPS_ffmpeg=(python sdl)
8
8
MD5_ffmpeg=
9
- BUILD_ffmpeg=$BUILD_PATH /ffmpeg/ffmpeg-android
9
+ BUILD_ffmpeg=$BUILD_PATH /ffmpeg/$( get_directory $URL_ffmpeg )
10
10
RECIPE_ffmpeg=$RECIPES_PATH /ffmpeg
11
11
12
12
function prebuild_ffmpeg() {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
VERSION_kivy=${VERSION_kivy:- stable}
4
- URL_kivy=https://github.com/kivy/kivy/zipball/ $VERSION_kivy /kivy- $VERSION_kivy .zip
4
+ URL_kivy=https://github.com/kivy/kivy/archive/ $VERSION_kivy .zip
5
5
DEPS_kivy=(pygame pyjnius android)
6
6
MD5_kivy=
7
7
BUILD_kivy=$BUILD_PATH /kivy/$( get_directory $URL_kivy )
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
VERSION_plyer=${VERSION_plyer:- master}
4
- URL_plyer=https://github.com/kivy/plyer/zipball/ $VERSION_plyer /plyer- $VERSION_plyer .zip
4
+ URL_plyer=https://github.com/kivy/plyer/archive/ $VERSION_plyer .zip
5
5
DEPS_plyer=(pyjnius android)
6
6
MD5_plyer=
7
7
BUILD_plyer=$BUILD_PATH /plyer/$( get_directory $URL_plyer )
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
VERSION_pyjnius=${VERSION_pyjnius:- master}
4
- URL_pyjnius=https://github.com/kivy/pyjnius/zipball/ $VERSION_pyjnius /pyjnius- $VERSION_pyjnius .zip
4
+ URL_pyjnius=https://github.com/kivy/pyjnius/archive/ $VERSION_pyjnius .zip
5
5
DEPS_pyjnius=(python sdl)
6
6
MD5_pyjnius=
7
7
BUILD_pyjnius=$BUILD_PATH /pyjnius/$( get_directory $URL_pyjnius )
You can’t perform that action at this time.
0 commit comments