[Buildroot] [PATCH 8/8] package/sdl3_net: new package
Alsey Coleman Miller <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
SDL3_net is the small cross-platform networking library for SDL3, providing TCP and UDP sockets and hostname resolution. Samples are not built and the man pages are not installed: the samples are demo programs that are never installed, and Buildroot removes /usr/share/man from the target anyway. Built with CMake, like sdl3 itself, rather than with the autotools setup the SDL2 counterpart uses. Signed-off-by: Alsey Coleman Miller <[email protected]> --- DEVELOPERS | 1 + package/Config.in | 1 + package/sdl3_net/Config.in | 9 +++++++++ package/sdl3_net/sdl3_net.hash | 3 +++ package/sdl3_net/sdl3_net.mk | 21 +++++++++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/sdl3_net/Config.in create mode 100644 package/sdl3_net/sdl3_net.hash create mode 100644 package/sdl3_net/sdl3_net.mk diff --git a/DEVELOPERS b/DEVELOPERS index 964fe9a597..3c8f7c5198 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -173,6 +173,7 @@ F: package/liblc3/ F: package/plutosvg/ F: package/plutovg/ F: package/sdl3_mixer/ +F: package/sdl3_net/ N: Alvaro G. M <[email protected]> F: package/dcron/ diff --git a/package/Config.in b/package/Config.in index 853d3bd07d..eeb10fd569 100644 --- a/package/Config.in +++ b/package/Config.in @@ -370,6 +370,7 @@ comment "Graphic libraries" source "package/sdl3_gfx/Config.in" source "package/sdl3_image/Config.in" source "package/sdl3_mixer/Config.in" + source "package/sdl3_net/Config.in" source "package/sdl3_ttf/Config.in" source "package/spirv-headers/Config.in" source "package/tk/Config.in" diff --git a/package/sdl3_net/Config.in b/package/sdl3_net/Config.in new file mode 100644 index 0000000000..8375e5e0b6 --- /dev/null +++ b/package/sdl3_net/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SDL3_NET + bool "sdl3_net" + depends on BR2_PACKAGE_SDL3 + help + SDL3_net is a small cross-platform networking library for + SDL3, providing TCP and UDP sockets and hostname + resolution. + + https://github.com/libsdl-org/SDL_net diff --git a/package/sdl3_net/sdl3_net.hash b/package/sdl3_net/sdl3_net.hash new file mode 100644 index 0000000000..af871c8e99 --- /dev/null +++ b/package/sdl3_net/sdl3_net.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 098522fc26d4e302ef9348aee6e76e67fe504dfefd7f596236568f8330570c41 SDL3_net-3.2.0.tar.gz +sha256 1c040b8271b37e5076359f8fd54240e371114112924d2df81ef87c7d6a1dfdfd LICENSE.txt diff --git a/package/sdl3_net/sdl3_net.mk b/package/sdl3_net/sdl3_net.mk new file mode 100644 index 0000000000..da7deee6f6 --- /dev/null +++ b/package/sdl3_net/sdl3_net.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# sdl3_net +# +################################################################################ + +SDL3_NET_VERSION = 3.2.0 +SDL3_NET_SOURCE = SDL3_net-$(SDL3_NET_VERSION).tar.gz +SDL3_NET_SITE = https://www.libsdl.org/projects/SDL_net/release +SDL3_NET_LICENSE = Zlib +SDL3_NET_LICENSE_FILES = LICENSE.txt +SDL3_NET_CPE_ID_VENDOR = libsdl +SDL3_NET_CPE_ID_PRODUCT = sdl_net +SDL3_NET_INSTALL_STAGING = YES +SDL3_NET_DEPENDENCIES = sdl3 host-pkgconf + +SDL3_NET_CONF_OPTS = \ + -DSDLNET_SAMPLES=OFF \ + -DSDLNET_INSTALL_MAN=OFF + +$(eval $(cmake-package)) -- 2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot