2019-12-29 22:15:41 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, ncurses
|
|
|
|
, libjpeg
|
|
|
|
, libX11
|
|
|
|
, libXt
|
|
|
|
, alsaLib
|
|
|
|
, aalib
|
|
|
|
, libXft
|
|
|
|
, xorgproto
|
|
|
|
, libv4l
|
|
|
|
, libFS
|
|
|
|
, libXaw
|
|
|
|
, libXpm
|
|
|
|
, libXext
|
|
|
|
, libSM
|
|
|
|
, libICE
|
|
|
|
, perl
|
|
|
|
}:
|
2006-01-04 00:18:20 +01:00
|
|
|
|
2013-11-10 17:46:00 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-05-27 23:08:32 +02:00
|
|
|
name = "xawtv-3.107";
|
2019-12-29 22:15:41 +01:00
|
|
|
|
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";
|
2020-05-27 23:08:32 +02:00
|
|
|
sha256 = "055p0wia0xsj073l8mg4ifa6m81dmv6p45qyh99brramq5iylfy5";
|
2006-01-04 00:18:20 +01:00
|
|
|
};
|
2013-11-10 17:46:00 +01:00
|
|
|
|
2020-08-11 11:34:09 +02:00
|
|
|
patches = [
|
|
|
|
./0001-Fix-build-for-glibc-2.32.patch
|
|
|
|
];
|
|
|
|
|
2019-12-29 22:15:41 +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
|
|
|
|
2019-12-29 22:15:41 +01:00
|
|
|
makeFlags = [
|
|
|
|
"SUID_ROOT=" # do not try to setuid
|
|
|
|
"resdir=${placeholder ''out''}/share/X11"
|
|
|
|
];
|
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;
|
2020-04-01 03:11:51 +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
|
|
|
}
|