2003-12-03 21:58:16 +00:00
|
|
|
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
|
2004-03-29 17:23:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2009-03-10 21:03:51 +00:00
|
|
|
name = "libdvdread-4.1.3";
|
|
|
|
|
2003-12-03 21:58:16 +00:00
|
|
|
src = fetchurl {
|
2009-03-10 21:03:51 +00:00
|
|
|
url = http://www.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdread-4.1.3.tar.bz2;
|
|
|
|
sha1 = "fc4c7ba3e49929191e057b435bc4f867583ea8d5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libdvdcss];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-ldvdcss";
|
|
|
|
|
|
|
|
configureScript = "./configure2"; # wtf?
|
|
|
|
|
|
|
|
preConfigure = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out
|
2009-03-10 21:03:51 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
ln -s dvdread $out/include/libdvdread
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.mplayerhq.hu/;
|
|
|
|
description = "A library for reading DVDs";
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
}
|