2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, libdvdread}:
|
2015-05-15 04:26:16 +01:00
|
|
|
|
|
|
|
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 {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.1.tar.xz";
|
2015-05-15 04:26:16 +01:00
|
|
|
sha256 = "7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-05-15 04:26:16 +01:00
|
|
|
buildInputs = [libdvdread];
|
|
|
|
|
|
|
|
configureScript = "./configure2"; # wtf?
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
mkdir -p $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://dvdnav.mplayerhq.hu/";
|
2015-05-15 04:26:16 +01:00
|
|
|
description = "A library that implements DVD navigation features such as DVD menus";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.wmertens ];
|
|
|
|
platforms = lib.platforms.linux;
|
2015-05-15 04:26:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = { inherit libdvdread; };
|
|
|
|
}
|