diff options
| author | Andreas Enge <andreas@enge.fr> | 2015-01-24 18:05:03 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2015-01-24 18:05:03 +0100 |
| commit | b027d919cb3c4177884f9f2a1e92e775b3061901 (patch) | |
| tree | c0154e0ffc69d2542051e04c7ce338fbd2f6ded5 /gnu | |
| parent | e6bdb36a51857476d8f410bedd09495fbb97db21 (diff) | |
gnu: Add libdvdnav.
* gnu/packages/video.scm (libdvdnav): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/video.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index fe932f65ee7..9cdfbf11dae 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm | |||
| @@ -436,3 +436,35 @@ DVDs. It parses IFO files, reads NAV-blocks, and performs CSS | |||
| 436 | authentication and descrambling (if an external libdvdcss library is | 436 | authentication and descrambling (if an external libdvdcss library is |
| 437 | installed).") | 437 | installed).") |
| 438 | (license gpl2+))) | 438 | (license gpl2+))) |
| 439 | |||
| 440 | (define-public libdvdnav | ||
| 441 | (package | ||
| 442 | (name "libdvdnav") | ||
| 443 | (version "5.0.1") | ||
| 444 | (source (origin | ||
| 445 | (method url-fetch) | ||
| 446 | (uri (string-append "http://download.videolan.org/videolan/" | ||
| 447 | name "/" version "/" | ||
| 448 | name "-" version ".tar.bz2")) | ||
| 449 | (sha256 | ||
| 450 | (base32 | ||
| 451 | "1ad2lkkiydgwiyqfysra9lkwjv9yqnvcg4hv92hx8qzics1cpcbj")))) | ||
| 452 | (build-system gnu-build-system) | ||
| 453 | (native-inputs | ||
| 454 | `(("pkg-config" ,pkg-config))) | ||
| 455 | (inputs | ||
| 456 | `(("libdvdread" ,libdvdread))) | ||
| 457 | (home-page "http://dvdnav.mplayerhq.hu/") | ||
| 458 | (synopsis "Library for video DVD navigation features") | ||
| 459 | (description | ||
| 460 | "Libdvdnav is a library for developers of multimedia | ||
| 461 | applications. It allows easy use of sophisticated DVD navigation features | ||
| 462 | such as DVD menus, multiangle playback and even interactive DVD games. All | ||
| 463 | this functionality is provided through a simple API which provides the DVD | ||
| 464 | playback as a single logical stream of blocks, intermitted by special | ||
| 465 | dvdnav events to report certain conditions. The main usage of libdvdnav is | ||
| 466 | a loop regularly calling a function to get the next block, surrounded by | ||
| 467 | additional calls to tell the library of user interaction. The whole | ||
| 468 | DVD virtual machine and internal playback states are completely | ||
| 469 | encapsulated.") | ||
| 470 | (license gpl2+))) | ||
