gnu: libmpdclient: Update to 2.13.

* gnu/packages/mpd.scm (libmpdclient): Update to 2.13.
[build-system]: Switch to meson-build-system.
[native-inputs]: Add pkg-config and check.
[arguments]: Enable tests and build documentation.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-13 20:42:52 +01:00
parent 265c31f5a3
commit 7da9e792e4
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 17 additions and 4 deletions

View File

@ -5,6 +5,7 @@
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -28,6 +29,7 @@
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python) #:use-module (guix build-system python)
#:use-module (gnu packages avahi) #:use-module (gnu packages avahi)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
@ -55,7 +57,7 @@
(define-public libmpdclient (define-public libmpdclient
(package (package
(name "libmpdclient") (name "libmpdclient")
(version "2.11") (version "2.13")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -64,9 +66,20 @@
"/libmpdclient-" version ".tar.xz")) "/libmpdclient-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1xms8q44g6zc7sc212qpcihq6ch3pmph3i1m9hzymmy0jcw6kzhm")))) "0pflbv2jzik7yxnacci1iqs0awy1i5ipwn67xk0hg9r0pi9bs5ai"))))
(build-system gnu-build-system) (build-system meson-build-system)
(native-inputs `(("doxygen" ,doxygen))) (native-inputs
`(("pkg-config" ,pkg-config)
;; For building HTML documentation.
("doxygen" ,doxygen)
;; For tests.
("check" ,check)))
(arguments
`(#:configure-flags
(list "-Ddocumentation=true"
"-Dtest=true")))
(synopsis "Music Player Daemon client library") (synopsis "Music Player Daemon client library")
(description "A stable, documented, asynchronous API library for (description "A stable, documented, asynchronous API library for
interfacing MPD in the C, C++ & Objective C languages.") interfacing MPD in the C, C++ & Objective C languages.")