mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 17:01:06 +03:00
Add kivy requirements to buildserver
This commit is contained in:
parent
da0af33bf4
commit
752105c884
2 changed files with 41 additions and 1 deletions
35
buildserver/cookbooks/kivy/recipes/default.rb
Normal file
35
buildserver/cookbooks/kivy/recipes/default.rb
Normal file
|
@ -0,0 +1,35 @@
|
|||
|
||||
user = node[:settings][:user]
|
||||
|
||||
%w{cython python-pygame python-opengl python-gst0.10 python-enchant libgl1-mesa-dev libgles2-mesa-dev}.each do |pkg|
|
||||
package pkg do
|
||||
action :install
|
||||
end
|
||||
end
|
||||
|
||||
script "install-kivy" do
|
||||
cwd "/tmp"
|
||||
interpreter "bash"
|
||||
code "
|
||||
tar xf /vagrant/cache/Kivy-1.7.2.tar.gz
|
||||
cd Kivy-1.7.2
|
||||
sudo python setup.py install
|
||||
cd ..
|
||||
rm -rf Kivy*
|
||||
"
|
||||
not_if "python -c 'import kivy'"
|
||||
end
|
||||
|
||||
script "install-p4a" do
|
||||
cwd "/home/vagrant"
|
||||
interpreter "bash"
|
||||
code "
|
||||
git clone git://github.com/kivy/python-for-android
|
||||
cd python-for-android
|
||||
git checkout ca369d774e2
|
||||
"
|
||||
not_if "test -d /home/vagrant/python-for-android"
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue