Skip to content

Commit

Permalink
Update installation instructions and allow DATADIR to be set manually
Browse files Browse the repository at this point in the history
  • Loading branch information
nextghost committed Sep 19, 2012
1 parent 3ac78ad commit a204369
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
14 changes: 4 additions & 10 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
DVBCUT INSTALL -- last edited 2009-01-24
DVBCUT INSTALL -- last edited 2012-09-19

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

* Qt, version 3
* Qt, version 4
* ffmpeg (optional, for video encoding and decoding)
* libao (optional, for sound output)
* libmad and liba52 for MP2 and AC3 decoding, respectively.

On a Debian system, the following packages should do the job:
libqt3-mt-dev qt3-dev-tools scons libao-dev libmad0-dev liba52-0.7.4-dev

If you have MPlayer installed on your machine (and it is accessible as
"mplayer"), you can play the videos inside DVBCUT.

How to compile DVBCUT:

* Unpack the dvbcut source archive and enter the dvbcut directory.
* Type `./configure && make'. If everything works well, you will find
* Type `qmake && make'. If everything works well, you will find
the DVBCUT executable in the bin subdirectory. To install it, run
`make install' (as root).
* Note to SVN users:
You need to run `autoconf' in order to generate the `configure'
script. If you're going to modify the sources, it may also be a
good idea to run `make dep' after configuring dvbcut.
4 changes: 3 additions & 1 deletion dvbcut.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ unix {
MANPATH = $$PREFIX/man
}

DATADIR = "$$PREFIX/share/dvbcut"
isEmpty(DATADIR) {
DATADIR = "$$PREFIX/share/dvbcut"
}

system(echo "PREFIX = \\'$$PREFIX\\'" >.qmake.cache)
system(echo "DATADIR = \\'$$DATADIR\\'" >>.qmake.cache)
Expand Down

0 comments on commit a204369

Please sign in to comment.