From: rennes <rennes@openmailbox.org>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] gnu: Add gsound.
Date: Sat, 01 Oct 2016 07:35:37 -0500 [thread overview]
Message-ID: <1475325337.2065.2.camel@openmailbox.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 110 bytes --]
Hello,
this patch is gsound library required for gnome-clocks application.
Built and linted.
Thank you
[-- Attachment #2: 0001-gnu-Add-gsound.patch --]
[-- Type: text/x-patch, Size: 2640 bytes --]
From 1d8368a12295c223626a3638d45e50a2043b980c Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@openmailbox.org>
Date: Sat, 1 Oct 2016 07:17:34 -0500
Subject: [PATCH 1/2] gnu: Add gsound.
* gnu/packages/gsound.scm (gsound): New variable.
---
gnu/packages/gsound.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 gnu/packages/gsound.scm
diff --git a/gnu/packages/gsound.scm b/gnu/packages/gsound.scm
new file mode 100644
index 0000000..6894bbe
--- /dev/null
+++ b/gnu/packages/gsound.scm
@@ -0,0 +1,53 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
+;;;
+;;; 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 gsound)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix download)
+ #:use-module (guix packages)
+ #:use-module (guix utils)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages libcanberra)
+ #:use-module (gnu packages pkg-config))
+
+(define-public gsound
+ (package
+ (name "gsound")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib) ; for gio-2.0.
+ ("libcanberra" ,libcanberra)))
+ (home-page "https://wiki.gnome.org/Projects/GSound")
+ (synopsis "Small library for playing system sounds")
+ (description
+ "Designed to be used via GObject Introspection,
+and is a thin wrapper around the libcanberra C library.")
+ (license license:lgpl2.1)))
--
2.10.0
next reply other threads:[~2016-10-01 12:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-01 12:35 rennes [this message]
2016-10-06 21:10 ` [PATCH 1/2] gnu: Add gsound Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475325337.2065.2.camel@openmailbox.org \
--to=rennes@openmailbox.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).