aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lirc.scm
blob: c070e1aaa4fc97fcb3478a68049aa7e1e8c5fd67 (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;;;
;;; 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 lirc)
  #: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 pkg-config)
  #:use-module (gnu packages linux)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages python))

(define-public lirc
  (package
    (name "lirc")
    (version "0.9.2a")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://sourceforge/lirc/lirc-"
                                  version ".tar.bz2"))
              (sha256
               (base32
                "011nwpxm5d12rsapljg3pjf9pgb0j8ngmc3zg69q4kv61hkx2zim"))
              (patches (list (search-patch "lirc-localstatedir.patch")))))
    (build-system gnu-build-system)
    (arguments
     '(#:configure-flags '("--localstatedir=/var")))
    (native-inputs
     `(("pkg-config" ,pkg-config)))
    (inputs
     `(("libx11" ,libx11)
       ("alsa-lib" ,alsa-lib)
       ("python" ,python)))
    (home-page "http://www.lirc.org/")
    (synopsis "Linux Infrared Remote Control")
    (description
     "LIRC allows computers to send and receive IR signals of many commonly
used remote controls.  The most important part of LIRC is the 'lircd' daemon
that decodes IR signals received by the device drivers.  The second daemon
program 'lircmd' allows to translate IR signals to mouse movements.  The
user space applications allow you to control your computer with a remote
control: you can send X events to applications, start programs and much more
on just one button press.")
    (license license:gpl2+)))
9 +0200'>2021-04-11.guix-authorizations: Add raghavgururajan.Tobias Geerinckx-Rice 2021-04-09Revert ".guix-authorizations: Remove biscuolo due to inactivity."Leo Famulari 2021-04-07.guix-authorizations: Remove biscuolo due to inactivity.Leo Famulari 2021-04-07.guix-authorizations: Remove wingo due to inactivity.Leo Famulari 2021-04-07.guix-authorizations: Remove sleep_walker due to inactivity.Leo Famulari 2021-04-07.guix-authorizations: Remove rhelling due to inactivity.Leo Famulari 2021-04-07.guix-authorizations: Remove lsl88 due to inactivity.Leo Famulari 2021-04-07.guix-authorizations: Remove benwoodcroft due to inactivity.Leo Famulari 2021-04-07.guix-authorizations: Remove alexvong1995 due to inactivity.Leo Famulari 2021-04-06.guix-authorizations: Remove taylanub.Leo Famulari 2021-04-06.guix-authorizations: Remove thomasd.Leo Famulari 2021-03-08.guix-authorizations: Add lbraun.Leo Famulari 2021-02-18.guix-authorizations: Add lle_bout.Tobias Geerinckx-Rice 2020-12-28.guix-authorizations: Add leoprikler.Ludovic Courtès 2020-11-15.guix-authorizations: Add jonsger.Marius Bakke 2020-10-16.guix-authorizations: Add m1gu3l.Ludovic Courtès 2020-09-04.guix-authorizations: Add planglois to the committers.Ludovic Courtès 2020-07-18.guix-authorizations: Add brettgilio (back) to the committers.Tobias Geerinckx-Rice 2020-07-01.guix-authorizations: Remove keys of two former contributors.Ludovic Courtès 2020-07-01.guix-authorizations: Remove former keys that are no longer used.Ludovic Courtès 2020-07-01.guix-authorizations: Remove brettgilio's old key.Ludovic Courtès 2020-05-04.guix-authorizations: Add bricewge to the committers.Ludovic Courtès 2020-05-04.guix-authorizations: Augment.Ludovic Courtès 2020-05-04Add '.guix-authorizations'.Ludovic Courtès