From 0ed1c1de59defc55f338a0a7c05447c8ee7fb83b Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 15 May 2023 12:57:05 -0400 Subject: [PATCH] openlierox: remove package python 2, no release/activity upstream since 2018 --- srcpkgs/openlierox/patches/fix-cflags.patch | 17 --------- srcpkgs/openlierox/patches/ppc-musl.patch | 24 ------------ srcpkgs/openlierox/template | 41 --------------------- srcpkgs/openlierox/update | 1 - srcpkgs/removed-packages/template | 1 + 5 files changed, 1 insertion(+), 83 deletions(-) delete mode 100644 srcpkgs/openlierox/patches/fix-cflags.patch delete mode 100644 srcpkgs/openlierox/patches/ppc-musl.patch delete mode 100644 srcpkgs/openlierox/template delete mode 100644 srcpkgs/openlierox/update diff --git a/srcpkgs/openlierox/patches/fix-cflags.patch b/srcpkgs/openlierox/patches/fix-cflags.patch deleted file mode 100644 index 711358a3bf68..000000000000 --- a/srcpkgs/openlierox/patches/fix-cflags.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: CMakeOlxCommon.cmake -=================================================================== ---- a/CMakeOlxCommon.cmake -+++ b/CMakeOlxCommon.cmake -@@ -36,12 +36,6 @@ OPTION(BREAKPAD "Google Breakpad support - OPTION(DISABLE_JOYSTICK "Disable joystick support" No) - OPTION(MINGW_CROSS_COMPILE "Cross-compile Windows .EXE using i686-w64-mingw32-gcc compiler" No) - --IF (DEBUG) -- SET(CMAKE_BUILD_TYPE Debug) --ELSE (DEBUG) -- SET(CMAKE_BUILD_TYPE Release) --ENDIF (DEBUG) -- - IF (DEDICATED_ONLY) - SET(X11 No) - SET(WITH_G15 No) diff --git a/srcpkgs/openlierox/patches/ppc-musl.patch b/srcpkgs/openlierox/patches/ppc-musl.patch deleted file mode 100644 index dc1441fc726e..000000000000 --- a/srcpkgs/openlierox/patches/ppc-musl.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/src/client/CrashHandler.cpp -+++ b/src/client/CrashHandler.cpp -@@ -23,6 +23,9 @@ - - #include "../breakpad/BreakPad.h" - -+#if defined(__linux__) && defined(__powerpc__) -+#include -+#endif - - #ifdef NBREAKPAD - -@@ -320,7 +322,11 @@ public: - pnt = (void*) uc->uc_mcontext.sc_iaoq[0] & ~0x3UL ; - # elif (defined (__ppc__)) || (defined (__powerpc__)) - ucontext_t* uc = (ucontext_t*) secret; -+# if !defined(__GLIBC__) && !defined(__powerpc64__) -+ pnt = (void*) ((struct pt_regs *)uc->uc_regs)->nip ; -+# else - pnt = (void*) uc->uc_mcontext.regs->nip ; -+# endif - # elif defined(__sparc__) - struct sigcontext* sc = (struct sigcontext*) secret; - # if __WORDSIZE == 64 diff --git a/srcpkgs/openlierox/template b/srcpkgs/openlierox/template deleted file mode 100644 index 626bdd4d97a8..000000000000 --- a/srcpkgs/openlierox/template +++ /dev/null @@ -1,41 +0,0 @@ -# Template file for 'openlierox' -pkgname=openlierox -version=0.58.rc5 -revision=2 -build_style=cmake -configure_args="-DSYSTEM_DATA_DIR=/usr/share -DDEBUG=OFF -DBREAKPAD=OFF" -hostmakedepends="pkg-config python" -makedepends="SDL_image-devel SDL_mixer-devel freealut-devel - gd-devel libcurl-devel libvorbis-devel libxml2-devel libzip-devel" -depends="virtual?libGL python" -short_desc="Addictive real-time excessive Worms-clone" -maintainer="Orphaned " -license="GPL-2.0-or-later" -homepage="http://www.openlierox.net/" -distfiles="${SOURCEFORGE_SITE}/openlierox/OpenLieroX_${version/.rc/_rc}.src.tar.bz2" -checksum=3e029aba20f22d902027293e1f1a196e2f1794455cb2483d099709d7fb6c5fbb -python_version=2 -replaces="openlierox-data>=0" - -CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2" -case "$XBPS_TARGET_MACHINE" in - *-musl) makedepends+=" libexecinfo-devel";; -esac - -pre_configure() { - case "$XBPS_TARGET_MACHINE" in - *-musl) sed -i CMakeLists.txt -e "/^TARGET_LINK_LIBRARIES/s/)/ execinfo)/" ;; - esac -} - -do_install() { - # This package uses cmake yet it lacks an install target - vbin build/bin/openlierox - vman doc/openlierox.6 - vinstall share/OpenLieroX.svg 644 usr/share/pixmaps - vinstall share/openlierox-openlierox.desktop 644 usr/share/applications openlierox.desktop - vmkdir usr/share/OpenLieroX - vcopy share/gamedir/* usr/share/OpenLieroX - find ${DESTDIR}/usr/share/OpenLieroX -type d -exec chmod 755 "{}" \; - find ${DESTDIR}/usr/share/OpenLieroX -type f -exec chmod 644 "{}" \; -} diff --git a/srcpkgs/openlierox/update b/srcpkgs/openlierox/update deleted file mode 100644 index fdb55f617cda..000000000000 --- a/srcpkgs/openlierox/update +++ /dev/null @@ -1 +0,0 @@ -pattern='OpenLieroX_\K[\d]+\.[\d]+(_rc[\d]+)?(?=\.src.tar.bz2)' diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 9d87a81fde56..00fbb7ac6786 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -355,6 +355,7 @@ replaces=" oce<=0.18.3_1 onionshare<=2.2_5 opencl-clhpp<=2.0.15_1 + openlierox<=0.58.rc5_2 orage<=4.12.1_7 parallel-rust<=0.11.3_2 paraview<=5.8.1_3