diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2018-08-16 20:27:45 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-19 16:09:28 -0700 |
commit | 95f1ee0f66121fa8c2f53c1a814272c1a6c056f1 (patch) | |
tree | 0d69f7ee86473c8017e3f07beca3925852dd4c29 /meta-oe/recipes-graphics | |
parent | 245d86837fafbc9604b1991bfbeb8b2175c4e45d (diff) | |
download | meta-openembedded-95f1ee0f66121fa8c2f53c1a814272c1a6c056f1.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-graphics')
3 files changed, 52 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-net/am_foreign.patch b/meta-oe/recipes-graphics/libsdl/libsdl-net/am_foreign.patch new file mode 100644 index 0000000000..fb3ff7e689 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl-net/am_foreign.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | diff -Nurd SDL_net-1.2.8/Makefile.am SDL_net-1.2.8/Makefile.am | ||
2 | --- SDL_net-1.2.8/Makefile.am 2012-01-15 18:20:10.000000000 +0200 | ||
3 | +++ SDL_net-1.2.8/Makefile.am 2014-08-01 21:18:52.720815807 +0300 | ||
4 | @@ -1,5 +1,7 @@ | ||
5 | # Makefile.am for the SDL sample image loading library and viewer | ||
6 | |||
7 | +AUTOMAKE_OPTIONS = foreign | ||
8 | + | ||
9 | lib_LTLIBRARIES = libSDL_net.la | ||
10 | |||
11 | libSDL_netincludedir = $(includedir)/SDL | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-net/libtool2.patch b/meta-oe/recipes-graphics/libsdl/libsdl-net/libtool2.patch new file mode 100644 index 0000000000..9718a3b94a --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl-net/libtool2.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | From f9417c864183a0f6d0e90f66f5254a63b04a041a Mon Sep 17 00:00:00 2001 | ||
2 | From: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | ||
3 | Date: Wed, 17 Oct 2012 20:51:51 +0200 | ||
4 | |||
5 | --- | ||
6 | configure.in | 2 ++ | ||
7 | 1 file changed, 2 insertions(+) | ||
8 | |||
9 | diff --git a/configure.in b/configure.in | ||
10 | index c42bd0c..71a4825 100644 | ||
11 | --- a/configure.in | ||
12 | +++ b/configure.in | ||
13 | @@ -44,6 +44,8 @@ AC_CANONICAL_HOST | ||
14 | dnl Setup for automake | ||
15 | AM_INIT_AUTOMAKE(SDL_net, $VERSION) | ||
16 | |||
17 | +dnl got macros | ||
18 | +AC_CONFIG_MACRO_DIR([acinclude]) | ||
19 | dnl Check for tools | ||
20 | AC_PROG_LIBTOOL | ||
21 | AC_PROG_CC | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb b/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb new file mode 100644 index 0000000000..b021e565ef --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "Simple DirectMedia Layer networking library." | ||
2 | SECTION = "libs/network" | ||
3 | |||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=9cf3de2d872bf510f88eb20d06d700b5" | ||
6 | |||
7 | inherit autotools pkgconfig | ||
8 | |||
9 | DEPENDS = "virtual/libsdl" | ||
10 | |||
11 | SRC_URI = " \ | ||
12 | https://www.libsdl.org/projects/SDL_net/release/SDL_net-${PV}.tar.gz \ | ||
13 | file://libtool2.patch \ | ||
14 | file://am_foreign.patch \ | ||
15 | " | ||
16 | |||
17 | S = "${WORKDIR}/SDL_net-${PV}" | ||
18 | |||
19 | SRC_URI[md5sum] = "20e64e61d65662db66c379034f11f718" | ||
20 | SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4" | ||