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

38 lines
1.2 KiB
Nix
Raw Normal View History

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