[Buildroot] [git commit] package/sdl3_gfx: new package
Julien Olivain via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/ebd944375675ac74c4199282097a6fa1f6be0e09 branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master 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 <[email protected]> Signed-off-by: Julien Olivain <[email protected]> --- DEVELOPERS | 1 + package/Config.in | 1 + package/sdl3_gfx/Config.in | 10 ++++++++++ package/sdl3_gfx/sdl3_gfx.hash | 3 +++ package/sdl3_gfx/sdl3_gfx.mk | 24 ++++++++++++++++++++++++ 5 files changed, 39 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 128ce22799..23eead299b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2427,6 +2427,7 @@ N: Michael Fischer <[email protected]> F: package/gnuplot/ F: package/sdl2/ F: package/sdl3/ +F: package/sdl3_gfx/ N: Michael Nosthoff <[email protected]> F: package/boost/ diff --git a/package/Config.in b/package/Config.in index 084a17b7d7..674d906aa5 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/sdl3_gfx/Config.in b/package/sdl3_gfx/Config.in new file mode 100644 index 0000000000..d7f5a9d7ee --- /dev/null +++ b/package/sdl3_gfx/Config.in @@ -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 diff --git a/package/sdl3_gfx/sdl3_gfx.hash b/package/sdl3_gfx/sdl3_gfx.hash new file mode 100644 index 0000000000..2c3b091c1d --- /dev/null +++ b/package/sdl3_gfx/sdl3_gfx.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b92e6002825f92b19e10abe8a974f0c38839f6bfb9b065f2d8dd14c51bf12a77 sdl3_gfx-1.0.1.tar.gz +sha256 72bf1f2078e66213b5a563fbb1c1905c96d8e62d922aa08b79088ec7a7e237ca COPYING diff --git a/package/sdl3_gfx/sdl3_gfx.mk b/package/sdl3_gfx/sdl3_gfx.mk new file mode 100644 index 0000000000..fb747c0e95 --- /dev/null +++ b/package/sdl3_gfx/sdl3_gfx.mk @@ -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)) _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot