2015-05-15 04:26:16 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, libdvdread}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libdvdnav-4.2.1";
|
2018-05-10 09:20:28 +01:00
|
|
|
|
2015-05-15 04:26:16 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.1.tar.xz;
|
|
|
|
sha256 = "7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [libdvdread];
|
|
|
|
|
|
|
|
configureScript = "./configure2"; # wtf?
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
mkdir -p $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://dvdnav.mplayerhq.hu/;
|
|
|
|
description = "A library that implements DVD navigation features such as DVD menus";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-05-15 04:26:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = { inherit libdvdread; };
|
|
|
|
}
|