mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: taglib: Update to 2.1.1.
* gnu/packages/mp3.scm (taglib): Update to 2.1.1. [source]: Use git commit v2.1.1. [arguments]: Remove adjust-zlib-ldflags phases — no longer needed as upstream CMake now finds utfcpp and zlib automatically. [inputs]: Add cppunit, utfcpp input. Change-Id: I885ae09ceace3b88c131b429a27aea7ab57223e9 Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
This commit is contained in:
parent
a5fe365769
commit
96e79bdbfb
1 changed files with 6 additions and 16 deletions
|
@ -60,6 +60,7 @@
|
||||||
#:use-module (gnu packages python-xyz)
|
#:use-module (gnu packages python-xyz)
|
||||||
#:use-module (gnu packages xiph)
|
#:use-module (gnu packages xiph)
|
||||||
#:use-module (gnu packages pulseaudio)
|
#:use-module (gnu packages pulseaudio)
|
||||||
|
#:use-module (gnu packages textutils) ;utfcpp
|
||||||
#:use-module (gnu packages linux) ;alsa-lib
|
#:use-module (gnu packages linux) ;alsa-lib
|
||||||
#:use-module (gnu packages video) ;ffmpeg
|
#:use-module (gnu packages video) ;ffmpeg
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
|
@ -244,7 +245,7 @@ a highly stable and efficient implementation.")
|
||||||
(define-public taglib
|
(define-public taglib
|
||||||
(package
|
(package
|
||||||
(name "taglib")
|
(name "taglib")
|
||||||
(version "1.12")
|
(version "2.1.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -253,23 +254,12 @@ a highly stable and efficient implementation.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0q7dkn5rh9v6b0scmcp2qmjv3iransafmpn6jvgid0yq75m2nqd2"))))
|
"0m1xyjsg6a8p4prn1xr1g29zsxqr7606cv3cblgjgxkb1dk26fx7"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; Tests are not ran with BUILD_SHARED_LIBS on.
|
(list
|
||||||
#:configure-flags (list "-DBUILD_SHARED_LIBS=ON")
|
#:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")))
|
||||||
#:phases (modify-phases %standard-phases
|
(inputs (list cppunit utfcpp zlib))
|
||||||
(add-before 'configure 'adjust-zlib-ldflags
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
;; Make sure users of 'taglib-config --libs' get the -L
|
|
||||||
;; flag for zlib.
|
|
||||||
(substitute* "CMakeLists.txt"
|
|
||||||
(("set\\(ZLIB_LIBRARIES_FLAGS -lz\\)")
|
|
||||||
(string-append "set(ZLIB_LIBRARIES_FLAGS \"-L"
|
|
||||||
(assoc-ref inputs "zlib")
|
|
||||||
"/lib -lz\")")))
|
|
||||||
#t)))))
|
|
||||||
(inputs (list zlib))
|
|
||||||
(home-page "https://taglib.org")
|
(home-page "https://taglib.org")
|
||||||
(synopsis "Library to access audio file meta-data")
|
(synopsis "Library to access audio file meta-data")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue