guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 52d8f9f103a38fc78613f5f1b20064d2198dbb01
Author: bdunahu <[email protected]>
AuthorDate: Tue Jun 9 14:26:50 2026 -0400

    gnu: warzone2100: Unbundle libjpeg-turbo.
    
    * gnu/packages/games.scm (warzone2100)[source]<snippet>: Delete
    “lib/ivis_opengl/3rdparty/libjpeg-turbo”.
    [arguments]<#:configure-flags>: Add “-DWZ_USE_SYSTEM_LIBJPEG_TURBO”.
    [inputs]: Add libjpeg-turbo.
    
    Change-Id: I0ee993b15d8e5922d9ae88eebe2f065fdfe35b8e
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/games.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c164d22a4c..c7a6674a67 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7398,7 +7398,8 @@ fighting over what remains.")
         #~(begin (with-directory-excursion "lib"
                    (for-each delete-file-recursively
                              '("netplay/3rdparty/miniupnp"
-                               "sound/3rdparty/opusfile")))
+                               "sound/3rdparty/opusfile"
+                               "ivis_opengl/3rdparty/libjpeg-turbo")))
                  (with-directory-excursion "data"
                    (for-each delete-file-recursively
                              '("fonts"
@@ -7438,6 +7439,7 @@ fighting over what remains.")
                             "-DWZ_INCLUDE_VIDEOS=off"
                             "-DWZ_FORCE_MINIMAL_OPUSFILE=off"
                             "-DENABLE_GNS_NETWORK_BACKEND=off"
+                            "-DWZ_USE_SYSTEM_LIBJPEG_TURBO=on"
                             ;; Do not automatically install
                             ;; additional campaigns.
                             "-DWZ_BUILTIN_MODS_RECLAMATION=off"
@@ -7504,6 +7506,7 @@ fighting over what remains.")
            gnutls
            harfbuzz
            libinih
+           libjpeg-turbo
            libogg
            libpng
            libsodium

Reply via email to