Skip to content

Commit

Permalink
README: add build / run instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Ira Krufky <[email protected]>
  • Loading branch information
mkrufky committed Nov 1, 2015
1 parent 6c142e4 commit 4493585
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,41 @@ and press enter.
Michael Ira Krufky
mkrufky at linuxtv dot org

#### How to build / run
libdvbtee was originally developed using the qmake build system for easy
multi-platform build support. libdvbtee still supports the qmake system,
but now uses autotools as the preferred build system for various reasons.
```
autoreconf --install
./configure
make
dvbtee/dvbtee < mpegfile.ts
```

If, for some odd reason, you want to build libdvbtee using the old version of
the table / descriptor decoder, simple specify --enable-olddecoder to configure
```
autoreconf --install
./configure --enable-olddecoder
make
dvbtee/dvbtee < mpegfile.ts
```

If you prefer to use qmake rather than autotools, use the following commands:
```
qmake -r
make
LD_LIBRARY_PATH=libdvbtee:libdvbtee_server dvbtee/dvbtee < mpegfile.ts
```

If, for some odd reason, you want to build libdvbtee using the old version of
the table / descriptor decoder, simple specify CONFIG+=olddecoder to qmake
```
qmake -r CONFIG+=olddecoder
make
LD_LIBRARY_PATH=libdvbtee:libdvbtee_server dvbtee/dvbtee < mpegfile.ts
```

#### Command line arguments
```
-a adapter id
Expand Down
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,41 @@ and press enter.
Michael Ira Krufky
mkrufky at linuxtv dot org

#### How to build / run
libdvbtee was originally developed using the qmake build system for easy
multi-platform build support. libdvbtee still supports the qmake system,
but now uses autotools as the preferred build system for various reasons.
```
autoreconf --install
./configure
make
dvbtee/dvbtee < mpegfile.ts
```

If, for some odd reason, you want to build libdvbtee using the old version of
the table / descriptor decoder, simple specify --enable-olddecoder to configure
```
autoreconf --install
./configure --enable-olddecoder
make
dvbtee/dvbtee < mpegfile.ts
```

If you prefer to use qmake rather than autotools, use the following commands:
```
qmake -r
make
LD_LIBRARY_PATH=libdvbtee:libdvbtee_server dvbtee/dvbtee < mpegfile.ts
```

If, for some odd reason, you want to build libdvbtee using the old version of
the table / descriptor decoder, simple specify CONFIG+=olddecoder to qmake
```
qmake -r CONFIG+=olddecoder
make
LD_LIBRARY_PATH=libdvbtee:libdvbtee_server dvbtee/dvbtee < mpegfile.ts
```

#### Command line arguments
```
-a adapter id
Expand Down

0 comments on commit 4493585

Please sign in to comment.