From: Francois Perrad Date: Mon, 22 May 2017 13:13:06 +0000 (+0200) Subject: sdl2_net: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8fc9a3bdede19f425efbf6ba779d6587aa1f9ef;p=buildroot.git sdl2_net: new package Signed-off-by: Francois Perrad [Thomas: add entry to DEVELOPERS file.] Signed-off-by: Thomas Petazzoni --- diff --git a/DEVELOPERS b/DEVELOPERS index e4b6644a9f..fa00dc878b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -577,6 +577,7 @@ F: package/pkg-perl.mk F: package/pkg-luarocks.mk F: package/qemu/ F: package/sdl2_mixer/ +F: package/sdl2_net/ F: package/tekui/ F: support/scripts/scancpan diff --git a/package/Config.in b/package/Config.in index 2255b0b869..d6b9901554 100644 --- a/package/Config.in +++ b/package/Config.in @@ -282,6 +282,7 @@ comment "Graphic libraries" source "package/sdl2_gfx/Config.in" source "package/sdl2_image/Config.in" source "package/sdl2_mixer/Config.in" + source "package/sdl2_net/Config.in" source "package/sdl2_ttf/Config.in" comment "Other GUIs" diff --git a/package/sdl2_net/Config.in b/package/sdl2_net/Config.in new file mode 100644 index 0000000000..d5e749f5ac --- /dev/null +++ b/package/sdl2_net/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SDL2_NET + bool "sdl2_net" + depends on BR2_PACKAGE_SDL2 + help + This is a small sample cross-platform networking library, + with a sample chat client and server application. The chat + client uses the GUIlib GUI framework library. + + http://www.libsdl.org/projects/SDL_net/ diff --git a/package/sdl2_net/sdl2_net.hash b/package/sdl2_net/sdl2_net.hash new file mode 100644 index 0000000000..c5f4433837 --- /dev/null +++ b/package/sdl2_net/sdl2_net.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21 SDL2_net-2.0.1.tar.gz diff --git a/package/sdl2_net/sdl2_net.mk b/package/sdl2_net/sdl2_net.mk new file mode 100644 index 0000000000..2fa4a8c2e0 --- /dev/null +++ b/package/sdl2_net/sdl2_net.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# sdl2_net +# +################################################################################ + +SDL2_NET_VERSION = 2.0.1 +SDL2_NET_SOURCE = SDL2_net-$(SDL2_NET_VERSION).tar.gz +SDL2_NET_SITE = http://www.libsdl.org/projects/SDL_net/release +SDL2_NET_LICENSE = Zlib +SDL2_NET_LICENSE_FILES = COPYING.txt +SDL2_NET_INSTALL_STAGING = YES +SDL2_NET_DEPENDENCIES = sdl2 + +$(eval $(autotools-package))