From fbc5d7b32ed370279238af30bca5ebf00b6b8a0b Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 19 Dec 2019 16:37:05 +0100 Subject: games-arcade/supertux: Bump to version 0.6.1 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Lars Wendler --- games-arcade/supertux/Manifest | 1 + games-arcade/supertux/supertux-0.6.1.ebuild | 59 +++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 games-arcade/supertux/supertux-0.6.1.ebuild (limited to 'games-arcade') diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest index 02fccc57d69d..877a5c46c8ee 100644 --- a/games-arcade/supertux/Manifest +++ b/games-arcade/supertux/Manifest @@ -1,2 +1,3 @@ DIST SuperTux-v0.5.1-Source.tar.gz 90564367 BLAKE2B ba6549c135655d59ebbbed1431baf30cce1e0fb1bcdaee3dd050732992a02bb4dbd25b5399c83d3a7145f8afd20b3e8f4471007d424d2bc40c906d6121678123 SHA512 1a841cec9b71ff482aa271ec94f0563052ed33c65b26958c15c818f897f184356605a115abb70bdb8302f8cdb6e6107cf336790c3929cbc7e3dc78d31b4e2c8a DIST SuperTux-v0.6.0-Source.tar.gz 131203604 BLAKE2B 196e2ec328469b8fd373abeca6755207dbfdb8d21ba294f8150abd889f0ea8636ab3132cee94c976b8b768a6965eafe7467f09333ecf59a294405e73a5211c59 SHA512 7e313f1af1131e83ec658fee12803542d59075fa94a0a79a9182382335dc1b10a9f75092562555acf875dd03b15b336b40772fb8cdd81a82fa5802deb51b610b +DIST SuperTux-v0.6.1-Source.tar.gz 163293143 BLAKE2B 193aeffe2f6d4e4437339c812200428581912caa6593d6b2c20245c6ac1fc6793afcdc44ee22b25b8b737fec4296f0a4665034567c83b667a4108388f59e327d SHA512 38a1da2a0546aa7fb98ece307b35a7e03a154b018d4b732592d3a718fd6c8ba827f3f8d99f0df777b7f438c0294c1838185ea7e60cc08f8cdb6f9a46b440e860 diff --git a/games-arcade/supertux/supertux-0.6.1.ebuild b/games-arcade/supertux/supertux-0.6.1.ebuild new file mode 100644 index 000000000000..dce1075f2829 --- /dev/null +++ b/games-arcade/supertux/supertux-0.6.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +: ${CMAKE_MAKEFILE_GENERATOR:=emake} +inherit cmake-utils flag-o-matic + +MY_P="SuperTux-v${PV}-Source" + +DESCRIPTION="A game similar to Super Mario Bros." +HOMEPAGE="https://supertux.org/" +SRC_URI="https://github.com/SuperTux/${PN}/releases/download/v${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2+ GPL-3+ ZLIB MIT CC-BY-SA-2.0 CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=dev-games/physfs-3.0 + dev-libs/boost:= + media-libs/glew:= + virtual/opengl + media-libs/libvorbis + media-libs/openal + >=media-libs/libsdl2-2.0.1[joystick,video] + >=media-libs/sdl2-image-2.0.0[png,jpeg] + >=net-misc/curl-7.21.7" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.0-tinygettext.patch + "${FILESDIR}"/${PN}-0.6.0-{license,icon,obstack}.patch +) + +src_prepare() { + cmake-utils_src_prepare + + # This is not a developer release so switch the logo to the non-dev one. + sed -e 's@logo_dev@logo@' \ + -i data/images/objects/logo/logo.sprite || die +} + +src_configure() { + append-cxxflags -std=c++11 + + local mycmakeargs=( + -DWERROR=OFF + -DINSTALL_SUBDIR_BIN=bin + -DINSTALL_SUBDIR_DOC=share/doc/${PF} + -DINSTALL_SUBDIR_SHARE=share/${PN}2 + -DENABLE_SQDBG="$(usex debug)" + -DUSE_SYSTEM_PHYSFS=ON + ) + cmake-utils_src_configure +} -- cgit v1.2.3-65-gdbad