Skip to content

Instantly share code, notes, and snippets.

@ninegene
Created October 28, 2015 05:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ninegene/65f9e0f683bb9582e483 to your computer and use it in GitHub Desktop.
Save ninegene/65f9e0f683bb9582e483 to your computer and use it in GitHub Desktop.
SopCast Player Install Script for Linux
#!/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