openlierox: remove package

python 2, no release/activity upstream since 2018
This commit is contained in:
classabbyamp 2023-05-15 12:57:05 -04:00 committed by classabbyamp
parent 9e2823ad81
commit c8551ea64b
5 changed files with 1 additions and 83 deletions

View file

@ -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)

View file

@ -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 <asm/ptrace.h>
+#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

View file

@ -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 <orphan@voidlinux.org>"
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 "{}" \;
}

View file

@ -1 +0,0 @@
pattern='OpenLieroX_\K[\d]+\.[\d]+(_rc[\d]+)?(?=\.src.tar.bz2)'

View file

@ -379,6 +379,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