From 094e0f2346e96b586d6753d1117bc701ec71a9e8 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 30 Oct 2025 09:23:12 +0100 Subject: [PATCH] games-strategy/freesynd: treeclean Closes: https://bugs.gentoo.org/787197 (pkgremoved) Closes: https://bugs.gentoo.org/958317 (pkgremoved) Closes: https://bugs.gentoo.org/958318 (pkgremoved) Signed-off-by: Andreas Sturmlechner --- games-strategy/freesynd/Manifest | 1 - .../freesynd/files/freesynd-0.7.5-cmake.patch | 28 ------- games-strategy/freesynd/freesynd-0.7.5.ebuild | 74 ------------------- games-strategy/freesynd/metadata.xml | 14 ---- profiles/package.mask | 3 +- 5 files changed, 1 insertion(+), 119 deletions(-) delete mode 100644 games-strategy/freesynd/Manifest delete mode 100644 games-strategy/freesynd/files/freesynd-0.7.5-cmake.patch delete mode 100644 games-strategy/freesynd/freesynd-0.7.5.ebuild delete mode 100644 games-strategy/freesynd/metadata.xml diff --git a/games-strategy/freesynd/Manifest b/games-strategy/freesynd/Manifest deleted file mode 100644 index 484e6e229fc21..0000000000000 --- a/games-strategy/freesynd/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST freesynd-0.7.5.tar.gz 2622888 BLAKE2B 1fedaa8a4e07c64941f83b0352b84419d61f8ef828cd923947643b9547aa92016bc765b6acc4f8272bf2ca7aafa60bd25c5eaba85a37ab1410c826c0d9d46253 SHA512 70cd28c660c7e000f799746be62dbcdc284a5ab8da8670e5b4f0fca0fdbe265cde1014f08fd6f0ed41fb50188fc1e672c8a4267722715cecaa354f47a8ef746c diff --git a/games-strategy/freesynd/files/freesynd-0.7.5-cmake.patch b/games-strategy/freesynd/files/freesynd-0.7.5-cmake.patch deleted file mode 100644 index 6448271b1f99a..0000000000000 --- a/games-strategy/freesynd/files/freesynd-0.7.5-cmake.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -34,6 +34,13 @@ - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_C_FLAGS}") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXX_FLAGS}") - -+option(BUILD_DEV_TOOLS "Build development tools") -+option(WITH_DEBUG "Enable debug definitions") -+ -+if(WITH_DEBUG) -+ add_definitions (-D_DEBUG) -+endif() -+ - # Set standard definitions for all platforms. - add_definitions (-DSYSTEM_SDL) - add_definitions (-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\") -@@ -59,10 +66,7 @@ - message (FATAL_ERROR "Unable to locate PNG") - endif () - --if (CMAKE_BUILD_TYPE STREQUAL "debug" OR CMAKE_BUILD_TYPE STREQUAL "Debug") -- set (BUILD_DEV_TOOLS TRUE) --else () -- set (BUILD_DEV_TOOLS FALSE) -+if (CMAKE_BUILD_TYPE AND NOT CMAKE_BUILD_TYPE STREQUAL "debug") - # We only define an install target if we're doing a release build. - # Furthermore, on Mac, the data folder is a part of the app bundle. - if (NOT APPLE) diff --git a/games-strategy/freesynd/freesynd-0.7.5.ebuild b/games-strategy/freesynd/freesynd-0.7.5.ebuild deleted file mode 100644 index 0d210ff3512aa..0000000000000 --- a/games-strategy/freesynd/freesynd-0.7.5.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_IN_SOURCE_BUILD=1 -inherit cmake desktop xdg-utils readme.gentoo-r1 - -DESCRIPTION="Portable engine reimplementation for the classic Bullfrog game Syndicate" -HOMEPAGE="https://freesynd.sourceforge.io/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug devtools" - -RDEPEND=" - media-libs/libogg - media-libs/libpng:0= - media-libs/libsdl[X,sound,video] - media-libs/libvorbis - media-libs/sdl-mixer[mp3,vorbis] - media-libs/sdl-image[png] -" -DEPEND="${RDEPEND}" - -DOCS=( NEWS README INSTALL AUTHORS ) - -PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) - -DOC_CONTENTS=" - You have to set \"data_dir = /my/path/to/synd-data\" - in \"~/.${PN}/${PN}.ini\". -" - -src_prepare() { - cmake_src_prepare - - sed -e "s:#freesynd_data_dir = /usr/share/freesynd/data:freesynd_data_dir = /usr/share/${PN}/data:" \ - -i ${PN}.ini || die -} - -src_configure() { - local mycmakeargs=( - -DWITH_DEBUG=$(usex debug) - -DBUILD_DEV_TOOLS=$(usex devtools) - ) - cmake_src_configure -} - -src_install() { - dobin src/${PN} - use devtools && newbin src/dump ${PN}-dump - insinto /usr/share/${PN} - doins -r data - newicon -s 128 icon/sword.png ${PN}.png - make_desktop_entry ${PN} - einstalldocs - readme.gentoo_create_doc -} - -pkg_postinst() { - xdg_icon_cache_update - if use debug ; then - ewarn "Debug build is not meant for regular playing," - ewarn "game speed is higher." - fi - readme.gentoo_print_elog -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-strategy/freesynd/metadata.xml b/games-strategy/freesynd/metadata.xml deleted file mode 100644 index 04b0f5066edce..0000000000000 --- a/games-strategy/freesynd/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - - Build development tools - - - freesynd - - diff --git a/profiles/package.mask b/profiles/package.mask index 9602a05c5edc0..7d030d1a7b1bd 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -190,7 +190,7 @@ dev-build/cmake-fedora # Remaining old EAPI-7 based cmake.eclass consumers after 4 years of # tracking EAPI-7 removal. Port to EAPI-8 if you can. # Bugs #957246, #957403, #957788, #957819, #957869, #957918, -# #958317, #958596, #958651, #960286 +# #958596, #958651, #960286 # Removal on 2025-11-01. dev-games/newton games-action/lugaru @@ -202,7 +202,6 @@ games-fps/avp games-kids/memonix games-puzzle/meandmyshadow games-server/pvpgn -games-strategy/freesynd # Sam James (2025-09-21) # Breaks (common) mt7921e WiFi driver with a hang in many cases, affecting