2013-11-10 17:46:00 +01:00
|
|
|
{stdenv, fetchurl, ncurses, libjpeg, libX11, libXt, alsaLib, aalib, libXft, xproto, libv4l
|
|
|
|
, libFS, fontsproto, libXaw, libXpm, libXext, libSM, libICE, perl, xextproto, linux}:
|
2006-01-04 00:18:20 +01:00
|
|
|
|
2013-11-10 17:46:00 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xawtv-3.103";
|
2006-01-04 00:18:20 +01:00
|
|
|
src = fetchurl {
|
2013-11-10 17:46:00 +01:00
|
|
|
url = "http://linuxtv.org/downloads/xawtv/${name}.tar.bz2";
|
|
|
|
sha256 = "0lnxr3xip80g0rz7h6n14n9d1qy0cm56h0g1hsyr982rbldskwrc";
|
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
|
|
|
|
|
|
|
configureFlags="--prefix=";
|
|
|
|
NIX_LDFLAGS="-lgcc_s";
|
|
|
|
|
|
|
|
makeFlags = "SUID_ROOT= DESTDIR=\$(out) PREFIX=";
|
|
|
|
|
|
|
|
buildInputs = [ncurses libjpeg libX11 libXt libXft xproto libFS perl alsaLib aalib
|
|
|
|
fontsproto libXaw libXpm libXext libSM libICE xextproto libv4l];
|
|
|
|
|
|
|
|
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/;
|
2013-11-10 17:46:00 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ iElectric ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2006-01-04 00:18:20 +01:00
|
|
|
|
|
|
|
}
|