1 |
commit: 87bdf8afe75a1eac7a4182d7d645741b50ffe93f |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 30 00:54:50 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 30 20:38:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87bdf8af |
7 |
|
8 |
games-arcade/supertux: Bump to version 0.6.3 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
games-arcade/supertux/Manifest | 1 + |
13 |
games-arcade/supertux/supertux-0.6.3.ebuild | 63 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest |
17 |
index 9ffef0fc9534..4fe1b6e31bdb 100644 |
18 |
--- a/games-arcade/supertux/Manifest |
19 |
+++ b/games-arcade/supertux/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST SuperTux-v0.6.2-Source.tar.gz 174295862 BLAKE2B 1179a5ecf92dfb2ac56b87afe4fed21a2bdc1d7f91641fea8aafc2994ccfe49745420411f41b2145f06fa9714c73d75ecbc85160e85edcbd71c472026cefe708 SHA512 5baa783ee589b42a9bbce3740659dbb7b617ebfcc00c0a038c03d31b56700e3923c8548700ccebe42b325ca03bd85186bc5edef9f6580d93dc48d8aca88cbf74 |
22 |
+DIST SuperTux-v0.6.3-Source.tar.gz 182065428 BLAKE2B c4acbe2c61306e6e462a375205b4e95af174c87dbc391f15211e1fac365ab51147d7a83d20a90e35f7d7a994c72b560631ddf1686fee2e1f937f97a711fb1003 SHA512 c6540bab1b3befbd975756031c4587e5569d9613d9539dc829c728b574d1a4da92816d6a7e68947b32963cc13d9b8b52312701c199138640e9f89e5885433798 |
23 |
|
24 |
diff --git a/games-arcade/supertux/supertux-0.6.3.ebuild b/games-arcade/supertux/supertux-0.6.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..93f09e6450c8 |
27 |
--- /dev/null |
28 |
+++ b/games-arcade/supertux/supertux-0.6.3.ebuild |
29 |
@@ -0,0 +1,63 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+#: ${CMAKE_MAKEFILE_GENERATOR:=emake} |
36 |
+inherit cmake flag-o-matic |
37 |
+ |
38 |
+MY_PV="${PV/_rc/-rc.}" |
39 |
+MY_P="SuperTux-v${MY_PV}-Source" |
40 |
+ |
41 |
+DESCRIPTION="A game similar to Super Mario Bros" |
42 |
+HOMEPAGE="https://supertux.org/" |
43 |
+SRC_URI="https://github.com/SuperTux/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2+ GPL-3+ ZLIB MIT CC-BY-SA-2.0 CC-BY-SA-3.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
48 |
+IUSE="debug" |
49 |
+ |
50 |
+# =media-libs/libsdl2-2.0.14-r0 can cause supertux binary to move entire |
51 |
+# content of ${HOME} to ${HOME}/.local/share/supertux2/ |
52 |
+# DO NOT REMOVE THIS BLOCKER!!! See bug #764959 |
53 |
+RDEPEND=" |
54 |
+ !=media-libs/libsdl2-2.0.14-r0 |
55 |
+ >=dev-games/physfs-3.0 |
56 |
+ dev-libs/boost:=[nls] |
57 |
+ media-libs/freetype |
58 |
+ media-libs/glew:= |
59 |
+ media-libs/libpng:0= |
60 |
+ >=media-libs/libsdl2-2.0.1[joystick,video] |
61 |
+ media-libs/libvorbis |
62 |
+ media-libs/openal |
63 |
+ >=media-libs/sdl2-image-2.0.0[png,jpeg] |
64 |
+ >=net-misc/curl-7.21.7 |
65 |
+ virtual/opengl |
66 |
+" |
67 |
+DEPEND="${RDEPEND}" |
68 |
+BDEPEND=" |
69 |
+ virtual/pkgconfig |
70 |
+" |
71 |
+ |
72 |
+S="${WORKDIR}/${MY_P}" |
73 |
+ |
74 |
+PATCHES=( |
75 |
+ "${FILESDIR}"/${PN}-0.5.0-tinygettext.patch |
76 |
+ "${FILESDIR}"/${PN}-0.6.0-{license,icon,obstack}.patch |
77 |
+) |
78 |
+ |
79 |
+src_configure() { |
80 |
+ append-cxxflags -std=c++11 |
81 |
+ |
82 |
+ local mycmakeargs=( |
83 |
+ -DWERROR=OFF |
84 |
+ -DINSTALL_SUBDIR_BIN=bin |
85 |
+ -DINSTALL_SUBDIR_DOC=share/doc/${PF} |
86 |
+ -DINSTALL_SUBDIR_SHARE=share/${PN}2 |
87 |
+ -DENABLE_SQDBG="$(usex debug)" |
88 |
+ -DUSE_SYSTEM_PHYSFS=ON |
89 |
+ -DIS_SUPERTUX_RELEASE=ON |
90 |
+ ) |
91 |
+ cmake_src_configure |
92 |
+} |