nixpkgs-suyu/pkgs/applications/video/mythtv/default.nix

38 lines
1.2 KiB
Nix
Raw Normal View History

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
}:
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";
2018-03-18 23:38:07 +01:00
src = fetchFromGitHub {
owner = "MythTV";
repo = "mythtv";
rev = "v${version}";
sha256 = "0pjxv4bmq8h285jsr02svgaa03614arsyk12fn9d4rndjsi2cc3x";
};
2018-03-18 23:38:07 +01:00
setSourceRoot = ''sourceRoot=$(echo */mythtv)'';
2014-11-02 21:06:40 +01: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
];
2014-11-02 21:06:40 +01:00
nativeBuildInputs = [ pkgconfig which yasm libtool autoconf automake file ];
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; {
homepage = https://www.mythtv.org/;
2014-11-02 21:06:40 +01:00
description = "Open Source DVR";
license = licenses.gpl2;
platforms = platforms.linux;
2014-11-02 21:06:40 +01:00
maintainers = [ maintainers.titanous ];
};
}