gnu: easytag: Fix mp3 support.

* gnu/packages/music.scm (easytag)[arguments]: Add 'Name', 'Description' and
'Version' entries to temporary id3tag.pc pkg-config file.  Terminate phases
with #t.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Pierre Langlois 2019-10-12 22:30:08 +01:00 committed by Danny Milosavljevic
parent b5f6700fb4
commit 55af645605
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -11,7 +11,7 @@
;;; Copyright © 2017 ng0 <ng0@n0.is> ;;; Copyright © 2017 ng0 <ng0@n0.is>
;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org> ;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org>
;;; Copyright © 2017, 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2017, 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2017, 2018 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2017, 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 nee <nee.git@hidamari.blue> ;;; Copyright © 2018 nee <nee.git@hidamari.blue>
@ -593,12 +593,17 @@ (define-public easytag
"prefix=~@*~a~@ "prefix=~@*~a~@
libdir=${prefix}/lib~@ libdir=${prefix}/lib~@
includedir=${prefix}/include~@ includedir=${prefix}/include~@
Name: libid3tag~@
Description:~@
Version:~@
Libs: -L${libdir} -lid3tag -lz~@ Libs: -L${libdir} -lid3tag -lz~@
Cflags: -I${includedir}~%" Cflags: -I${includedir}~%"
libid3tag))) libid3tag)))
(setenv "PKG_CONFIG_PATH" (setenv "PKG_CONFIG_PATH"
(string-append (getenv "PKG_CONFIG_PATH") (string-append (getenv "PKG_CONFIG_PATH")
":" (getcwd) "/pkgconfig"))))) ":" (getcwd) "/pkgconfig"))
#t)))
(add-after 'unpack 'patch-makefile (add-after 'unpack 'patch-makefile
(lambda _ (lambda _
(substitute* "Makefile.in" (substitute* "Makefile.in"
@ -606,7 +611,8 @@ (define-public easytag
;; script with /bin/sh hard-coded. ;; script with /bin/sh hard-coded.
(("/bin/sh") (which "sh")) (("/bin/sh") (which "sh"))
;; Don't create 'icon-theme.cache'. ;; Don't create 'icon-theme.cache'.
(("gtk-update-icon-cache") "true"))))))) (("gtk-update-icon-cache") "true"))
#t)))))
(home-page "https://wiki.gnome.org/Apps/EasyTAG") (home-page "https://wiki.gnome.org/Apps/EasyTAG")
(synopsis "Simple application for viewing and editing tags in audio files") (synopsis "Simple application for viewing and editing tags in audio files")
(description (description