2018-03-18 23:38:07 +01: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 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}";
|
2018-03-18 23:38:07 +01:00
|
|
|
version = "29.1";
|
2005-01-22 01:19:27 +01:00
|
|
|
|
2018-03-18 23:38:07 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MythTV";
|
|
|
|
repo = "mythtv";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0pjxv4bmq8h285jsr02svgaa03614arsyk12fn9d4rndjsi2cc3x";
|
2005-01-20 22:11:49 +01:00
|
|
|
};
|
|
|
|
|
2018-03-18 23:38:07 +01:00
|
|
|
setSourceRoot = ''sourceRoot=$(echo */mythtv)'';
|
2014-11-02 21:06:40 +01:00
|
|
|
|
2006-09-14 15:24:06 +02:00
|
|
|
buildInputs = [
|
2018-03-18 23:38:07 +01: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 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
|
|
|
|
2018-03-18 23:38:07 +01:00
|
|
|
configureFlags = [ "--dvb-path=${linuxHeaders}/include" ];
|
|
|
|
|
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
|
|
|
}
|