Skip to content

Commit a204369

Browse files
committed
Update installation instructions and allow DATADIR to be set manually
1 parent 3ac78ad commit a204369

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

INSTALL

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
DVBCUT INSTALL -- last edited 2009-01-24
1+
DVBCUT INSTALL -- last edited 2012-09-19
22

33
In order to compile dvbcut, you need to have the following libraries
44
installed:
55

6-
* Qt, version 3
6+
* Qt, version 4
7+
* ffmpeg (optional, for video encoding and decoding)
78
* libao (optional, for sound output)
89
* libmad and liba52 for MP2 and AC3 decoding, respectively.
910

10-
On a Debian system, the following packages should do the job:
11-
libqt3-mt-dev qt3-dev-tools scons libao-dev libmad0-dev liba52-0.7.4-dev
12-
1311
If you have MPlayer installed on your machine (and it is accessible as
1412
"mplayer"), you can play the videos inside DVBCUT.
1513

1614
How to compile DVBCUT:
1715

1816
* Unpack the dvbcut source archive and enter the dvbcut directory.
19-
* Type `./configure && make'. If everything works well, you will find
17+
* Type `qmake && make'. If everything works well, you will find
2018
the DVBCUT executable in the bin subdirectory. To install it, run
2119
`make install' (as root).
22-
* Note to SVN users:
23-
You need to run `autoconf' in order to generate the `configure'
24-
script. If you're going to modify the sources, it may also be a
25-
good idea to run `make dep' after configuring dvbcut.

dvbcut.pro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ unix {
1010
MANPATH = $$PREFIX/man
1111
}
1212

13-
DATADIR = "$$PREFIX/share/dvbcut"
13+
isEmpty(DATADIR) {
14+
DATADIR = "$$PREFIX/share/dvbcut"
15+
}
1416

1517
system(echo "PREFIX = \\'$$PREFIX\\'" >.qmake.cache)
1618
system(echo "DATADIR = \\'$$DATADIR\\'" >>.qmake.cache)

0 commit comments

Comments
 (0)