accelerator3d: remove
Needs python 2.7, but py-OpenGL does not support this any longer.
This commit is contained in:
parent
536a013379
commit
a688809c99
7 changed files with 3 additions and 95 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: CHANGES-2021,v 1.6271 2021/12/17 21:40:06 schwarz Exp $
|
||||
$NetBSD: CHANGES-2021,v 1.6272 2021/12/18 00:13:01 wiz Exp $
|
||||
|
||||
Changes to the packages collection and infrastructure in 2021:
|
||||
|
||||
|
@ -9403,3 +9403,4 @@ Changes to the packages collection and infrastructure in 2021:
|
|||
Updated sysutils/pciutils to 3.7.0nb2 [maya 2021-12-17]
|
||||
Updated www/firefox to 95.0nb1 [maya 2021-12-17]
|
||||
Updated net/sipsak to 0.9.8.1 [schwarz 2021-12-17]
|
||||
Removed games/accelerator3d [wiz 2021-12-18]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.507 2021/10/04 21:52:17 gutteridge Exp $
|
||||
# $NetBSD: Makefile,v 1.508 2021/12/18 00:13:01 wiz Exp $
|
||||
#
|
||||
|
||||
COMMENT= Games
|
||||
|
@ -16,7 +16,6 @@ SUBDIR+= MyGoGrinder
|
|||
SUBDIR+= REminiscence
|
||||
SUBDIR+= abbayedesmorts
|
||||
SUBDIR+= abuse
|
||||
SUBDIR+= accelerator3d
|
||||
SUBDIR+= adom
|
||||
SUBDIR+= afternoonstalker
|
||||
SUBDIR+= agm
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vein of Tempest or n2o.
|
|
@ -1,46 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.12 2020/12/04 20:45:18 nia Exp $
|
||||
|
||||
DISTNAME= accelerator-0.1.1
|
||||
PKGNAME= ${DISTNAME:S/accelerator/accelerator3d/}
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=accelerator3d/}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://accelerator3d.sourceforge.net/
|
||||
COMMENT= Fast-paced, 3D, first-person shoot/dodge-'em-up
|
||||
LICENSE= artistic
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGBASE}
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
|
||||
DEPENDS+= ${PYPKGPREFIX}-ode-[0-9]*:../../devel/py-ode
|
||||
DEPENDS+= ${PYPKGPREFIX}-OpenGL-[0-9]*:../../graphics/py-OpenGL
|
||||
|
||||
PYTHON_VERSIONS_ACCEPTED= 27 # py-ode
|
||||
|
||||
REPLACE_PYTHON+= accelerator.py
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
ACCELERATOR3D_DATADIR= ${PREFIX}/share/${PKGBASE}
|
||||
|
||||
SUBST_CLASSES+= prefix
|
||||
SUBST_FILES.prefix= accelerator.py
|
||||
SUBST_MESSAGE.prefix= Fixing PREFIX path.
|
||||
SUBST_SED.prefix= -e "s|'snd'|'${PREFIX}/share/${PKGBASE}'|"
|
||||
SUBST_SED.prefix+= -e "s|'gfx'|'${PREFIX}/share/${PKGBASE}'|"
|
||||
SUBST_STAGE.prefix= pre-install
|
||||
|
||||
INSTALLATION_DIRS+= bin share/${PKGBASE}
|
||||
|
||||
do-install:
|
||||
${RUN} ${INSTALL_SCRIPT} ${WRKSRC}/accelerator.py ${DESTDIR}${PREFIX}/bin/accelerator3d
|
||||
${RUN} ${INSTALL_DATA} ${WRKSRC}/snd/* ${DESTDIR}${ACCELERATOR3D_DATADIR}
|
||||
${RUN} ${INSTALL_DATA} ${WRKSRC}/gfx/* ${DESTDIR}${ACCELERATOR3D_DATADIR}
|
||||
|
||||
.include "../../lang/python/application.mk"
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -1,24 +0,0 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2016/07/24 02:34:32 kamil Exp $
|
||||
bin/accelerator3d
|
||||
share/accelerator3d/bogon.wav
|
||||
share/accelerator3d/bullet.png
|
||||
share/accelerator3d/circuit.png
|
||||
share/accelerator3d/cluon.wav
|
||||
share/accelerator3d/crosshair.png
|
||||
share/accelerator3d/electricshock.wav
|
||||
share/accelerator3d/engine.wav
|
||||
share/accelerator3d/font.png
|
||||
share/accelerator3d/logo.png
|
||||
share/accelerator3d/menu_browse.wav
|
||||
share/accelerator3d/menu_select.wav
|
||||
share/accelerator3d/meters.png
|
||||
share/accelerator3d/neon.wav
|
||||
share/accelerator3d/phlogiston.png
|
||||
share/accelerator3d/phlogiston.wav
|
||||
share/accelerator3d/power.png
|
||||
share/accelerator3d/scrape.wav
|
||||
share/accelerator3d/shield.png
|
||||
share/accelerator3d/ship_explode.wav
|
||||
share/accelerator3d/shoot.wav
|
||||
share/accelerator3d/slam.wav
|
||||
share/accelerator3d/thud.wav
|
|
@ -1,6 +0,0 @@
|
|||
$NetBSD: distinfo,v 1.3 2021/10/26 10:43:44 nia Exp $
|
||||
|
||||
BLAKE2s (accelerator-0.1.1.zip) = dd62d23f9130a5525c094ee8530db9350681db68a0c79fe7f2ace6b2f7e24c98
|
||||
SHA512 (accelerator-0.1.1.zip) = 2b4f42429429f72e77a970c97343c6b54ec3dbce4cdba538e947107c98b4e6993ba7b9d71ee8fda2df766ca4cd2ab998503beb277e55aef75830db0f86aecfa6
|
||||
Size (accelerator-0.1.1.zip) = 1192989 bytes
|
||||
SHA1 (patch-accelerator.py) = 7615063f3933755461d53e1faee23994e63a94db
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-accelerator.py,v 1.1 2016/07/24 02:34:32 kamil Exp $
|
||||
|
||||
Adapt for new API.
|
||||
|
||||
--- accelerator.py.orig 2016-07-20 19:56:58.692780436 +0000
|
||||
+++ accelerator.py
|
||||
@@ -274,7 +274,7 @@ def DisplayInit():
|
||||
glColorMaterial(GL_FRONT,GL_AMBIENT_AND_DIFFUSE)
|
||||
glMaterialfv(GL_FRONT,GL_SHININESS,128)
|
||||
glMaterialfv(GL_FRONT,GL_SPECULAR,(0.5,0.5,0.5,1))
|
||||
- glLightModel(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
|
||||
+ glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
|
||||
glEnable(GL_LINE_SMOOTH)
|
||||
glEnable(GL_NORMALIZE)
|
||||
#glPolygonMode(GL_FRONT,GL_LINE)
|
Loading…
Reference in a new issue