2018-03-18 22:38:07 +00:00
|
|
|
{ stdenv, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper
|
|
|
|
, libpulseaudio, fftwSinglePrec , lame, zlib, libGLU_combined, alsaLib, freetype
|
|
|
|
, perl, pkgconfig , libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm
|
|
|
|
, libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2
|
|
|
|
, linuxHeaders
|
2006-10-17 09:00:50 +01:00
|
|
|
}:
|
2005-01-20 21:11:49 +00:00
|
|
|
|
2012-03-16 22:26:26 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-11-02 20:06:40 +00:00
|
|
|
name = "mythtv-${version}";
|
2018-03-18 22:38:07 +00:00
|
|
|
version = "29.1";
|
2005-01-22 00:19:27 +00:00
|
|
|
|
2018-03-18 22:38:07 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MythTV";
|
|
|
|
repo = "mythtv";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0pjxv4bmq8h285jsr02svgaa03614arsyk12fn9d4rndjsi2cc3x";
|
2005-01-20 21:11:49 +00:00
|
|
|
};
|
|
|
|
|
2018-03-18 22:38:07 +00:00
|
|
|
setSourceRoot = ''sourceRoot=$(echo */mythtv)'';
|
2014-11-02 20:06:40 +00:00
|
|
|
|
2006-09-14 14:24:06 +01:00
|
|
|
buildInputs = [
|
2018-03-18 22:38:07 +00:00
|
|
|
freetype qtbase qtwebkit qtscript lame zlib xlibsWrapper libGLU_combined
|
|
|
|
perl alsaLib libpulseaudio fftwSinglePrec libX11 libXv libXrandr libXvMC
|
|
|
|
libXmu libXinerama libXxf86vm libXmu libuuid taglib exiv2
|
2006-09-14 21:49:00 +01:00
|
|
|
];
|
2014-11-02 20:06:40 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig which yasm libtool autoconf automake file ];
|
2012-03-16 22:26:26 +00:00
|
|
|
|
2018-03-18 22:38:07 +00:00
|
|
|
configureFlags = [ "--dvb-path=${linuxHeaders}/include" ];
|
|
|
|
|
2014-11-02 20:06:40 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://www.mythtv.org/;
|
2014-11-02 20:06:40 +00:00
|
|
|
description = "Open Source DVR";
|
|
|
|
license = licenses.gpl2;
|
2017-12-05 22:20:11 +00:00
|
|
|
platforms = platforms.linux;
|
2014-11-02 20:06:40 +00:00
|
|
|
maintainers = [ maintainers.titanous ];
|
|
|
|
};
|
2005-01-20 21:11:49 +00:00
|
|
|
}
|