diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-01-01 21:56:00 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-01-01 21:56:00 +0100 |
commit | 1cd97066c2dc84c6e538cfa63820e18f6c12a414 (patch) | |
tree | 973b920b3f7c551a4baed8ce87147c2591ce3086 /gnu/packages/mp3.scm | |
parent | b8175bc85a9709e29b60a0b56bafa56ca790383b (diff) | |
parent | ee0cf3b9ff4cd5a9d3637d09677195ea9ee1a8c0 (diff) |
Merge branch 'master' into gnome-team
Diffstat (limited to 'gnu/packages/mp3.scm')
-rw-r--r-- | gnu/packages/mp3.scm | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 85f45d3271..32a1ddea27 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net> +;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -162,7 +163,25 @@ This package contains the library.") Version: ~a~@ Libs: -L${libdir} -lid3tag -lz~@ Cflags: -I${includedir}~%" - out ,version))))))))) + out ,version)))))) + ,@(if (and (%current-target-system) + (or (target-riscv64?) + (target-aarch64?))) + `((add-after 'unpack 'update-config + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (for-each + (lambda (file) + (install-file + (search-input-file (or native-inputs inputs) + (string-append "/bin/" file)) + ".")) + '("config.guess" "config.sub"))))) + '())))) + (native-inputs (if (and (%current-target-system) + (or (target-riscv64?) + (target-aarch64?))) + (list config) + '())) (inputs (list zlib)) (synopsis "Library for reading ID3 tags") (description |