libdvd{read,nav}: Version bump and patch from Handbrake project

- API-compatible version bumps to latest upstream
Patches:
- A08: Adds API call to duplicate a DVD VM to libdvdnav
- P00: Skip making examples
This commit is contained in:
Wout Mertens
2014-05-04 01:56:48 +02:00
parent 66216ea6db
commit c02f80375f
4 changed files with 175 additions and 15 deletions
@@ -1,29 +1,25 @@
{stdenv, fetchurl, libdvdcss}:
stdenv.mkDerivation {
name = "libdvdread-4.2.1";
name = "libdvdread-4.9.9";
src = fetchurl {
url = http://dvdnav.mplayerhq.hu/releases/libdvdread-4.2.1.tar.xz;
sha256 = "af9b98f049580a6521d56c978b736d3d609562dd12955e11d50e26d97542dcd4";
url = http://dvdnav.mplayerhq.hu/releases/libdvdread-4.9.9.tar.xz;
sha256 = "d91275471ef69d488b05cf15c60e1cd65e17648bfc692b405787419f47ca424a";
};
buildInputs = [libdvdcss];
NIX_LDFLAGS = "-ldvdcss";
configureScript = "./configure2"; # wtf?
preConfigure = ''
mkdir -p $out
'';
postInstall = ''
ln -s dvdread $out/include/libdvdread
'';
meta = {
homepage = http://www.mplayerhq.hu/;
homepage = http://dvdnav.mplayerhq.hu/;
description = "A library for reading DVDs";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.wmertens ];
};
}