-
Senior Member
registered user
[SCRIPT] Install libdvdcss2 from web or local directory
Hi,
another on-the-fly installer. Please note that xine will only use the dvdcss-support, if run from shell/konsole as always.
Also make sure to source the .bashrc.
Enjoy!
cu
Fabian
Code:
#
# Install libdvdcss-1.2.6 - useful in combination with persistant home
#
# GPL
#
# Author: Fabian Franz <knx-dvd@fabian-franz.de>
#
DVDCSS_NAME="libdvdcss2_1.2.6-1_i386.deb"
DVDCSS_DL="http://www.videolan.org/pub/libdvdcss/1.2.6/deb/libdvdcss2_1.2.6-1_i386.deb"
mkdir -p /tmp/dvdcss_inst.$$
[ -f $DVDCSS_NAME ] && cp $DVDCSS_NAME /tmp/dvdcss_inst.$$
cd /tmp/dvdcss_inst.$$
[ -f $DVDCSS_NAME ] || wget $DVDCSS_DL
ar p libdvdcss2_1.2.6-1_i386.deb data.tar.gz | tar xz ./usr/lib/libdvdcss.so.2.0.6 ./usr/lib/libdvdcss.so.2
mkdir -p $HOME/lib
cp usr/lib/libdvdcss.so.2 usr/lib/libdvdcss.so.2.0.6 $HOME/lib/
# setup $HOME/.bashrc
# we only need lib, but we setup the others anyway
mkdir -p $HOME/bin
mkdir -p $HOME/lib
mkdir -p $HOME/man
cp $HOME/.bashrc $HOME/.bashrc.templ.$$
cat $HOME/.bashrc.templ.$$ | grep -v "export MANPATH=\$HOME/man" | grep -v "export PATH=\$HOME/bin/" | grep -v "export LD_LIBRARY_PATH=\$HOME/lib" > $HOME/.bashrc
echo "export MANPATH=\$HOME/man/:\$MANPATH" >> $HOME/.bashrc
echo "export PATH=\$HOME/bin/:\$PATH" >> $HOME/.bashrc
echo "export LD_LIBRARY_PATH=\$HOME/lib:\$LD_LIBRARY_PATH" >> $HOME/.bashrc
rm -f $HOME/.bashrc.templ.$$
#cleanup
cd ~
rm -rf /tmp/dvdcss_inst.$$
Similar Threads
-
By yadwin in forum General Support
Replies: 9
Last Post: 07-20-2004, 04:57 PM
-
By pelican in forum General Support
Replies: 3
Last Post: 02-05-2004, 11:36 PM
-
By Fabianx in forum Ideas
Replies: 10
Last Post: 07-30-2003, 04:41 AM
-
By Fabianx in forum Ideas
Replies: 6
Last Post: 04-19-2003, 04:28 AM
-
By Fabianx in forum Ideas
Replies: 0
Last Post: 03-30-2003, 01:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
LOT OF 10 HPE JD092B X130 10G SFP+ LC SR Transceiver
$40.00
NEW Genuine ARISTA SFP-10G-LR - 10GBASE-LR XVR-10003-20 Transciever
$49.99
Cisco C9300-NM-8X Catalyst 9300 Series 8x 10GB SFP+ Port Module 90 Day Warranty
$214.00
ARISTA SFP-10G-SR 10GBASE-SR SFP+ Optical Transceiver ModuXVR-00001-02 Lot of 10
$65.35
🔥🔥🔥Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver 10-2415-03 🔥🔥🔥
$8.00
HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001
$6.99
Cisco SFP-10G-SR 10-2415-03 10 Gigabit Transceiver WARRANTY LOT OF 10 @ F
$38.79
Cisco SFP-10G-SR 10-2415-03 10 Gigabit Transceiver LOT OF 8
$24.00
1G/2.5G Dual Port Media Converter SFP, Gigabit SFP Repeater without Transceiver
$15.99
SFP-10G-T-X 10GBASE SFP+ Module
$40.00