2015-09-15 11:13:22 +02:00
|
|
|
{ stdenv, fetchurl, which, qt4, xlibsWrapper, 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-09-15 11:13:22 +02:00
|
|
|
freetype qt4 lame zlib xlibsWrapper 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; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://www.mythtv.org/;
|
2014-11-02 21:06:40 +01:00
|
|
|
description = "Open Source DVR";
|
|
|
|
license = licenses.gpl2;
|
2017-12-05 23:20:11 +01:00
|
|
|
platforms = platforms.linux;
|
2014-11-02 21:06:40 +01:00
|
|
|
maintainers = [ maintainers.titanous ];
|
|
|
|
};
|
2005-01-20 22:11:49 +01:00
|
|
|
}
|