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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, ncurses
, libjpeg
, libX11
, libXt
, alsa-lib
, aalib
, libXft
, xorgproto
, libv4l
, libFS
, libXaw
, libXpm
, libXext
, libSM
, libICE
, perl
}:
stdenv.mkDerivation rec {
pname = "xawtv";
version = "3.107";
src = fetchurl {
url = "https://linuxtv.org/downloads/xawtv/xawtv-${version}.tar.bz2";
2020-05-27 21:08:32 +00:00
sha256 = "055p0wia0xsj073l8mg4ifa6m81dmv6p45qyh99brramq5iylfy5";
};
patches = [
./0001-Fix-build-for-glibc-2.32.patch
];
buildInputs = [
ncurses
libjpeg
libX11
libXt
libXft
xorgproto
libFS
perl
alsa-lib
aalib
libXaw
libXpm
libXext
libSM
libICE
libv4l
];
makeFlags = [
"SUID_ROOT=" # do not try to setuid
"resdir=${placeholder "out"}/share/X11"
];
meta = {
description = "TV application for Linux with apps and tools such as a teletext browser";
2021-01-15 05:42:41 +00:00
license = lib.licenses.gpl2;
homepage = "https://www.kraxel.org/blog/linux/xawtv/";
2021-01-15 05:42:41 +00:00
maintainers = with lib.maintainers; [ domenkozar ];
platforms = lib.platforms.linux;
};
}