Debian packages needed for audio and video
This commit is contained in:
parent
d4d08c156e
commit
81f4cfcd12
|
@ -8349,6 +8349,9 @@ function install_mediagoblin {
|
||||||
|
|
||||||
apt-get -y install git-core python python-dev python-lxml python-imaging python-virtualenv
|
apt-get -y install git-core python python-dev python-lxml python-imaging python-virtualenv
|
||||||
apt-get -y install postgresql postgresql-client python-psycopg2
|
apt-get -y install postgresql postgresql-client python-psycopg2
|
||||||
|
apt-get -y install python-gst-1.0 libjpeg62-turbo-dev gstreamer1.0-plugins-base python-gobject
|
||||||
|
apt-get -y install gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-libav
|
||||||
|
apt-get -y install python-numpy python-scipy libsndfile1-dev python-gst0.10-dev
|
||||||
su -c "createuser -A -D mediagoblin" - postgres
|
su -c "createuser -A -D mediagoblin" - postgres
|
||||||
su -c "createdb -E UNICODE -O mediagoblin mediagoblin" - postgres
|
su -c "createdb -E UNICODE -O mediagoblin mediagoblin" - postgres
|
||||||
adduser --disabled-login --gecos 'Mediagoblin' mediagoblin
|
adduser --disabled-login --gecos 'Mediagoblin' mediagoblin
|
||||||
|
@ -8378,18 +8381,18 @@ function install_mediagoblin {
|
||||||
su -c "cp $MEDIAGOBLIN_PATH/mediagoblin.ini $MEDIAGOBLIN_PATH/mediagoblin_local.ini" - mediagoblin
|
su -c "cp $MEDIAGOBLIN_PATH/mediagoblin.ini $MEDIAGOBLIN_PATH/mediagoblin_local.ini" - mediagoblin
|
||||||
fi
|
fi
|
||||||
sed -i 's|# sql_engine.*|sql_engine = postgresql:///mediagoblin|g' $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
sed -i 's|# sql_engine.*|sql_engine = postgresql:///mediagoblin|g' $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
||||||
sed -i "s/notice@mediagoblin.example.org/$MY_EMAIL_ADDRESS/g" $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
sed -i "s/email_sender_address.*/email_sender_address = \"$MY_EMAIL_ADDRESS\"/g" $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
||||||
|
|
||||||
# add extra media types
|
# add extra media types
|
||||||
|
if grep -q "media_types.stl" $MEDIAGOBLIN_PATH/mediagoblin_local.ini; then
|
||||||
|
echo '[[mediagoblin.media_types.stl]]' >> $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
||||||
|
fi
|
||||||
if grep -q "media_types.audio" $MEDIAGOBLIN_PATH/mediagoblin_local.ini; then
|
if grep -q "media_types.audio" $MEDIAGOBLIN_PATH/mediagoblin_local.ini; then
|
||||||
echo '[[mediagoblin.media_types.audio]]' >> $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
echo '[[mediagoblin.media_types.audio]]' >> $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
||||||
fi
|
fi
|
||||||
if grep -q "media_types.video" $MEDIAGOBLIN_PATH/mediagoblin_local.ini; then
|
if grep -q "media_types.video" $MEDIAGOBLIN_PATH/mediagoblin_local.ini; then
|
||||||
echo '[[mediagoblin.media_types.video]]' >> $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
echo '[[mediagoblin.media_types.video]]' >> $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
||||||
fi
|
fi
|
||||||
if grep -q "media_types.stl" $MEDIAGOBLIN_PATH/mediagoblin_local.ini; then
|
|
||||||
echo '[[mediagoblin.media_types.stl]]' >> $MEDIAGOBLIN_PATH/mediagoblin_local.ini
|
|
||||||
fi
|
|
||||||
|
|
||||||
#su -c "cd $MEDIAGOBLIN_PATH; git submodule update && ./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate" - mediagoblin
|
#su -c "cd $MEDIAGOBLIN_PATH; git submodule update && ./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate" - mediagoblin
|
||||||
su -c "cd $MEDIAGOBLIN_PATH; ./bin/gmg dbupdate" - mediagoblin
|
su -c "cd $MEDIAGOBLIN_PATH; ./bin/gmg dbupdate" - mediagoblin
|
||||||
|
|
Loading…
Reference in New Issue