2015-05-27 21:42:15 +02:00
|
|
|
{ stdenv, fetchurl, which, qt4, x11, libpulseaudio, fftwSinglePrec
|
2012-03-16 23:26:26 +01:00
|
|
|
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
|
|
|
|
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
|
2014-11-02 21:06:40 +01:00
|
|
|
, yasm, libuuid, taglib, libtool, autoconf, automake, file
|
2006-10-17 10:00:50 +02:00
|
|
|
}:
|
2005-01-20 22:11:49 +01:00
|
|
|
|
2012-03-16 23:26:26 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-11-02 21:06:40 +01:00
|
|
|
name = "mythtv-${version}";
|
|
|
|
version = "0.27.4";
|
2005-01-22 01:19:27 +01:00
|
|
|
|
2005-01-20 22:11:49 +01:00
|
|
|
src = fetchurl {
|
2014-11-02 21:06:40 +01:00
|
|
|
url = "https://github.com/MythTV/mythtv/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "0nrn4fbkkzh43n7jgbv21i92sb4z4yacwj9yj6m3hjbffzy4ywqz";
|
2005-01-20 22:11:49 +01:00
|
|
|
};
|
|
|
|
|
2014-11-02 21:06:40 +01:00
|
|
|
sourceRoot = "${name}/mythtv";
|
|
|
|
|
2006-09-14 15:24:06 +02:00
|
|
|
buildInputs = [
|
2015-05-27 21:42:15 +02:00
|
|
|
freetype qt4 lame zlib x11 mesa perl alsaLib libpulseaudio fftwSinglePrec
|
2012-03-16 23:26:26 +01:00
|
|
|
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
2014-11-02 21:06:40 +01:00
|
|
|
libuuid taglib
|
2006-09-14 22:49:00 +02:00
|
|
|
];
|
2014-11-02 21:06:40 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig which yasm libtool autoconf automake file ];
|
2012-03-16 23:26:26 +01:00
|
|
|
|
2014-11-02 21:06:40 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://www.mythtv.org/";
|
|
|
|
description = "Open Source DVR";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
meta.platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.titanous ];
|
|
|
|
};
|
2005-01-20 22:11:49 +01:00
|
|
|
}
|