aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-02-11 17:52:16 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-02-13 18:47:29 +0100
commitb07ee83cb795e325a3c657cafac125941665a6ed (patch)
treeead6f4d77435f26aa0b049320aed5b3ca6ca67a9
parent4f0ce81b612034bda03967d2810e39dd6f31c018 (diff)
downloadmeta-openembedded-contrib-gnutoo/libsdl.tar.gz
import libsdl-net from oe-classic (WIP)gnutoo/libsdl
* import from f5626cb812552ab7c97dd0c707ee635310b37788 * update to 1.2.8 * The patch from oe-classic is still needed and needs a header(TODO) Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
-rw-r--r--meta-oe/recipes-support/libsdl-net/libsdl-net/libtool2.patch13
-rw-r--r--meta-oe/recipes-support/libsdl-net/libsdl-net_1.2.8.bb21
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsdl-net/libsdl-net/libtool2.patch b/meta-oe/recipes-support/libsdl-net/libsdl-net/libtool2.patch
new file mode 100644
index 0000000000..ea6daf7d48
--- /dev/null
+++ b/meta-oe/recipes-support/libsdl-net/libsdl-net/libtool2.patch
@@ -0,0 +1,13 @@
+Index: SDL_net-1.2.7/configure.in
+===================================================================
+--- SDL_net-1.2.7.orig/configure.in 2007-07-20 14:40:02.000000000 +0200
++++ SDL_net-1.2.7/configure.in 2008-07-24 00:41:04.282718579 +0200
+@@ -42,6 +42,8 @@
+ dnl Setup for automake
+ AM_INIT_AUTOMAKE(SDL_net, $VERSION)
+
++dnl got macros
++AC_CONFIG_MACRO_DIR([acinclude])
+ dnl Check for tools
+
+ AC_LIBTOOL_WIN32_DLL
diff --git a/meta-oe/recipes-support/libsdl-net/libsdl-net_1.2.8.bb b/meta-oe/recipes-support/libsdl-net/libsdl-net_1.2.8.bb
new file mode 100644
index 0000000000..8ee9f6c25e
--- /dev/null
+++ b/meta-oe/recipes-support/libsdl-net/libsdl-net_1.2.8.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Simple DirectMedia Layer networking library."
+SECTION = "libs/network"
+PRIORITY = "optional"
+DEPENDS = "virtual/libsdl"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9cf3de2d872bf510f88eb20d06d700b5"
+
+PR = "r0"
+
+SRC_URI = "http://www.libsdl.org/projects/SDL_net/release/SDL_net-${PV}.tar.gz \
+ file://libtool2.patch \
+"
+
+S = "${WORKDIR}/SDL_net-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config"
+
+SRC_URI[md5sum] = "20e64e61d65662db66c379034f11f718"
+SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"