From 6366cef38da68dc2a8dca3c4070d852d54b69d7e Mon Sep 17 00:00:00 2001 From: Fabian Harfert Date: Sun, 7 Feb 2016 14:41:25 +0100 Subject: [PATCH] gnu: Add libcanberra-gtk2. * gnu/packages/libcanberra.scm (libcanberra/gtk+-2): New variable. --- gnu/packages/libcanberra.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/libcanberra.scm b/gnu/packages/libcanberra.scm index 3769e3fe21..50c0f80eed 100644 --- a/gnu/packages/libcanberra.scm +++ b/gnu/packages/libcanberra.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Andreas Enge ;;; Copyright © 2014, 2015 Ludovic Courtès +;;; Copyright © 2016 Fabian Harfert ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,6 +25,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix build utils) #:use-module (gnu packages autotools) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) @@ -96,6 +98,12 @@ GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable.") (license lgpl2.1+))) +(define-public libcanberra/gtk+-2 + (package (inherit libcanberra) + (name "libcanberra-gtk2") + (inputs `(,@(alist-delete "gtk+" (package-inputs libcanberra)) + ("gtk+" ,gtk+-2))))) + (define-public sound-theme-freedesktop (package (name "sound-theme-freedesktop")