From f0dbb0394d364426cd505f30934cc1debde3a9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 8 Feb 2019 14:22:02 +0100 Subject: [PATCH 1/3] wesnoth: Fix fetch on multilib builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wonder what was fetched: | File: '/home/superandy/data/Downloads/packets/dl/lib32-wesnoth-1.14.4.tar.bz2' has md5 checksum 04c9e8d23f9fdbe3e6c654a03ed49341 when b6b775109569c59a7aa8d6a7537b8694 was expected Signed-off-by: Andreas Müller --- recipes-games/wesnoth/wesnoth_1.14.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-games/wesnoth/wesnoth_1.14.4.bb b/recipes-games/wesnoth/wesnoth_1.14.4.bb index 7687385..773e3a9 100644 --- a/recipes-games/wesnoth/wesnoth_1.14.4.bb +++ b/recipes-games/wesnoth/wesnoth_1.14.4.bb @@ -9,7 +9,7 @@ DEPENDS = "asio freetype libsdl2-image libsdl2-mixer libsdl2-net libsdl2-ttf zli SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" SRC_URI = " \ - ${SOURCEFORGE_MIRROR}/${PN}/${PN}-${SHRT_VER}/${P}/${P}.tar.bz2 \ + ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${SHRT_VER}/${BP}/${BP}.tar.bz2 \ file://0001-Find-sdl-CFLAGS-with-pkg-config-sdl-config-is-not-us.patch \ file://0002-Do-not-do-the-ar-ranlib-configure-dance-it-won-t-wor.patch \ " From 845d7ee52b4394448659ac3d79f1dc5a035415a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 8 Feb 2019 17:38:28 +0100 Subject: [PATCH 2/3] chromium-bsu: initial add 0.9.16.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- .../chromium-bsu/chromium-bsu_0.9.16.1.bb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-games/chromium-bsu/chromium-bsu_0.9.16.1.bb diff --git a/recipes-games/chromium-bsu/chromium-bsu_0.9.16.1.bb b/recipes-games/chromium-bsu/chromium-bsu_0.9.16.1.bb new file mode 100644 index 0000000..5848db8 --- /dev/null +++ b/recipes-games/chromium-bsu/chromium-bsu_0.9.16.1.bb @@ -0,0 +1,26 @@ +SUMMARY = "Chromium B.S.U. is a fast paced, arcade-style, top-scrolling shooter" +LICENSE = "ClArtistic" +LIC_FILES_CHKSUM = "file://COPYING;md5=641fe79d00b9ef7c22fc782fd98cd651" + +inherit autotools pkgconfig gettext gtk-icon-cache + +SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/Chromium%20B.S.U.%20source%20code/${BPN}-${PV}.tar.gz" +SRC_URI[md5sum] = "acc28b2b46567e4a2946031005155a43" +SRC_URI[sha256sum] = "a1c141a34d19a59607ae81166a19864eb8c84cf86b155462fed31a6d56e1624a" + +# ftgl is in meta-qt5-extra currently +DEPENDS += " \ + fontconfig \ + ftgl \ + openal-soft \ + freealut \ +" + +PACKAGECONFIG ??= "sdl" +PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl libsdl-image" +PACKAGECONFIG[sdl2] = "--enable-sdl2,--disable-sdl2,libsdl2 libsdl2-image" + + +FILES_${PN} += " \ + ${datatdir}/icons \ +" From 2de5414571c8ec675d4145ac185f9fe953bc4632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 10 Feb 2019 19:53:16 +0100 Subject: [PATCH 3/3] astromenace: initial add 1.3.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is a later version 1.4.0 available for libsdl2 but that seems to require OpenGL 3. Have a building recipe at [1] but common hardware as RaspberryPi is not ready for it. [1] https://github.com/schnitzeltony/meta-games/tree/astromenace-1.4 Signed-off-by: Andreas Müller --- ....txt-use-pkg-config-to-find-freetype.patch | 31 +++++++++ ...Lists.txt-use-pkg-config-to-find-sdl.patch | 35 ++++++++++ .../0003-Loading.cpp-fix-level2-crash.patch | 36 ++++++++++ .../astromenace/astromenace.desktop | 10 +++ .../astromenace/astromenace_1.3.2.bb | 67 +++++++++++++++++++ 5 files changed, 179 insertions(+) create mode 100644 recipes-games/astromenace/astromenace/0001-CMakeLists.txt-use-pkg-config-to-find-freetype.patch create mode 100644 recipes-games/astromenace/astromenace/0002-CMakeLists.txt-use-pkg-config-to-find-sdl.patch create mode 100644 recipes-games/astromenace/astromenace/0003-Loading.cpp-fix-level2-crash.patch create mode 100644 recipes-games/astromenace/astromenace/astromenace.desktop create mode 100644 recipes-games/astromenace/astromenace_1.3.2.bb diff --git a/recipes-games/astromenace/astromenace/0001-CMakeLists.txt-use-pkg-config-to-find-freetype.patch b/recipes-games/astromenace/astromenace/0001-CMakeLists.txt-use-pkg-config-to-find-freetype.patch new file mode 100644 index 0000000..cb1fdca --- /dev/null +++ b/recipes-games/astromenace/astromenace/0001-CMakeLists.txt-use-pkg-config-to-find-freetype.patch @@ -0,0 +1,31 @@ +From d0aefa7ba2d58846e22dfc690e61934c38610a81 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 1 Nov 2015 22:31:33 +0100 +Subject: [PATCH 1/3] CMakeLists.txt: use pkg-config to find freetype +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Andreas Müller +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 31bf1e4..a9fbe43 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -201,7 +201,7 @@ IF(FREETYPE_INCLUDE_DIR_freetype2) + MESSAGE(STATUS "Found freetype2 headers: ${FREETYPE_INCLUDE_DIR_freetype2}") + INCLUDE_DIRECTORIES(${FREETYPE_INCLUDE_DIR_freetype2}) + ELSE(FREETYPE_INCLUDE_DIR_freetype2) +- EXEC_PROGRAM("freetype-config" ARGS "--cflags" OUTPUT_VARIABLE freetype2_CFLAGS) ++ EXEC_PROGRAM("pkg-config" ARGS "--cflags freetype2" OUTPUT_VARIABLE freetype2_CFLAGS) + IF(freetype2_CFLAGS) + MESSAGE(STATUS "Found freetype2 cflags: ${freetype2_CFLAGS}") + ADD_DEFINITIONS(${freetype2_CFLAGS}) +-- +2.1.0 + diff --git a/recipes-games/astromenace/astromenace/0002-CMakeLists.txt-use-pkg-config-to-find-sdl.patch b/recipes-games/astromenace/astromenace/0002-CMakeLists.txt-use-pkg-config-to-find-sdl.patch new file mode 100644 index 0000000..1b4cf74 --- /dev/null +++ b/recipes-games/astromenace/astromenace/0002-CMakeLists.txt-use-pkg-config-to-find-sdl.patch @@ -0,0 +1,35 @@ +From 41383de9b117a1af0f0ef642a6fe21dda1b75186 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 1 Nov 2015 22:52:27 +0100 +Subject: [PATCH 2/3] CMakeLists.txt: use pkg-config to find sdl +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Andreas Müller +--- + CMakeLists.txt | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a9fbe43..f3c5b6b 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -26,10 +26,9 @@ ENDIF(DEFINED FS2VFS) + + + # depends +-set(SDL_CONFIG "sdl-config" CACHE STRING "Path to sdl-config script") +-EXEC_PROGRAM(${SDL_CONFIG} ARGS "--cflags" OUTPUT_VARIABLE SDL_CFLAGS) ++EXEC_PROGRAM("pkg-config" ARGS "--cflags sdl" OUTPUT_VARIABLE SDL_CFLAGS) + ADD_DEFINITIONS(${SDL_CFLAGS}) +-EXEC_PROGRAM(${SDL_CONFIG} ARGS "--libs" OUTPUT_VARIABLE SDL_LIBS) ++EXEC_PROGRAM("pkg-config" ARGS "--libs sdl" OUTPUT_VARIABLE SDL_LIBS) + + + IF (NOT APPLE) +-- +2.1.0 + diff --git a/recipes-games/astromenace/astromenace/0003-Loading.cpp-fix-level2-crash.patch b/recipes-games/astromenace/astromenace/0003-Loading.cpp-fix-level2-crash.patch new file mode 100644 index 0000000..575a3c0 --- /dev/null +++ b/recipes-games/astromenace/astromenace/0003-Loading.cpp-fix-level2-crash.patch @@ -0,0 +1,36 @@ +From a2a2f7fdee581b2d8d7619ddb9c1db35bbe63cfb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 2 Nov 2015 21:54:13 +0100 +Subject: [PATCH 4/4] Loading.cpp: fix level2 crash +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Taken from [1] + +[1] http://pkgs.fedoraproject.org/cgit/astromenace.git/tree/astromenace-level2-crash.patch + +Signed-off-by: Andreas Müller +--- + AstroMenaceSource/Loading.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/AstroMenaceSource/Loading.cpp b/AstroMenaceSource/Loading.cpp +index dafdd8c..c95946c 100755 +--- a/AstroMenaceSource/Loading.cpp ++++ b/AstroMenaceSource/Loading.cpp +@@ -1541,6 +1541,9 @@ void LoadGameData(int LoadType) + + for (int i=0; i