summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSughosha <sughosha@disroot.org>2025-10-27 09:03:13 +0530
committerAndreas Enge <andreas@enge.fr>2026-01-23 23:37:13 +0100
commit923226ad3c1c1936f444596b32c60d529dc0d478 (patch)
tree4acc6f17f97938e8d84069557b4a80e7f48ba350 /gnu
parent6d5255de95c941d59b27d8d7477eba729ae850c2 (diff)
gnu: taglib: Update to 2.1.1.
* gnu/packages/mp3.scm (taglib): Update to 2.1.1. [arguments]: Switch to gexp and realign. <#:tests?>: Do not disable. <#:phases>: Remove 'adjust-zlib-ldflags phase. [inputs]: Add cppunit, utfcpp and zlib. Change-Id: Ib5dbe9ecaf195ecac78751d7756558bf36c2f53c Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch> Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mp3.scm21
1 files changed, 5 insertions, 16 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index a9c5445399..29da5eb921 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -245,7 +245,7 @@ a highly stable and efficient implementation.")
(define-public taglib
(package
(name "taglib")
- (version "1.12")
+ (version "2.1.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -254,23 +254,12 @@ a highly stable and efficient implementation.")
(file-name (git-file-name name version))
(sha256
(base32
- "0q7dkn5rh9v6b0scmcp2qmjv3iransafmpn6jvgid0yq75m2nqd2"))))
+ "0m1xyjsg6a8p4prn1xr1g29zsxqr7606cv3cblgjgxkb1dk26fx7"))))
(build-system cmake-build-system)
(arguments
- '(#:tests? #f ; Tests are not ran with BUILD_SHARED_LIBS on.
- #:configure-flags (list "-DBUILD_SHARED_LIBS=ON")
- #:phases (modify-phases %standard-phases
- (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))
+ (list #:configure-flags
+ #~(list "-DBUILD_SHARED_LIBS=ON")))
+ (inputs (list cppunit utfcpp zlib))
(home-page "https://taglib.org")
(synopsis "Library to access audio file meta-data")
(description