[vlc-commits] contrib: remove SDL

Marvin Scholz git at videolan.org
Sat Oct 10 01:22:44 CEST 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Sep 30 16:42:35 2020 +0200| [c218cfbcac14200599b9a04b53c340464d6235fa] | committer: Marvin Scholz

contrib: remove SDL

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c218cfbcac14200599b9a04b53c340464d6235fa
---

 contrib/src/sdl/SHA512SUMS              |  1 -
 contrib/src/sdl/direct_palette_ref.diff | 12 ---------
 contrib/src/sdl/rules.mak               | 45 ---------------------------------
 3 files changed, 58 deletions(-)

diff --git a/contrib/src/sdl/SHA512SUMS b/contrib/src/sdl/SHA512SUMS
deleted file mode 100644
index 459bed1633..0000000000
--- a/contrib/src/sdl/SHA512SUMS
+++ /dev/null
@@ -1 +0,0 @@
-ac392d916e6953b0925a7cbb0f232affea33339ef69b47a0a7898492afb9784b93138986df53d6da6d3e2ad79af1e9482df565ecca30f89428be0ae6851b1adc  SDL-1.2.15.tar.gz
diff --git a/contrib/src/sdl/direct_palette_ref.diff b/contrib/src/sdl/direct_palette_ref.diff
deleted file mode 100644
index 9932b7e3f6..0000000000
--- a/contrib/src/sdl/direct_palette_ref.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- sdl/src/video/quartz/SDL_QuartzVideo.h.orig	2014-03-05 14:09:28.000000000 +0100
-+++ sdl/src/video/quartz/SDL_QuartzVideo.h	2014-03-05 14:09:45.000000000 +0100
-@@ -91,7 +91,9 @@
-     CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
-     const void         *mode;              /* current mode of the display */
-     const void         *save_mode;         /* original mode of the display */
-+#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
-     CGDirectPaletteRef palette;            /* palette of an 8-bit display */
-+#endif
-     NSOpenGLContext    *gl_context;        /* OpenGL rendering context */
-     NSGraphicsContext  *nsgfx_context;     /* Cocoa graphics context */
-     Uint32             width, height, bpp; /* frequently used data about the display */
diff --git a/contrib/src/sdl/rules.mak b/contrib/src/sdl/rules.mak
deleted file mode 100644
index 4a933b5486..0000000000
--- a/contrib/src/sdl/rules.mak
+++ /dev/null
@@ -1,45 +0,0 @@
-# SDL
-
-SDL_VERSION := 1.2.15
-SDL_URL := http://www.libsdl.org/release/SDL-$(SDL_VERSION).tar.gz
-
-#PKGS += sdl
-ifeq ($(call need_pkg,"sdl"),)
-PKGS_FOUND += sdl
-endif
-
-$(TARBALLS)/SDL-$(SDL_VERSION).tar.gz:
-	$(call download_pkg,$(SDL_URL),sdl)
-
-.sum-sdl: SDL-$(SDL_VERSION).tar.gz
-
-sdl: SDL-$(SDL_VERSION).tar.gz .sum-sdl
-	$(UNPACK)
-	$(APPLY) $(SRC)/sdl/direct_palette_ref.diff
-	$(UPDATE_AUTOCONFIG)
-	$(MOVE)
-	mv sdl/config.sub sdl/config.guess sdl/build-scripts
-
-SDLCONF := $(HOSTCONF) \
-	--disable-audio \
-	--enable-video \
-	--enable-events \
-	--disable-joystick \
-	--disable-cdrom \
-	--disable-threads \
-	--disable-timers \
-	--disable-file \
-	--disable-assembly \
-	--disable-video-x11 \
-	--disable-video-dga \
-	--disable-video-fbcon \
-	--disable-video-directfb \
-	--disable-video-ggi \
-	--disable-video-svga \
-	--disable-directx \
-	--disable-sdl-dlopen
-
-.sdl: sdl
-	cd $< && $(HOSTVARS) ./configure $(SDLCONF)
-	cd $< && $(MAKE) install
-	touch $@



More information about the vlc-commits mailing list