mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
44ac9e249c
* VLC: updated to 0.9.8a. It now uses Qt for the GUI, which looks a lot better than the wxWidgets one. * libdvdread, libdvdnav: updated to 4.1.3. * ffmpeg: updated to 0.5 (a new release!). Got rid of the SVN version, which shouldn't be necessary anymore. svn path=/nixpkgs/trunk/; revision=14500
29 lines
574 B
Nix
29 lines
574 B
Nix
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libdvdread-4.1.3";
|
|
|
|
src = fetchurl {
|
|
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 = ''
|
|
ensureDir $out
|
|
'';
|
|
|
|
postInstall = ''
|
|
ln -s dvdread $out/include/libdvdread
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://www.mplayerhq.hu/;
|
|
description = "A library for reading DVDs";
|
|
};
|
|
}
|