2018-12-31 03:40:47 +00:00
|
|
|
{stdenv, fetchurl, ncurses, libjpeg, libX11, libXt, alsaLib, aalib, libXft, xorgproto, libv4l
|
|
|
|
, libFS, libXaw, libXpm, libXext, libSM, libICE, perl, linux}:
|
2006-01-03 23:18:20 +00:00
|
|
|
|
2013-11-10 16:46:00 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-03 11:29:29 +01:00
|
|
|
name = "xawtv-3.106";
|
2006-01-03 23:18:20 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://linuxtv.org/downloads/xawtv/${name}.tar.bz2";
|
2019-04-03 11:29:29 +01:00
|
|
|
sha256 = "174wd36rk0k23mgx9nlnpc398yd1f0wiv060963axg6sz0v4rksp";
|
2006-01-03 23:18:20 +00:00
|
|
|
};
|
2013-11-10 16:46:00 +00:00
|
|
|
|
2010-10-13 16:48:37 +01:00
|
|
|
preConfigure = ''
|
2013-11-10 16:46:00 +00:00
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${linux}/lib/modules/${linux.modDirVersion}/build"
|
2010-10-13 16:48:37 +01:00
|
|
|
'';
|
2013-11-10 16:46:00 +00:00
|
|
|
|
2018-08-03 17:52:40 +01:00
|
|
|
configureFlags= [ "--prefix=" ];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-lgcc_s";
|
2013-11-10 16:46:00 +00:00
|
|
|
|
|
|
|
makeFlags = "SUID_ROOT= DESTDIR=\$(out) PREFIX=";
|
|
|
|
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ncurses libjpeg libX11 libXt libXft xorgproto libFS perl alsaLib aalib
|
|
|
|
libXaw libXpm libXext libSM libICE libv4l];
|
2013-11-10 16:46:00 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "TV application for Linux with apps and tools such as a teletext browser";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2015-04-20 13:20:03 +01:00
|
|
|
homepage = https://www.kraxel.org/blog/linux/xawtv/;
|
2016-05-17 12:57:28 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ domenkozar ];
|
2013-11-10 16:46:00 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2006-01-03 23:18:20 +00:00
|
|
|
|
|
|
|
}
|