[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: sdl2-mixer: Update to 2.6.2.
From: |
guix-commits |
Subject: |
08/11: gnu: sdl2-mixer: Update to 2.6.2. |
Date: |
Sat, 26 Nov 2022 09:03:35 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit ce3fa07b29753bd79af80345533446f04579a577
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Nov 26 11:08:49 2022 +0100
gnu: sdl2-mixer: Update to 2.6.2.
* gnu/packages/sdl.scm (sdl2-mixer): Update to 2.6.2.
[arguments]: Don't inherit; update configure flags for 2.6.2.
[inputs]: Clear.
[propagated-inputs]: Add FLAC, FLUIDSYNTH, LIBMODPLUG, LIBVORBIS, MPG123,
and
OPUSFILE.
---
gnu/packages/sdl.scm | 42 +++++++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 906314d424..c5473bf297 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -484,7 +484,7 @@ directory.")
(define-public sdl2-mixer
(package (inherit sdl-mixer)
(name "sdl2-mixer")
- (version "2.0.4")
+ (version "2.6.2")
(source
(origin
(method url-fetch)
@@ -497,27 +497,31 @@ directory.")
(delete-file-recursively "external")
#t))
(sha256
- (base32 "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl"))))
+ (base32 "0wd35a9fcj1bv534k9cr4jdk076dpiqq0ayk6cybmv3d6q8aiplc"))))
(arguments
- (substitute-keyword-arguments (package-arguments sdl-mixer)
- ((#:configure-flags flags)
- `(cons*
- "--disable-music-opus-shared"
- ;; These options were renamed in SDL2 mixer. Keeping the inherited
- ;; variants produces a harmless warning.
- "--disable-music-mod-modplug-shared"
- "--disable-music-midi-fluidsynth-shared"
- ,flags))))
- (inputs
- (modify-inputs (package-inputs sdl-mixer)
- (delete "libmikmod")
- (prepend opusfile
- ;; The default MOD library changed in SDL2 mixer.
- libmodplug)))
+ (list #:tests? #f ;no tests
+ #:configure-flags
+ #~'(;; Prefer system libraries to bundled codecs.
+ "--enable-music-flac-libflac"
+ "--enable-music-midi-fluidsynth"
+ "--enable-music-mod-modplug"
+ "--enable-music-mp3-mpg123"
+ "--enable-music-ogg-vorbis"
+ "--enable-music-opus"
+ ;; Link the libraries instead of dlopening them.
+ "--enable-music-flac-libflac-shared=no"
+ "--enable-music-midi-fluidsynth-shared=no"
+ "--enable-music-mod-modplug-shared=no"
+ "--enable-music-mp3-mpg123-shared=no"
+ "--enable-music-ogg-vorbis-shared=no"
+ "--enable-music-opus-shared=no")))
(native-inputs
- `(("pkgconfig" ,pkg-config))) ; Needed to find the opus library.
+ (list pkg-config))
+ (inputs '())
(propagated-inputs
- (propagated-inputs-with-sdl2 sdl-mixer))
+ (modify-inputs (propagated-inputs-with-sdl2 sdl-mixer)
+ ;; In Requires.private of SDL2_mixer.pc.
+ (append flac fluidsynth libmodplug libvorbis mpg123 opusfile)))
(properties '((upstream-name . "SDL2_mixer")))))
(define-public sdl2-net
- 04/11: gnu: sdl2-mixer: Add upstream-name property., (continued)
- 04/11: gnu: sdl2-mixer: Add upstream-name property., guix-commits, 2022/11/26
- 05/11: gnu: sdl2-net: Add upstream-name property., guix-commits, 2022/11/26
- 02/11: gnu: openboardview: Update to 9.0.3., guix-commits, 2022/11/26
- 01/11: gnu: sdl2: Update to 2.26.0., guix-commits, 2022/11/26
- 06/11: gnu: sdl2-ttf: Add upstream-name property., guix-commits, 2022/11/26
- 11/11: gnu: sdl2-ttf: Fix source snippet., guix-commits, 2022/11/26
- 10/11: gnu: sdl2-ttf: Update to 2.20.1., guix-commits, 2022/11/26
- 09/11: gnu: sdl2-net: Update to 2.2.0., guix-commits, 2022/11/26
- 03/11: gnu: sdl2-image: Add upstream-name property., guix-commits, 2022/11/26
- 07/11: gnu: sdl2-image: Update to 2.6.2., guix-commits, 2022/11/26
- 08/11: gnu: sdl2-mixer: Update to 2.6.2.,
guix-commits <=