mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
SDL3_gfx provides basic antialiased drawing routines such as lines, circles or polygons, an interpolating rotozoomer for SDL surfaces, framerate control and MMX image filters, as an extension to SDL3. https://github.com/sabdul-khabir/SDL3_gfx Signed-off-by: Michael Fischer <mf@go-sys.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
25 lines
642 B
Makefile
25 lines
642 B
Makefile
################################################################################
|
|
#
|
|
# sdl3_gfx
|
|
#
|
|
################################################################################
|
|
|
|
SDL3_GFX_VERSION = 1.0.1
|
|
SDL3_GFX_SITE = $(call github,sabdul-khabir,SDL3_gfx,v$(SDL3_GFX_VERSION))
|
|
SDL3_GFX_LICENSE = Zlib
|
|
SDL3_GFX_LICENSE_FILES = COPYING
|
|
SDL3_GFX_INSTALL_STAGING = YES
|
|
SDL3_GFX_DEPENDENCIES = sdl3 host-pkgconf
|
|
|
|
SDL3_GFX_CONF_OPTS = \
|
|
-DSDL3_GFX_TESTS=OFF \
|
|
-DSDL3_GFX_INSTALL=ON
|
|
|
|
ifeq ($(BR2_i386)$(BR2_X86_CPU_HAS_MMX),yy)
|
|
SDL3_GFX_CONF_OPTS += -DSDL3_GFX_MMX=ON
|
|
else
|
|
SDL3_GFX_CONF_OPTS += -DSDL3_GFX_MMX=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|