1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018 Alex Kost <alezost@gmail.com>
3 ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages tv)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages compression)
27 #:use-module (gnu packages fontutils)
28 #:use-module (gnu packages image)
29 #:use-module (gnu packages linux)
30 #:use-module (gnu packages pkg-config)
31 #:use-module (gnu packages xml)
32 #:use-module (gnu packages xorg))
41 "https://linuxtv.org/downloads/tvtime/tvtime-"
45 "1367rl3n6qxwf30lqyz234zpb43s9xjhig3hrvbg7cbqcl8g4fs0"))))
46 (build-system gnu-build-system)
49 (modify-phases %standard-phases
50 (add-after 'unpack 'fix-glibc-compatability
52 (substitute* "src/get_media_devices.c"
54 "<sys/stat.h>\n#include <sys/sysmacros.h>"))
57 `(("alsa-lib" ,alsa-lib)
62 ("libxinerama" ,libxinerama)
64 ("libxxf86vm" ,libxxf86vm)
67 ("freetype" ,freetype)
70 `(("pkg-config" ,pkg-config)))
71 (home-page "http://tvtime.sourceforge.net")
72 (synopsis "Television viewer")
74 "Tvtime processes the input from your video capture card and
75 displays it on a monitor. It focuses on a high visual quality.")
76 (license license:gpl2+)))