[Scummvm-git-logs] scummvm master -> a58821e3f8d6e0d22dd5652980b9428a9110b09b

spleen1981 noreply at scummvm.org
Sat Jan 3 20:11:29 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
a58821e3f8 LIBRETRO: enable giflib dep games


Commit: a58821e3f8d6e0d22dd5652980b9428a9110b09b
    https://github.com/scummvm/scummvm/commit/a58821e3f8d6e0d22dd5652980b9428a9110b09b
Author: Giovanni Cascione (ing.cascione at gmail.com)
Date: 2026-01-03T21:11:08+01:00

Commit Message:
LIBRETRO: enable giflib dep games

Changed paths:
    backends/platform/libretro/Makefile.common
    backends/platform/libretro/dependencies.mk


diff --git a/backends/platform/libretro/Makefile.common b/backends/platform/libretro/Makefile.common
index b2cc7555a6a..7f533ae2748 100644
--- a/backends/platform/libretro/Makefile.common
+++ b/backends/platform/libretro/Makefile.common
@@ -144,7 +144,7 @@ else
 DEFINES += -DUSE_MPEG2
 endif
 
-USE_GIF         ?= 0
+USE_GIF         ?= 1
 UNAVAILABLE_DEPS += $(call check_deps_availability, $(USE_GIF), component_gif)
 ifneq ($(USE_GIF),1)
 USE_GIF=
diff --git a/backends/platform/libretro/dependencies.mk b/backends/platform/libretro/dependencies.mk
index 20e8619c83e..715f8f333f8 100644
--- a/backends/platform/libretro/dependencies.mk
+++ b/backends/platform/libretro/dependencies.mk
@@ -7,7 +7,7 @@ DEPS_SUBMODULES             := libretro-deps libretro-common
 
 DEPS_FOLDER_libretro-deps   := libretro-deps
 DEPS_URL_libretro-deps      := https://github.com/libretro/libretro-deps
-DEPS_COMMIT_libretro-deps   := a2a865e74f58035c416a0c63be5772fdcf35b071
+DEPS_COMMIT_libretro-deps   := 7e6e34f0319f4c7448d72f0e949e76265ccf55a1
 
 DEPS_FOLDER_libretro-common := libretro-common
 DEPS_URL_libretro-common    := https://github.com/libretro/libretro-common
@@ -628,6 +628,33 @@ endif
 endif
 endif
 
+######################################################################
+# giflib settings
+######################################################################
+
+ifeq ($(USE_GIF), 1)
+DEFINES += -DUSE_GIF
+this_lib_subpath :=
+this_lib_header  := gif_lib.h
+this_lib_flags   := -lgif
+include $(ROOT_PATH)/sharedlib_test.mk
+ifneq ($(this_lib_available), yes)
+INCLUDES += \
+  -I$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib
+OBJS_DEPS += \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/dgif_lib.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/egif_lib.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/gifalloc.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/gif_err.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/gif_hash.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/quantize.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/gif_font.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/openbsd-reallocarray.o \
+	$(DEPS_PATH)/$(DEPS_FOLDER_libretro-deps)/giflib/qprintf.o
+
+endif
+endif
+
 ######################################################################
 # libcurl settings
 ######################################################################




More information about the Scummvm-git-logs mailing list