me
/
guix
Archived
1
0
Fork 0

gnu: libextractor: Update to 1.13.

* gnu/packages/gnunet.scm (libextractor): Update to 1.13.
[inputs]: Remove ffmpeg-4, no longer supported.
Replace gtk+ with gdk-pixbuf.
[argumens]: Reinstate parallel tests.  Remove fix-exiv2-tests phase.

Change-Id: Ic299c31a2d40512116c9876e0fbb4f9ded0ccc3b
master
Maxim Cournoyer 2024-03-09 20:36:20 -05:00
parent 447e9c9625
commit a2bf7bda4c
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 3 additions and 13 deletions

View File

@ -84,14 +84,14 @@
(define-public libextractor (define-public libextractor
(package (package
(name "libextractor") (name "libextractor")
(version "1.11") (version "1.13")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/libextractor/libextractor-" (uri (string-append "mirror://gnu/libextractor/libextractor-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"13xxv11mif3m0mpk7i43mljhhaqrj52kznm1qi3qb8s6hymk7xhn")))) "0mgprmwdhdwq9xhfxfhcncd304425nvcc4zi8ci5f0nja4n333xv"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; WARNING: Checks require /dev/shm to be in the build chroot, especially ;; WARNING: Checks require /dev/shm to be in the build chroot, especially
;; not to be a symbolic link to /run/shm. ;; not to be a symbolic link to /run/shm.
@ -104,13 +104,12 @@
`(("exiv2" ,exiv2) `(("exiv2" ,exiv2)
("bzip2" ,bzip2) ("bzip2" ,bzip2)
("flac" ,flac) ("flac" ,flac)
("ffmpeg" ,ffmpeg-4)
("file" ,file) ;libmagic, for the MIME plug-in ("file" ,file) ;libmagic, for the MIME plug-in
("glib" ,glib) ("glib" ,glib)
("giflib" ,giflib) ("giflib" ,giflib)
("gstreamer" ,gstreamer) ("gstreamer" ,gstreamer)
("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-base" ,gst-plugins-base)
("gtk+" ,gtk+) ("gdk-pixbuf" ,gdk-pixbuf)
("libarchive" ,libarchive) ("libarchive" ,libarchive)
("libgsf" ,libgsf) ("libgsf" ,libgsf)
("libjpeg" ,libjpeg-turbo) ("libjpeg" ,libjpeg-turbo)
@ -130,17 +129,8 @@
`(#:configure-flags `(#:configure-flags
(list (string-append "--with-ltdl=" (list (string-append "--with-ltdl="
(assoc-ref %build-inputs "libltdl"))) (assoc-ref %build-inputs "libltdl")))
#:parallel-tests? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'configure 'fix-exiv2-tests
;; exiv2>=0.27.3 rounds geolocation
;; https://github.com/Exiv2/exiv2/pull/1107/commits/db1be4ae8e1077949fcb6a960e93069d6a41b395#diff-f3f55183ccbe956c720c86e61f708d9f
(lambda _
(substitute* "src/plugins/test_exiv2.c"
(("17.585\\\\\" ") "18\\\"")
(("21.713\\\\\" ") "22\\\""))
#t))
(add-after 'install 'move-static-libraries (add-after 'install 'move-static-libraries
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; Move static libraries to the "static" output. ;; Move static libraries to the "static" output.