diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-09-22 10:47:08 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-09-22 11:06:06 +0200 |
commit | fa253ca0e6f8f6bf8402f268974a9fb6a1c9e39c (patch) | |
tree | 846b570d4c68b1c1ec9e959c9980a9fe8d0e0862 /games-puzzle | |
parent | games-puzzle/superflu-riteurnz-data: new package, add 11 (diff) | |
download | guru-fa253ca0e6f8f6bf8402f268974a9fb6a1c9e39c.tar.gz guru-fa253ca0e6f8f6bf8402f268974a9fb6a1c9e39c.tar.bz2 guru-fa253ca0e6f8f6bf8402f268974a9fb6a1c9e39c.zip |
games-puzzle/superflu-riteurnz: add 1.5.4
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'games-puzzle')
4 files changed, 92 insertions, 0 deletions
diff --git a/games-puzzle/superflu-riteurnz/Manifest b/games-puzzle/superflu-riteurnz/Manifest index e69de29bb..34efc0334 100644 --- a/games-puzzle/superflu-riteurnz/Manifest +++ b/games-puzzle/superflu-riteurnz/Manifest @@ -0,0 +1 @@ +DIST sosage-v1.5.4.tar.gz 295842 BLAKE2B 12f90fe168222777a7b7c4ab53f1348169743940cac21e9a83779ddff48194cd8a70f2a673a429a1c970148ecd5b9fc96ae258941e30326fe4c5882e43daf981 SHA512 78b0208e28178e8c14bcee03ca9d980d85f384d8a7b3903647a64a7ec5cd6408a34885b71d47a56acf5adc3bcab059e63db58d1289248fb74a8746f8b01a1c2a diff --git a/games-puzzle/superflu-riteurnz/files/superflu-riteurnz-1.5.4-add-missing-include-functional.patch b/games-puzzle/superflu-riteurnz/files/superflu-riteurnz-1.5.4-add-missing-include-functional.patch new file mode 100644 index 000000000..72e102b70 --- /dev/null +++ b/games-puzzle/superflu-riteurnz/files/superflu-riteurnz-1.5.4-add-missing-include-functional.patch @@ -0,0 +1,24 @@ +From ed9e2944db0817a0c32520cba5e06c87244c0360 Mon Sep 17 00:00:00 2001 +From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me> +Date: Fri, 22 Sep 2023 10:25:35 +0200 +Subject: [PATCH 2/2] include/Sosage/Utils: Add missing #include <functional> + +--- + include/Sosage/Utils/conversions.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/Sosage/Utils/conversions.h b/include/Sosage/Utils/conversions.h +index 2d408cb..fb2086b 100644 +--- a/include/Sosage/Utils/conversions.h ++++ b/include/Sosage/Utils/conversions.h +@@ -28,6 +28,7 @@ + #define SOSAGE_UTILS_CONVERSIONS_H + + #include <algorithm> ++#include <functional> + #include <string> + #include <vector> + +-- +2.41.0 + diff --git a/games-puzzle/superflu-riteurnz/files/superflu-riteurnz-1.5.4-add-missing-include-initializer_list.patch b/games-puzzle/superflu-riteurnz/files/superflu-riteurnz-1.5.4-add-missing-include-initializer_list.patch new file mode 100644 index 000000000..9995c894e --- /dev/null +++ b/games-puzzle/superflu-riteurnz/files/superflu-riteurnz-1.5.4-add-missing-include-initializer_list.patch @@ -0,0 +1,25 @@ +From 9be5089a57c9a406ee262d3efcab42ccbf3a4db9 Mon Sep 17 00:00:00 2001 +From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me> +Date: Fri, 22 Sep 2023 10:24:36 +0200 +Subject: [PATCH 1/2] include/Sosage/Config: Add missing #include + <initializer_list> + +--- + include/Sosage/Config/config.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/Sosage/Config/config.h b/include/Sosage/Config/config.h +index 828a31d..25aa95d 100644 +--- a/include/Sosage/Config/config.h ++++ b/include/Sosage/Config/config.h +@@ -29,6 +29,7 @@ + + #include <memory> + #include <limits> ++#include <initializer_list> + + namespace Sosage::Config + { +-- +2.41.0 + diff --git a/games-puzzle/superflu-riteurnz/superflu-riteurnz-1.5.4.ebuild b/games-puzzle/superflu-riteurnz/superflu-riteurnz-1.5.4.ebuild new file mode 100644 index 000000000..d6378cdd1 --- /dev/null +++ b/games-puzzle/superflu-riteurnz/superflu-riteurnz-1.5.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_P="sosage-v${PV}" + +DESCRIPTION="Artisanal video-game about Superflu, the useless super-hero" +HOMEPAGE="https://studios.ptilouk.net/superflu-riteurnz/" +SRC_URI="https://framagit.org/Gee/sosage/-/archive/v${MY_PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" +# Engine under GPL-3+ + assets under all-rights-reserved are combined together +LICENSE="GPL-3+ all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="bindist" + +PATCHES=( + "${FILESDIR}/superflu-riteurnz-1.5.4-add-missing-include-functional.patch" + "${FILESDIR}/superflu-riteurnz-1.5.4-add-missing-include-initializer_list.patch" +) + +BDEPEND="app-arch/unzip" +DEPEND=" + dev-libs/libyaml + app-arch/lz4 + >=media-libs/libsdl2-2.0.14 + media-libs/sdl2-mixer + media-libs/sdl2-image + media-libs/sdl2-ttf + >=games-puzzle/superflu-riteurnz-data-11 +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( -DSOSAGE_DATA_FOLDER="/usr/share/superflu-riteurnz-data" ) + + cmake_src_configure +} |