2014-05-04 00:23:13 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, libdvdread}:
|
2006-06-30 00:48:19 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-05-04 00:23:13 +01:00
|
|
|
name = "libdvdnav-4.2.1";
|
2009-03-10 21:03:51 +00:00
|
|
|
|
2006-06-30 00:48:19 +01:00
|
|
|
src = fetchurl {
|
2014-05-04 00:23:13 +01:00
|
|
|
url = http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.1.tar.xz;
|
|
|
|
sha256 = "7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372";
|
2006-06-30 00:48:19 +01:00
|
|
|
};
|
2009-03-10 21:03:51 +00:00
|
|
|
|
2014-05-04 00:23:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2009-03-10 21:03:51 +00:00
|
|
|
buildInputs = [libdvdread];
|
|
|
|
|
|
|
|
configureScript = "./configure2"; # wtf?
|
|
|
|
|
|
|
|
preConfigure = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out
|
2009-03-10 21:03:51 +00:00
|
|
|
'';
|
|
|
|
|
2014-05-04 00:23:13 +01:00
|
|
|
# From Handbrake
|
|
|
|
patches = [ ./A08-dvdnav-dup.patch ./P00-mingw-no-examples.patch ];
|
|
|
|
|
2009-03-10 21:03:51 +00:00
|
|
|
meta = {
|
2014-05-04 00:23:13 +01:00
|
|
|
homepage = http://dvdnav.mplayerhq.hu/;
|
2009-03-10 21:03:51 +00:00
|
|
|
description = "A library that implements DVD navigation features such as DVD menus";
|
2014-05-04 00:23:13 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
2009-03-10 21:03:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = { inherit libdvdread; };
|
2006-06-30 00:48:19 +01:00
|
|
|
}
|