blob: d5d2e55ebd399cfeb0fbc407ca10ca8fd5c8ad89 (
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
|
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;;
;;; This file is NOT 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 (siguix packages volctl)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages xorg)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module (guix packages)
#:use-module (siguix packages python-pulsectl))
(define-public volctl
(package
(name "volctl")
(version "0.9.1")
(source (origin
(method git-fetch)
(uri (git-reference (url "https://github.com/buzz/volctl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1pp70fnjszzin812iis9hgwfr769xlqfp6f50xrg3nb0r2vs5ch3"))))
(build-system python-build-system)
(inputs
`(("gtk+" ,gtk+)
("libxfixes" ,libxfixes)
("pulseaudio" ,pulseaudio)
("python-pulsectl" ,python-pulsectl)))
(propagated-inputs
`(("python-click" ,python-click)
("python-pycairo" ,python-pycairo)
("python-pygobject" ,python-pygobject)
("python-pyyaml" ,python-pyyaml)))
(home-page "https://buzz.github.io/volctl/")
(synopsis "Per-application volume control and on-screen display (OSD) for graphical desktops")
(description "Volctl is a PulseAudio-enabled tray icon volume control and
OSD applet for graphical desktops. It's not meant to be an replacement for a
full-featured mixer application. If you're looking for that check out the
excellent pavucontrol.")
;; XXX: 'setup.py' says "GPLv2" but nothing says "version 2 only". Is
;; GPLv2+ intended?
(license license:gpl2)))
|