* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/files/, games-fps/redeclipse/
@ 2018-01-28 11:45 Azamat H. Hackimov
0 siblings, 0 replies; only message in thread
From: Azamat H. Hackimov @ 2018-01-28 11:45 UTC (permalink / raw
To: gentoo-commits
commit: b5e8e22983a162014994981199c4a402a4bc151b
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun Jan 28 11:44:42 2018 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sun Jan 28 11:44:42 2018 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=b5e8e229
[games-fps/redeclipse] remove package, in portage now
.../files/redeclipse-1.5.3_unbundle-enet.patch | 76 ------------------
games-fps/redeclipse/metadata.xml | 11 ---
games-fps/redeclipse/redeclipse-1.5.3.ebuild | 92 ----------------------
3 files changed, 179 deletions(-)
diff --git a/games-fps/redeclipse/files/redeclipse-1.5.3_unbundle-enet.patch b/games-fps/redeclipse/files/redeclipse-1.5.3_unbundle-enet.patch
deleted file mode 100644
index 5b8d9b1..0000000
--- a/games-fps/redeclipse/files/redeclipse-1.5.3_unbundle-enet.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- redeclipse-1.5.2.orig/src/Makefile 2015-07-11 14:20:26.607791059 +0500
-+++ redeclipse-1.5.2/src/Makefile 2015-07-11 14:37:20.846741852 +0500
-@@ -37,7 +37,7 @@
- CXX_TEMP:=$(CXX)
- override CXX=$(TOOLSET_PREFIX)$(CXX_TEMP)
-
--INCLUDES= -I. -Ishared -Iengine -Igame -Ienet/include
-+INCLUDES= -I. -Ishared -Iengine -Igame
-
-
- STRIP=
-@@ -81,7 +81,7 @@
- endif
- endif
- CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
--CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
-+CLIENT_LIBS= -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
- endif
- ifneq (,$(findstring linux,$(PLATFORM)))
- CLIENT_LIBS+= -lrt
-@@ -156,7 +156,7 @@
- SERVER_LIBS= -mwindows $(STD_LIBS) -L$(WINDLL) -L$(WINLIB) -lzlib1 -lenet -lws2_32 -lwinmm
- else
- SERVER_INCLUDES= -DSTANDALONE $(INCLUDES)
--SERVER_LIBS= -Lenet -lenet -lz
-+SERVER_LIBS= -lenet -lz
- endif
- SERVER_OBJS= \
- shared/crypto-standalone.o \
-@@ -170,17 +170,12 @@
- engine/server-standalone.o \
- game/server-standalone.o
-
--LIBENET= enet/libenet.a
--
- GENKEY_OBJS= engine/genkey.o shared/crypto-standalone.o
-
- all:
-
- default: all
-
--clean-enet:
-- $(MAKE) -C enet clean
--
- clean-client:
- @rm -fv $(CLIENT_PCH) $(CLIENT_OBJS) $(APPCLIENT)$(BIN_SUFFIX)
-
-@@ -190,7 +185,7 @@
- clean-genkey:
- @rm -fv $(GENKEY_OBJS) genkey$(BIN_SUFFIX)
-
--clean: clean-enet clean-client clean-server clean-genkey
-+clean: clean-client clean-server clean-genkey
-
- %.h.gch: %.h
- $(CXX) $(CXXFLAGS) -x c++-header -o $(subst .h.gch,.tmp.h.gch,$@) $(subst .h.gch,.h,$@)
-@@ -256,9 +251,6 @@
-
- install: install-client install-server
-
--$(LIBENET):
-- $(MAKE) -C enet
--
- depend:
- makedepend -Y -I. -Ishared -Iengine -Igame $(subst .o,.cpp,$(CLIENT_OBJS))
- makedepend -a -o-standalone.o -Y -I. -Ishared -Iengine -Igame -DSTANDALONE $(subst -standalone.o,.cpp,$(SERVER_OBJS))
---- redeclipse-1.5.2.orig/src/engine/engine.h 2015-07-11 14:20:25.554791110 +0500
-+++ redeclipse-1.5.2/src/engine/engine.h 2015-07-11 15:01:02.790672864 +0500
-@@ -3,6 +3,7 @@
-
- #include "version.h"
- #include "cube.h"
-+#include <enet/enet.h>
-
- #define LAN_PORT 28799
- #define MASTER_PORT 28800
diff --git a/games-fps/redeclipse/metadata.xml b/games-fps/redeclipse/metadata.xml
deleted file mode 100644
index e659e98..0000000
--- a/games-fps/redeclipse/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer>
-<email>azamat.hackimov@gmail.com</email>
-<name>Azamat H. Hackimov</name>
-</maintainer>
-<longdescription lang="en">
-First-person ego-shooter, built as a total conversion of Cube Engine 2.
-</longdescription>
-</pkgmetadata>
diff --git a/games-fps/redeclipse/redeclipse-1.5.3.ebuild b/games-fps/redeclipse/redeclipse-1.5.3.ebuild
deleted file mode 100644
index 50b4f9d..0000000
--- a/games-fps/redeclipse/redeclipse-1.5.3.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit games versionator
-
-MAJOR_VERSION=$(get_version_component_range 1-2)
-
-DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2"
-HOMEPAGE="http://www.redeclipse.net/"
-SRC_URI="http://www.indiedb.com/downloads/mirror/87522/100/342c6b2c3783dcee476cdf0457a0d5e7 -> ${PN}_${PV}_nix.tar.bz2"
-
-# According to doc/license.txt file
-LICENSE="HPND ZLIB CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dedicated"
-
-DEPEND="!dedicated? (
- media-libs/freetype:2
- media-libs/libsdl:0[opengl]
- media-libs/sdl-image:0[jpeg,png]
- media-libs/sdl-mixer:0[mp3,vorbis]
- virtual/opengl
- x11-libs/libX11
- )
- >=net-libs/enet-1.3.9:1.3
- sys-libs/zlib"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- # Unbundle enet
- epatch "${FILESDIR}/${P}_unbundle-enet.patch"
- rm -r src/enet
-
- # Menu and mans
- sed -e "s:@APPNAME@:${PN}:" \
- -e "/^Keywords=/s/$/;/" \
- src/install/nix/redeclipse.desktop.am \
- > src/install/nix/redeclipse.desktop
-
- sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \
- -e "s:@DATADIR@:${GAMES_DATADIR}:g" \
- -e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
- -e "s:@REDECLIPSE@:${PN}:g" \
- -e "s:@APPNAME@:${PN}:g" \
- -e "s:@CAPPNAME@:REDECLIPSE:g" \
- doc/man/redeclipse.6.am \
- > doc/man/redeclipse.6
-
- sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \
- -e "s:@DATADIR@:${GAMES_DATADIR}:g" \
- -e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
- -e "s:@REDECLIPSE@:${PN}:g" \
- -e "s:@APPNAME@:${PN}:g" \
- -e "s:@CAPPNAME@:REDECLIPSE:g" \
- doc/man/redeclipse-server.6.am \
- > doc/man/redeclipse-server.6
-}
-
-src_compile() {
- if ! use dedicated ; then
- emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src client server
- else
- emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src server
- fi
-}
-
-src_install() {
- local dir="${GAMES_PREFIX_OPT}/${PN}"
- insinto "${dir}"
- doins -r config data
-
- exeinto "${dir}"
- doexe src/redeclipse_server_linux
- if ! use dedicated ; then
- doexe src/redeclipse_linux
- newicon src/install/nix/${PN}_x128.png ${PN}.png
- domenu src/install/nix/redeclipse.desktop
- doman doc/man/redeclipse.6
- fi
-
- games_make_wrapper "${PN}" "${dir}/redeclipse_linux" "${dir}"
- games_make_wrapper "${PN}_server" "${dir}/redeclipse_server_linux" "${dir}"
-
- doman doc/man/redeclipse-server.6
- dodoc readme.txt doc/examples/servinit.cfg
-
- prepgamesdirs
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-28 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-28 11:45 [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/files/, games-fps/redeclipse/ Azamat H. Hackimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox