mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Change usage of Gobject (GStreamer) in a virtualenv
This commit is contained in:
parent
1c88419638
commit
18c1a1e02e
1 changed files with 14 additions and 13 deletions
|
@ -8,7 +8,7 @@
|
||||||
pkg_dependencies="acl build-essential python3-dev python3-pip python3-venv git postgresql postgresql-contrib \
|
pkg_dependencies="acl build-essential python3-dev python3-pip python3-venv git postgresql postgresql-contrib \
|
||||||
gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly lsb-base \
|
gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly lsb-base \
|
||||||
python3-gst-1.0 python3-tornado debconf python3-pkg-resources python3-pykka python3-requests \
|
python3-gst-1.0 python3-tornado debconf python3-pkg-resources python3-pykka python3-requests \
|
||||||
gstreamer1.0-alsa gstreamer1.0-pulseaudio gstreamer1.0-tools"
|
gstreamer1.0-alsa gstreamer1.0-pulseaudio gstreamer1.0-tools libgirepository1.0-dev libcairo2-dev"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
@ -28,20 +28,21 @@ myynh_install() {
|
||||||
ynh_exec_as $app $final_path/env/bin/pip install --upgrade --no-cache-dir pip
|
ynh_exec_as $app $final_path/env/bin/pip install --upgrade --no-cache-dir pip
|
||||||
|
|
||||||
# to make Gstreamer visible in Python environment
|
# to make Gstreamer visible in Python environment
|
||||||
$final_path/env/bin/python3 -m pip install vext
|
# $final_path/env/bin/python3 -m pip install vext
|
||||||
$final_path/env/bin/python3 -m pip install --no-binary=:all: vext.gi
|
# $final_path/env/bin/python3 -m pip install --no-binary=:all: vext.gi
|
||||||
|
$final_path/env/bin/python3 -m pip install PyGObject
|
||||||
|
|
||||||
# install essential packages
|
# install essential packages
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy==$(ynh_app_upstream_version)
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy #==$(ynh_app_upstream_version)
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-local==3.2.1
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-local #==3.2.1
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MusicBox-Webclient==3.1.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MusicBox-Webclient #==3.1.0
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YouTube==3.3
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YouTube #==3.3
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir mopidy-ytmusic==0.3.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir mopidy-ytmusic #==0.3.0
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-RadioNet==0.2.2
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-RadioNet #==0.2.2
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast==3.0.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast #==3.0.0
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast-iTunes==3.0.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast-iTunes #==3.0.0
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-SoundCloud==3.0.1
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-SoundCloud #==3.0.1
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MPD==3.1.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MPD #==3.1.0
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue