diff options
-rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb | 26 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb | 17 |
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 @@ | |||
1 | DESCRIPTION = "Simple DirectMedia Layer networking library." | ||
2 | SECTION = "libs/network" | ||
3 | LICENSE = "Zlib" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fe9d52a78585a65224776875510ed127" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \ | ||
8 | " | ||
9 | S = "${WORKDIR}/SDL2_net-${PV}" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | DEPENDS = "libsdl2" | ||
14 | |||
15 | SRC_URI[sha256sum] = "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21" | ||
16 | |||
17 | do_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 @@ | |||
1 | DESCRIPTION = "Simple DirectMedia Layer networking library." | ||
2 | SECTION = "libs/network" | ||
3 | LICENSE = "Zlib" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=68a088513da90254b2fbe664f42af315" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \ | ||
8 | " | ||
9 | S = "${WORKDIR}/SDL2_net-${PV}" | ||
10 | |||
11 | inherit cmake pkgconfig | ||
12 | |||
13 | DEPENDS = "libsdl2" | ||
14 | |||
15 | SRC_URI[sha256sum] = "4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb" | ||
16 | |||
17 | FILES:${PN} += "${datadir}/licenses" | ||