aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2018-08-16 20:27:46 +0200
committerKhem Raj <raj.khem@gmail.com>2018-08-19 16:09:28 -0700
commit227b687ecd3e92f979d2297982ef72142a3c798b (patch)
tree59899dfda9029ea89bce32bb0b3eb22c4fb8a66c
parent95f1ee0f66121fa8c2f53c1a814272c1a6c056f1 (diff)
downloadmeta-openembedded-contrib-227b687ecd3e92f979d2297982ef72142a3c798b.tar.gz
meta-openembedded-contrib-227b687ecd3e92f979d2297982ef72142a3c798b.tar.bz2
meta-openembedded-contrib-227b687ecd3e92f979d2297982ef72142a3c798b.zip
libsdl2-net: initial add 2.0.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb
new file mode 100644
index 0000000000..0ea96fe1b8
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Simple DirectMedia Layer networking library."
+SECTION = "libs/network"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fe9d52a78585a65224776875510ed127"
+
+SRC_URI = " \
+ https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
+"
+S = "${WORKDIR}/SDL2_net-${PV}"
+
+inherit autotools pkgconfig
+
+DEPENDS = "virtual/libsdl2"
+
+SRC_URI[md5sum] = "5c1d9d1cfa63301b141cb5c0de2ea7c4"
+SRC_URI[sha256sum] = "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21"
+
+do_configure_prepend() {
+ # create dummy files which autotools consider as mandatory
+ touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
+
+ # Remove old libtool macros.
+ for macro in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
+ echo ${S}/acinclude/macro
+ rm -f ${S}/acinclude/$macro
+ done
+}