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