summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb26
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb17
2 files changed, 17 insertions, 26 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
deleted file mode 100644
index d1f8905769..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1DESCRIPTION = "Simple DirectMedia Layer networking library."
2SECTION = "libs/network"
3LICENSE = "Zlib"
4LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fe9d52a78585a65224776875510ed127"
5
6SRC_URI = " \
7 https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
8"
9S = "${WORKDIR}/SDL2_net-${PV}"
10
11inherit autotools pkgconfig
12
13DEPENDS = "libsdl2"
14
15SRC_URI[sha256sum] = "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21"
16
17do_configure:prepend() {
18 # create dummy files which autotools consider as mandatory
19 touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
20
21 # Remove old libtool macros.
22 for macro in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
23 echo ${S}/acinclude/macro
24 rm -f ${S}/acinclude/$macro
25 done
26}
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb
new file mode 100644
index 0000000000..25a7dad86b
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "Simple DirectMedia Layer networking library."
2SECTION = "libs/network"
3LICENSE = "Zlib"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=68a088513da90254b2fbe664f42af315"
5
6SRC_URI = " \
7 https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
8"
9S = "${WORKDIR}/SDL2_net-${PV}"
10
11inherit cmake pkgconfig
12
13DEPENDS = "libsdl2"
14
15SRC_URI[sha256sum] = "4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb"
16
17FILES:${PN} += "${datadir}/licenses"