summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-01-18 09:43:29 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-01-18 10:14:13 -0500
commit3a5147fd75c8379c85b89796b678cd1197538843 (patch)
tree6a997a62204752e5e9a320525beeaf1f0dd73e9c /games-action
parentdev-python/bpython: bump to 0.24 (diff)
downloadgentoo-3a5147fd75c8379c85b89796b678cd1197538843.tar.gz
gentoo-3a5147fd75c8379c85b89796b678cd1197538843.tar.bz2
gentoo-3a5147fd75c8379c85b89796b678cd1197538843.zip
games-action/teeworlds: EAPI7->8, pass no-strict, enable py3.11
Also adjust deps a bit. May be possible to drop [X] on libglvnd but the CMakeLists explicitly requests the legacy version (GLX). Closes: https://bugs.gentoo.org/858524 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/teeworlds/teeworlds-0.7.5-r2.ebuild (renamed from games-action/teeworlds/teeworlds-0.7.5-r1.ebuild)26
1 files changed, 13 insertions, 13 deletions
diff --git a/games-action/teeworlds/teeworlds-0.7.5-r1.ebuild b/games-action/teeworlds/teeworlds-0.7.5-r2.ebuild
index 88f0ed346022..ad55df8bd5ba 100644
--- a/games-action/teeworlds/teeworlds-0.7.5-r1.ebuild
+++ b/games-action/teeworlds/teeworlds-0.7.5-r2.ebuild
@@ -1,11 +1,10 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit cmake desktop python-any-r1
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake desktop flag-o-matic python-any-r1
DESCRIPTION="Online multi-player platform 2D shooter"
HOMEPAGE="https://www.teeworlds.com/"
@@ -21,26 +20,27 @@ IUSE="debug dedicated"
RDEPEND="
!dedicated? (
- app-arch/bzip2:=
media-libs/freetype
- media-libs/libsdl2[X,sound,opengl,video]
+ media-libs/libglvnd[X]
+ media-libs/libsdl2[sound,opengl,video]
media-libs/pnglite
media-sound/wavpack
- virtual/glu
- virtual/opengl
- x11-libs/libX11
)
- dev-libs/openssl:0=
- sys-libs/zlib"
+ dev-libs/openssl:=
+ sys-libs/zlib:="
DEPEND="${RDEPEND}"
BDEPEND="${PYTHON_DEPS}"
src_configure() {
+ append-flags -fno-strict-aliasing #858524
+
local mycmakeargs=(
- -DCLIENT=$(usex dedicated OFF ON)
- -DDEV=$(usex debug ON OFF)
+ -DCLIENT=$(usex !dedicated)
+ -DCMAKE_DISABLE_FIND_PACKAGE_X11=yes # unused
+ -DDEV=$(usex debug)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
+
cmake_src_configure
}