-
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 <[email protected]>
#
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

Vintage Computer Sun Ultra 1 UltraSpark Driven - Mystery condition as-is Parts
$49.78

Vintage Microsoft Visual Studio.NET Professional Software suite Version 2002 New
$117.14

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00

Vintage eMachines eTower 500is Celeron 500MHz 256MB 40GB Win98 PC Tower Computer
$125.00

Vintage Genius LAN E3000II Pocket LAN Adapter CIB Complete Box Manual Floppy PS2
$49.99

Vintage Compaq Presario 1200 Laptop Celeron 600MHz 20GB Floppy Drive *Windows Me
$140.00

Vintage 1st Gen 5V Intel Pentium 60 MHz SX835 CPU A80501-60 FDIV Socket 4 P5
$277.59

Vintage Teac FD-505 5.25" 3.5" Combo Drive 19307571-00
$199.99

🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE
$249.00