package/sdl3_gfx: new package

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>
This commit is contained in:
Michael Fischer
2026-07-14 13:52:03 +02:00
committed by Julien Olivain
parent 2dd13e328f
commit ebd9443756
5 changed files with 39 additions and 0 deletions

View File

@@ -2427,6 +2427,7 @@ N: Michael Fischer <mf@go-sys.de>
F: package/gnuplot/
F: package/sdl2/
F: package/sdl3/
F: package/sdl3_gfx/
N: Michael Nosthoff <buildroot@heine.tech>
F: package/boost/

View File

@@ -365,6 +365,7 @@ comment "Graphic libraries"
source "package/sdl2_net/Config.in"
source "package/sdl2_ttf/Config.in"
source "package/sdl3/Config.in"
source "package/sdl3_gfx/Config.in"
source "package/spirv-headers/Config.in"
source "package/tk/Config.in"
source "package/virglrenderer/Config.in"

View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_SDL3_GFX
bool "sdl3_gfx"
depends on BR2_PACKAGE_SDL3
help
The SDL3_gfx library is an extension to the SDL3 library
which provides basic antialiased drawing routines such as
lines, circles or polygons, an interpolating rotozoomer for
SDL surfaces, framerate control and MMX image filters.
https://github.com/sabdul-khabir/SDL3_gfx

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 b92e6002825f92b19e10abe8a974f0c38839f6bfb9b065f2d8dd14c51bf12a77 sdl3_gfx-1.0.1.tar.gz
sha256 72bf1f2078e66213b5a563fbb1c1905c96d8e62d922aa08b79088ec7a7e237ca COPYING

View File

@@ -0,0 +1,24 @@
################################################################################
#
# 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))