Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/meandmyshadow/
Date: Tue, 01 Jun 2021 23:44:41
Message-Id: 1622589683.9a7029ca58a6e06a8a148e126ad82b051e4e9c33.ionen@gentoo
1 commit: 9a7029ca58a6e06a8a148e126ad82b051e4e9c33
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 1 12:00:50 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 1 23:21:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a7029ca
7
8 games-puzzle/meandmyshadow: add 0.5a
9
10 - no longer need to specify paths, adds prefix support
11 - opengl USE removed (option removed in sdl2 migration)
12 - switch to xdg.eclass
13 - add lua-single for now-required >=lua5.2 support
14 - add missing [ssl] and [jpeg] for add-ons, also [wav] for assets
15 - set more complete LICENSE for assets using data/Credits.txt
16
17 Closes: https://bugs.gentoo.org/763009
18 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
19
20 games-puzzle/meandmyshadow/Manifest | 1 +
21 .../meandmyshadow/meandmyshadow-0.5a.ebuild | 43 ++++++++++++++++++++++
22 2 files changed, 44 insertions(+)
23
24 diff --git a/games-puzzle/meandmyshadow/Manifest b/games-puzzle/meandmyshadow/Manifest
25 index abff529461c..8876c111b10 100644
26 --- a/games-puzzle/meandmyshadow/Manifest
27 +++ b/games-puzzle/meandmyshadow/Manifest
28 @@ -1 +1,2 @@
29 DIST meandmyshadow-0.4-src.tar.gz 16962805 BLAKE2B 607c08c0484b049e02ed54d2483f30f1c7af8aeffc31c977dba335e57eb14734517469f345387778875567db7f446b159dfbc7e51832cddc0d29e8352b308b29 SHA512 945f096fdc2df58b29f91314cd88953d897bbdbd094d8092d6712d33f7dbacadd298ca797e678ebad08ca579ed67a7b9d664e1fa202753e687a021935032a92b
30 +DIST meandmyshadow-0.5a-src.tar.gz 17527733 BLAKE2B 76d47908ac0151981c0a597d7fac8bacc98895d7038943ff6f349c60156d503266acbb3875415f7552202f36bd21d97c1508a3e0a9fed501a65c5d4c1cca70ab SHA512 c9e6de9c9b47af3839b6830faa3619ddc69b2c2cabf4d90f4c1393758805acf9835abcba45d79037766b4b6e5f006e6f880eba593d1142b0e829a887eb844f27
31
32 diff --git a/games-puzzle/meandmyshadow/meandmyshadow-0.5a.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.5a.ebuild
33 new file mode 100644
34 index 00000000000..66db4ae6b1b
35 --- /dev/null
36 +++ b/games-puzzle/meandmyshadow/meandmyshadow-0.5a.ebuild
37 @@ -0,0 +1,43 @@
38 +# Copyright 1999-2021 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +LUA_COMPAT=( lua5-{2..4} )
44 +inherit xdg cmake lua-single
45 +
46 +DESCRIPTION="Puzzle/platform game with a player and its shadow"
47 +HOMEPAGE="https://acmepjz.github.io/meandmyshadow/"
48 +SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz"
49 +
50 +LICENSE="
51 + Apache-2.0 BitstreamVera CC-BY-SA-3.0 CC-BY-SA-4.0 CC0-1.0
52 + GPL-2+ GPL-3 GPL-3+ LGPL-2.1 OFL-1.1 public-domain"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +REQUIRED_USE="${LUA_REQUIRED_USE}"
56 +
57 +RDEPEND="
58 + ${LUA_DEPS}
59 + app-arch/libarchive:=
60 + media-libs/libsdl2[sound,video]
61 + media-libs/sdl2-image[jpeg,png]
62 + media-libs/sdl2-mixer[vorbis]
63 + media-libs/sdl2-ttf
64 + net-misc/curl[ssl]"
65 +DEPEND="${RDEPEND}"
66 +
67 +DOCS=(
68 + AUTHORS ChangeLog README.md
69 + docs/{Controls,ScriptAPI,ThemeDescription}.md
70 +)
71 +
72 +src_configure() {
73 + local mycmakeargs=(
74 + -DLua_FIND_VERSION_MAJOR=$(ver_cut 1 $(lua_get_version))
75 + -DLua_FIND_VERSION_MINOR=$(ver_cut 2 $(lua_get_version))
76 + -DLua_FIND_VERSION_COUNT=2
77 + -DLua_FIND_VERSION_EXACT=ON
78 + )
79 + cmake_src_configure
80 +}