SopCast Player Install Script for Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
sudo apt-get update | |
sudo apt-get install vlc python gettext python-setuptools | |
sudo apt-get install libvlc-dev hicolor-icon-theme python-glade2 python-gobject python-gtk2 | |
cd /tmp | |
wget -c -O sopcast-player.tgz https://sopcast-player.googlecode.com/files/sopcast-player-0.8.5.tar.gz | |
tar xzvf sopcast-player.tgz | |
cd /tmp/sopcast-player | |
make | |
sudo make install | |
rm -rf /tmp/sopcast-player | |
cd /tmp | |
wget -c http://www.sopcast.com/download/libstdcpp5.tgz | |
tar xzvf libstdcpp5.tgz | |
sudo mv /tmp/usr/lib/libstdc++.so.5.0.1 /usr/lib/ | |
sudo ln -sf /usr/lib/libstdc++.so.5.0.1 /usr/lib/libstdc++.so.5 | |
rm -rf /tmp/usr | |
cd /tmp | |
#wget -c http://download.sopcast.com/download/sp-auth.tgz | |
wget -c -O sp-auth.tgz https://sopcast-player.googlecode.com/files/sp-auth-3.2.6.tar.gz | |
tar xzvf sp-auth.tgz | |
sudo mv /tmp/sp-auth/sp-sc-auth /usr/bin/ | |
rm -rf /tmp/sp-auth | |
echo " | |
Open the Firefox and type: | |
about:config | |
Create a new string with name: | |
network.protocol-handler.app.sop | |
and value: | |
/usr/bin/sopcast-player | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment