You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
996 B

################################################################################
#
# sdl2
#
################################################################################
SDL2_VERSION = 2.0.14
SDL2_DIR = SDL2-$(SDL2_VERSION)
SDL2_SOURCE = SDL2-$(SDL2_VERSION).tar.gz
SDL2_SITE = http://www.libsdl.org/release
SDL2_DEPENDENCIES = alsa-lib
SDL2_CONFIG_SCRIPTS = sdl2-config
SDL2_CONF_OPTS += \
--datarootdir=$(REMOVE_datarootdir) \
--enable-static \
--disable-3dnow \
--disable-arts \
--disable-dbus \
--disable-esd \
--disable-input-tslib \
--disable-libudev \
--disable-pulseaudio \
--disable-sse \
--disable-video-directfb \
--disable-video-kmsdrm \
--disable-video-opengl \
--disable-video-rpi \
--disable-video-wayland \
--disable-video-x11 \
--enable-alsa \
--enable-video-opengles \
--without-x
define SDL2_TARGET_CLEANUP
$(TARGET_RM) $(TARGET_libdir)/cmake
endef
SDL2_TARGET_FINALIZE_HOOKS += SDL2_TARGET_CLEANUP
sdl2: | $(TARGET_DIR)
$(call autotools-package)