瀏覽代碼

sdl2_net: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: add entry to DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Francois Perrad 8 年之前
父節點
當前提交
a8fc9a3bde
共有 5 個文件被更改,包括 28 次插入0 次删除
  1. 1 0
      DEVELOPERS
  2. 1 0
      package/Config.in
  3. 9 0
      package/sdl2_net/Config.in
  4. 2 0
      package/sdl2_net/sdl2_net.hash
  5. 15 0
      package/sdl2_net/sdl2_net.mk

+ 1 - 0
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
 

+ 1 - 0
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"

+ 9 - 0
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/

+ 2 - 0
package/sdl2_net/sdl2_net.hash

@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21  SDL2_net-2.0.1.tar.gz

+ 15 - 0
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))