From f7e3fb37f3159af53bdf851e812278655b512a3a Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 25 Jun 2023 22:39:11 +0100 Subject: games-action/dxx-rebirth: Bump snapshot to 20230625 My new patch was merged upstream already. Signed-off-by: James Le Cuirot --- games-action/dxx-rebirth/Manifest | 2 +- .../dxx-rebirth-0.61.0_pre20230618.ebuild | 260 --------------------- .../dxx-rebirth-0.61.0_pre20230625.ebuild | 256 ++++++++++++++++++++ ...x-rebirth-0.61.0_pre20230618-sdl12-compat.patch | 38 --- 4 files changed, 257 insertions(+), 299 deletions(-) delete mode 100644 games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20230618.ebuild create mode 100644 games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20230625.ebuild delete mode 100644 games-action/dxx-rebirth/files/dxx-rebirth-0.61.0_pre20230618-sdl12-compat.patch (limited to 'games-action') diff --git a/games-action/dxx-rebirth/Manifest b/games-action/dxx-rebirth/Manifest index 69e7f50bc883..1e9f551586c4 100644 --- a/games-action/dxx-rebirth/Manifest +++ b/games-action/dxx-rebirth/Manifest @@ -1 +1 @@ -DIST dxx-rebirth-0.61.0_pre20230618.tar.gz 2063234 BLAKE2B d602e8e92f8a494eabe3645e4c465f1f1b1bc10a0b27d4b518a617f07c90c86c903b7a6bed42085bfe992cd8533f57ac6eca2c10ee0b02d5fc677859f0d80bd3 SHA512 a0a0318169ed55ef9969fe9827d87871bec3d168fb94bed1e7d0c61ce62fdad9f57040181f2c05f9107a0f898ba4876b802e74d43028c90169eefebd2b9eb79d +DIST dxx-rebirth-0.61.0_pre20230625.tar.gz 2063234 BLAKE2B 5ca7c699e7240553c6106fc008acf08e56fbbf8eed15fa6988390b82f149f91c522bf1fcaebf463fc0923ed2b5518f71f913b17c446a04176addc8f6fa03fab7 SHA512 21a1fa46da4f4b20515e79c746bc6eac82164777c88caf6dd048f8e289f85914c1ae844f8bad6f858855172e8556649f60daa17b9ea23c2d6854e4acb777ee2a diff --git a/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20230618.ebuild b/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20230618.ebuild deleted file mode 100644 index 833ffdb92ee8..000000000000 --- a/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20230618.ebuild +++ /dev/null @@ -1,260 +0,0 @@ -# Copyright 2017-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -MY_COMMIT="111f6f2f0dd8de7c2f669eb4d784a0d9e9f124f9" - -# Games under Gentoo are marked as 'testing' by convention -# -# Other architectures are reported to work, but not tested regularly by -# the core team. -# -# Raspberry Pi support is tested by an outside contributor, and his -# fixes are merged into the main source by upstream. -# -# Cross-compilation to Windows is also supported. -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -inherit desktop flag-o-matic python-any-r1 scons-utils toolchain-funcs xdg - -if [[ "${PV}" = 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dxx-rebirth/dxx-rebirth" - unset KEYWORDS -elif [[ -n ${MY_COMMIT} ]]; then - S="${WORKDIR}/${PN}-${MY_COMMIT}" - SRC_URI="https://codeload.github.com/dxx-rebirth/dxx-rebirth/tar.gz/${MY_COMMIT} -> ${PN}-${PVR}.tar.gz" - unset MY_COMMIT -else - S="${WORKDIR}/${PN}_${PV##*_pre}-src" - SRC_URI="https://www.dxx-rebirth.com/download/dxx/rebirth/${PN}_${PV##*_pre}-src.tar.xz" -fi - -DESCRIPTION="Descent Rebirth - enhanced Descent 1 & 2 engine" -HOMEPAGE="https://www.dxx-rebirth.com/" - -LICENSE="DXX-Rebirth GPL-3" -SLOT="0" - -# Default to building both game engines. The total size is relatively -# small. -IUSE="+d1x +d2x +data debug editor +flac ipv6 +joystick l10n_de +midi +mp3 +music +opengl opl3-musicpack +png sc55-musicpack sdl2 tracker valgrind +vorbis" - -# Game data is stored in HOG files. -# Game movies are in MVL files. -# Various add-ons use zip files to bundle their content together. -# -# PNG support enables writing screenshots as PNG instead of TGA (for -# USE=opengl) or PCX (for USE=-opengl). -DEPEND="dev-games/physfs[hog,mvl,zip] - opengl? ( - virtual/opengl - virtual/glu ) - png? ( media-libs/libpng ) -" - -# As of this writing, there is no Portage shorthand syntax to express: -# " -# flag1? ( package[flag1] ) -# flag2? ( package[flag2] ) -# ... -# flagN? ( package[flagN] ) -# ", such that unsetting all flags removes the dependency on package. -# Fake it by using a text fragment that is repeatedly expanded with -# differing substitutions. -# -# The use of single quotes is intentional here. The ${word} is a -# placeholder to be matched by text substitution when the fragment is -# expanded, not a shell variable reference. -# -# For each flag, depend on freedata using the same flag. If none of the -# flags are set, freedata is not needed. -DXX_RDEPEND_USE_FREEDATA_FRAGMENT=' - ${USE}? ( games-action/descent${ENGINE}-freedata[${USE}] ) -' -# Block <0.59.100 due to file collision. -# -# If USE=data, then require a game data package. -# The build process does not use the game data, nor change how the game -# is built based on what game data will be used. At startup, the game -# will search for both types of game data and use what it finds. Users -# can switch between shareware/retail data at any time by -# adding/removing the appropriate data packages. A rebuild is _not_ -# required after swapping the data files. -# -# USE-depend on freedata for various extras, but only if any of those -# extras are enabled. -DXX_RDEPEND_ENGINE_FRAGMENT=' - d${ENGINE}x? ( - ! -Date: Sun, 25 Jun 2023 15:16:55 +0100 -Subject: [PATCH] Skip SDL OpenGL build check when the SDL2 wrapper is detected - -The wrapper does not define SDL_VIDEO_OPENGL in SDL_config.h. This -appears to be deliberate, although it's not entirely clear why. - - /* Don't define most of the SDL backends, under the assumption checking for these against the headers won't work anyhow. - The exception is the X11 backend; you need its define to know if you can use its syswm interface. */ - -We could check SDL2's SDL_config.h instead, but that seems awkward to -pull off. - -Closes: https://github.com/dxx-rebirth/dxx-rebirth/issues/689 ---- - SConstruct | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/SConstruct b/SConstruct -index c98a22bc8..59210a802 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -1586,9 +1586,11 @@ static void terminate_handler() - init_cdrom = '0' if sdl2 else 'SDL_INIT_CDROM' - error_text_opengl_mismatch = f'Rebirth configured with OpenGL enabled, but SDL{sdl2} configured with OpenGL disabled. Disable Rebirth OpenGL or install an SDL{sdl2} with OpenGL enabled.' - test_opengl = (f''' -+#if !((SDL_MAJOR_VERSION == 1) && (SDL_MINOR_VERSION == 2) && (SDL_PATCHLEVEL >= 50)) - #ifndef SDL_VIDEO_OPENGL - #error "{error_text_opengl_mismatch}" - #endif -+#endif - ''') if user_settings.opengl else '' - main = ''' - SDL_RWops *ops = reinterpret_cast(argv); --- -2.40.1 - -- cgit v1.2.3-65-gdbad