Skip to content

Commit f0740c4

Browse files
committed
Fixes for kivy#297
1 parent e597be8 commit f0740c4

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

distribute.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,10 @@ function run_get_packages() {
552552
try mkdir -p $BUILD_PATH/$module
553553
fi
554554

555+
if [ ! -d "$PACKAGES_PATH/$module" ]; then
556+
try mkdir -p "$PACKAGES_PATH/$module"
557+
fi
558+
555559
if [ "X$url" == "X" ]; then
556560
debug "No package for $module"
557561
continue
@@ -561,7 +565,7 @@ function run_get_packages() {
561565
marker_filename=".mark-$filename"
562566
do_download=1
563567

564-
cd $PACKAGES_PATH
568+
cd "$PACKAGES_PATH/$module"
565569

566570
# check if the file is already present
567571
if [ -f $filename ]; then
@@ -631,7 +635,7 @@ function run_get_packages() {
631635
fi
632636

633637
# decompress
634-
pfilename=$PACKAGES_PATH/$filename
638+
pfilename=$PACKAGES_PATH/$module/$filename
635639
info "Extract $pfilename"
636640
case $pfilename in
637641
*.tar.gz|*.tgz )

recipes/audiostream/recipe.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

33
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
55
DEPS_audiostream=(python sdl pyjnius)
66
MD5_audiostream=
7-
BUILD_audiostream=$BUILD_PATH/audiostream/audiostream
7+
BUILD_audiostream=$BUILD_PATH/audiostream/$(get_directory $URL_audiostream)
88
RECIPE_audiostream=$RECIPES_PATH/audiostream
99

1010
function prebuild_audiostream() {

recipes/cymunk/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
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
55
DEPS_cymunk=(python)
66
MD5_cymunk=
77
BUILD_cymunk=$BUILD_PATH/cymunk/$(get_directory $URL_cymunk)

recipes/ffmpeg/recipe.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Only h264+aac build are working.
44

55
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
77
DEPS_ffmpeg=(python sdl)
88
MD5_ffmpeg=
9-
BUILD_ffmpeg=$BUILD_PATH/ffmpeg/ffmpeg-android
9+
BUILD_ffmpeg=$BUILD_PATH/ffmpeg/$(get_directory $URL_ffmpeg)
1010
RECIPE_ffmpeg=$RECIPES_PATH/ffmpeg
1111

1212
function prebuild_ffmpeg() {

recipes/kivy/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
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
55
DEPS_kivy=(pygame pyjnius android)
66
MD5_kivy=
77
BUILD_kivy=$BUILD_PATH/kivy/$(get_directory $URL_kivy)

recipes/plyer/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
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
55
DEPS_plyer=(pyjnius android)
66
MD5_plyer=
77
BUILD_plyer=$BUILD_PATH/plyer/$(get_directory $URL_plyer)

recipes/pyjnius/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
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
55
DEPS_pyjnius=(python sdl)
66
MD5_pyjnius=
77
BUILD_pyjnius=$BUILD_PATH/pyjnius/$(get_directory $URL_pyjnius)

0 commit comments

Comments
 (0)