2015-04-09 02:41:01 +01:00
|
|
|
{ stdenv, fetchurl, popt }:
|
2008-01-10 13:37:32 +00:00
|
|
|
|
2015-04-09 02:41:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-03-06 23:21:28 +00:00
|
|
|
name = "libdv-1.0.0";
|
2008-01-10 13:37:32 +00:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
src = fetchurl {
|
2015-04-09 02:41:01 +01:00
|
|
|
url = "mirror://sourceforge/libdv/${name}.tar.gz";
|
2009-03-06 23:21:28 +00:00
|
|
|
sha256 = "1fl96f2xh2slkv1i1ix7kqk576a0ak1d33cylm0mbhm96d0761d3";
|
|
|
|
};
|
|
|
|
|
2015-04-09 02:41:01 +01:00
|
|
|
# This fixes an undefined symbol: _sched_setscheduler error on compile.
|
|
|
|
# See the apple docs: http://cl.ly/2HeF bottom of the "Finding Imported Symbols" section
|
|
|
|
LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-undefined dynamic_lookup";
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-asm"
|
|
|
|
"--disable-sdl"
|
|
|
|
"--disable-gtk"
|
|
|
|
"--disable-xv"
|
|
|
|
"--disable-gprof"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ popt ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Software decoder for DV format video, as defined by the IEC 61834 and SMPTE 314M standards";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://sourceforge.net/projects/libdv/;
|
2015-04-09 02:41:01 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.unix;
|
2008-01-10 13:37:32 +00:00
|
|
|
};
|
2008-12-20 01:20:35 +00:00
|
|
|
}
|