Skip to content
Snippets Groups Projects
Commit f9c4e682 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

contribs: Import VLC's SDL rules

parent a2d1c373
No related branches found
No related tags found
No related merge requests found
# 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
$(MOVE)
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-aalib \
--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 $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment