Selaa lähdekoodia

Additional dependencies

Bob Mottram 8 vuotta sitten
vanhempi
commit
983440dd28
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4
    1
      src/freedombone-app-mediagoblin

+ 4
- 1
src/freedombone-app-mediagoblin Näytä tiedosto

@@ -252,6 +252,7 @@ function install_mediagoblin {
252 252
 
253 253
     apt-get install -yq python python-dev python-lxml python-imaging python-virtualenv
254 254
     apt-get install -yq automake perl sqlite python-paste python-pastedeploy python-pastescript
255
+    apt-get install -yq python3 python3-dev libpython3-dev python3-lxml python3-pil
255 256
     useradd -c "GNU MediaGoblin system account" -d /var/lib/mediagoblin -m -r -g www-data mediagoblin
256 257
     groupadd mediagoblin
257 258
     usermod --append -G mediagoblin mediagoblin
@@ -271,6 +272,7 @@ function install_mediagoblin {
271 272
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && bash -c 'cp -av mediagoblin.ini mediagoblin_local.ini && cp -av paste.ini paste_local.ini'" - mediagoblin
272 273
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && perl -pi -e 's|.*sql_engine = .*|sql_engine = sqlite:////var/lib/mediagoblin/mediagoblin.db|' mediagoblin_local.ini" - mediagoblin
273 274
 
275
+
274 276
     # Video plugin
275 277
     apt-get install -yq python-gi python3-gi \
276 278
             gstreamer1.0-tools \
@@ -280,12 +282,13 @@ function install_mediagoblin {
280 282
             gstreamer1.0-plugins-bad \
281 283
             gstreamer1.0-plugins-ugly \
282 284
             gstreamer1.0-libav \
283
-            python-gst-1.0
285
+            python-gst-1.0 python3-gst-1.0
284 286
     cd $MEDIAGOBLIN_BASE_DIR/mediagoblin
285 287
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && echo '[[mediagoblin.media_types.video]]' | tee -a mediagoblin_local.ini" - mediagoblin
286 288
 
287 289
     # Audio plugin
288 290
     apt-get install -yq python-gst-1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-libav libsndfile1-dev libasound2-dev libgstreamer-plugins-base1.0-dev python-numpy python-scipy
291
+    apt-get -yq install libasound2-dev python3-numpy python3-scipy libsndfile-dev
289 292
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && echo '[[mediagoblin.media_types.audio]]' | tee -a mediagoblin_local.ini" - mediagoblin
290 293
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && bin/pip install scikits.audiolab" - mediagoblin
291 294