libsdl-net: initial add 1.2.8

This is a cleaned up version of libsdl-net in meta-games. Once applied, a patch
to remove there will be send out.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller
2018-08-16 20:27:45 +02:00
committed by Khem Raj
parent 245d86837f
commit 95f1ee0f66
3 changed files with 52 additions and 0 deletions
@@ -0,0 +1,11 @@
diff -Nurd SDL_net-1.2.8/Makefile.am SDL_net-1.2.8/Makefile.am
--- SDL_net-1.2.8/Makefile.am 2012-01-15 18:20:10.000000000 +0200
+++ SDL_net-1.2.8/Makefile.am 2014-08-01 21:18:52.720815807 +0300
@@ -1,5 +1,7 @@
# Makefile.am for the SDL sample image loading library and viewer
+AUTOMAKE_OPTIONS = foreign
+
lib_LTLIBRARIES = libSDL_net.la
libSDL_netincludedir = $(includedir)/SDL
@@ -0,0 +1,21 @@
From f9417c864183a0f6d0e90f66f5254a63b04a041a Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Date: Wed, 17 Oct 2012 20:51:51 +0200
---
configure.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.in b/configure.in
index c42bd0c..71a4825 100644
--- a/configure.in
+++ b/configure.in
@@ -44,6 +44,8 @@ AC_CANONICAL_HOST
dnl Setup for automake
AM_INIT_AUTOMAKE(SDL_net, $VERSION)
+dnl got macros
+AC_CONFIG_MACRO_DIR([acinclude])
dnl Check for tools
AC_PROG_LIBTOOL
AC_PROG_CC
@@ -0,0 +1,20 @@
DESCRIPTION = "Simple DirectMedia Layer networking library."
SECTION = "libs/network"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://COPYING;md5=9cf3de2d872bf510f88eb20d06d700b5"
inherit autotools pkgconfig
DEPENDS = "virtual/libsdl"
SRC_URI = " \
https://www.libsdl.org/projects/SDL_net/release/SDL_net-${PV}.tar.gz \
file://libtool2.patch \
file://am_foreign.patch \
"
S = "${WORKDIR}/SDL_net-${PV}"
SRC_URI[md5sum] = "20e64e61d65662db66c379034f11f718"
SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"