aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tv.scm
blob: 3927aca776f676b6d73466315a6c4ba656f4aa37 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2017, 2018 Alex Kost <alezost@gmail.com>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages tv)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages image)
  #:use-module (gnu packages linux)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages xorg))

(define-public tvtime
  (package
    (name "tvtime")
    (version "1.0.11")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://linuxtv.org/downloads/tvtime/tvtime-"
                    version ".tar.gz"))
              (sha256
               (base32
                "1367rl3n6qxwf30lqyz234zpb43s9xjhig3hrvbg7cbqcl8g4fs0"))))
    (build-system gnu-build-system)
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'fix-glibc-compatability
           (lambda _
             (substitute* "src/get_media_devices.c"
               (("<sys/stat.h>")
                "<sys/stat.h>\n#include <sys/sysmacros.h>"))
             #t)))))
    (inputs
     (list alsa-lib
           libx11
           libxext
           libxt
           libxtst
           libxinerama
           libxv
           libxxf86vm
           libpng
           libxml2
           freetype
           zlib))
    (native-inputs
     (list pkg-config))
    (home-page "http://tvtime.sourceforge.net")
    (synopsis "Television viewer")
    (description
     "Tvtime processes the input from your video capture card and
displays it on a monitor.  It focuses on a high visual quality.")
    (license license:gpl2+)))
(Build Systems)[elm-build-system]: Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-explorations-markdown....* gnu/packages/elm.scm (elm-explorations-markdown): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-project-metadata-utils....* gnu/packages/elm.scm (elm-project-metadata-utils): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-parser....* gnu/packages/elm.scm (elm-parser): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-http....* gnu/packages/elm.scm (elm-http): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-file....* gnu/packages/elm.scm (elm-file): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-bytes....* gnu/packages/elm.scm (elm-bytes): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-browser....* gnu/packages/elm.scm (elm-browser): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-url....* gnu/packages/elm.scm (elm-url): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-time....* gnu/packages/elm.scm (elm-time): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-svg....* gnu/packages/elm.scm (elm-svg): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-html....* gnu/packages/elm.scm (elm-html): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-virtual-dom....* gnu/packages/elm.scm (elm-virtual-dom): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: Add elm-core and elm-json....Both of these packages are needed for 'elm-build-system' to work. * gnu/packages/elm.scm (elm-core, elm-json, elm-json-bootstrap): New variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22guix: Add elm-build-system....* gnu/packages/patches/elm-offline-package-registry.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/elm.scm (elm): Use it. * guix/build-system/elm.scm, guix/build/elm-build-system.scm, tests/elm.scm: New files. * Makefile.scm (MODULES, SCM_TESTS): Add them. * doc/guix.texi (Build Systems): Document 'elm-build-system'. * doc/contributing.texi (Elm Packages): New section. Document naming conventions and utilities. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: elm: Rename package to match the command....* gnu/packages/elm.scm (elm-compiler): Rename to ... (elm): ... this variable, leaving 'elm-compiler' as a deprecated alias. [description]: Tweak. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2022-05-22gnu: elm-compiler: Update to 0.19.1....* gnu/packages/patches/elm-compiler-disable-reactor.patch, gnu/packages/patches/elm-compiler-fix-map-key.patch: Delete files. * gnu/packages/patches/elm-reactor-static-files.patch: New file. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/elm.scm (elm-compiler): Update to 0.19.1. [origin]<patches>: Remove stale patches. Add new patch. [arguments]: Use G-expressions. Add #:configure-flags for new patch. [inputs]: Remove ghc-file-embed. Add ghc-filelock. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath