blob: fa53b011f4146a26e3680716c1ee2076a8b500be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
INSTALL file for libdvdcss, a DVD access library
Configuring libdvdcss
=====================
A typical way to configure libdvdcss is:
./configure --prefix=/usr
See `./configure --help' for more information.
If you got libdvdcss from its version control system, please bootstrap first:
./bootstrap
Building libdvdcss
==================
Once configured, run `make' to build libdvdcss.
If you have player keys, you need to put them in the file csskeys.h, before
configuring libdvdcss to enable the "key" method (the one from libcss).
Installing libdvdcss
====================
You can install libdvdcss by typing:
make install
Building libdvdcss for Win32
============================
You have two alternatives to build libdvdcss for Win32:
- natively on Windows, using MSYS + MINGW (www.mingw.org):
(MSYS is a minimal build environment to compile unixish projects under
windoze. It provides all the common unix tools like sh, gmake...)
You will need to download and install the latest MSYS (version 1.0.7 as
of now) and MINGW.
The installation is really easy. Begin with the MSYS auto-installer and once
this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember
to remove the make utility included with MINGW as it conflicts with the one
from MSYS (just rename or remove c:\msys\1.0\mingw\bin\make.exe).
http://www.mingw.org/download.shtml
http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2002.04.24-1.exe
http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz
To build libdvdcss you just have to run the following commands:
./configure
make
- or on Linux, using the mingw32 cross-compiler:
You can find a mingw32 cross-compiler on the videolan web site:
http://www.videolan.org/vlc/windows.html
Or if you are running Debian, there is a mingw32 package you can use.
If you are cross-compiling from the Debian package, you can use the following
commands:
./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
--build=i386-linux
make
If you are cross-compiling using the mingw32 package provided by
www.videolan.org, you have to use something along those lines:
CC=/usr/local/cross-tools/bin/i586-mingw32msvc-gcc \
PATH=/usr/local/cross-tools/bin:$PATH \
./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
--build=i386-linux
PATH=/usr/local/cross-tools/bin:$PATH make
|