summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-10-03 23:54:32 +0200
committerMichał Górny <mgorny@gentoo.org>2017-10-04 00:12:21 +0200
commitadf5ba788e71beab319d444fe7f6672e7fc6e2f7 (patch)
tree0ee44ba73f238f0f635f6a3a0131b3aa0a4874d5 /games-fps
parentnet-dialup/gtkterm: Remove last-rited pkg (diff)
downloadgentoo-adf5ba788e71beab319d444fe7f6672e7fc6e2f7.tar.gz
gentoo-adf5ba788e71beab319d444fe7f6672e7fc6e2f7.tar.bz2
gentoo-adf5ba788e71beab319d444fe7f6672e7fc6e2f7.zip
games-fps/warsow: Remove last-rited pkg
Closes: https://bugs.gentoo.org/567392
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/warsow/Manifest4
-rw-r--r--games-fps/warsow/files/warsow-1.5.1-openal.patch12
-rw-r--r--games-fps/warsow/files/warsow-1.5.1-pic.patch11
-rw-r--r--games-fps/warsow/metadata.xml12
-rw-r--r--games-fps/warsow/warsow-1.5.1-r1.ebuild181
5 files changed, 0 insertions, 220 deletions
diff --git a/games-fps/warsow/Manifest b/games-fps/warsow/Manifest
deleted file mode 100644
index 07d6affe3471..000000000000
--- a/games-fps/warsow/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST warsow-1.5.1-build.patch.gz 4008 SHA256 7b1796cdc49a449772696fb4db96a654456c5f3514a82a966d98f8d72dae2b36 SHA512 3fb9eb00c1a5e28cfd3aa258a70b4c0cf4ca2618c13ff8ed1559c046e33cbd1842b836973b97eac8f90c5640c7045a34e2a6104e241f492fe794149ae4c6aac1 WHIRLPOOL 721d9a3e1ba535a52f00e45fae3aa2e9b0b741f05b81c5c171927f8de652ac4a81eb5f521abb6f9e8cd76fbda4f629a84731ddaea50fc80144e996f55e26283c
-DIST warsow.png 1692 SHA256 086968e72271b248ef32609ed1818ff9f5c355297b1eee3cbee9e41f4e18a954 SHA512 76476fd6f624b4043405fbddeaa0fa46338b96bf46a9b64434940d9a84738a20c25243ef1316048159698b6a70b3e0f26218da3332203a93944312e77ba22c8f WHIRLPOOL 94b7c77641d5a8f581de4eb0e4e91b71f25347248a6aa6c1160e8fefda92951daa3fbbf04aee4920fc9b53fb07872d3fb7d870d4207d13844e07afa51c93e85b
-DIST warsow_1.51_sdk.tar.gz 89191554 SHA256 ac635c654e088566d30d53e8fab21abd2d40762d7f4ab0e09faa827aac5c4f97 SHA512 64de961de91eee781b90442b275d24e13239dc2b594ece665c24c1d8da75e206a00ab43a2a6f193a953e9b0173b4a93dd18fa94b9b33d92eebcb776493a8b158 WHIRLPOOL 0a1db561eedfb4cafa2bb8f91e4de121adbbb171405828936788c9fa537a821855d89dd7c5b8a9ec186ece0655f1c821b38fa07fc0c2477c61681cf354d3d657
-DIST warsow_1.51_unified.tar.gz 601553865 SHA256 94510d85e4a245b5f8c0c715ae41b1d162c96e06dbfe75ccd99fffb9a76426b5 SHA512 a6c3392010de192d9984655193cb2c4359e9e3959bb39176416936c0227e3f6060bb19149688b89e36285572045c2ab19c6ef8de71ace7cd514e30196da83da9 WHIRLPOOL 1f0bf896dd0aad18e3bf3090d856a6ecbfabfa1873d62f9f5c0ccb1fa8dd0e34f0a22e8c095030c309adf32c85894bbadc77496916bddc6302f7646f500aa6ac
diff --git a/games-fps/warsow/files/warsow-1.5.1-openal.patch b/games-fps/warsow/files/warsow-1.5.1-openal.patch
deleted file mode 100644
index 1bce87730556..000000000000
--- a/games-fps/warsow/files/warsow-1.5.1-openal.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rup warsow_1.51_sdk-upstream/source/source/Makefile warsow_1.51_sdk/source/source/Makefile
---- warsow_1.51_sdk-upstream/source/source/Makefile 2014-07-23 16:59:16.819811217 +0300
-+++ warsow_1.51_sdk/source/source/Makefile 2014-07-23 16:37:40.069824137 +0300
-@@ -285,7 +285,7 @@ endif
- ifeq ($(BUILD_SND_QF),YES)
- SDL_CONFIG?=sdl-config
-
--CFLAGS_QF=$(shell $(SDL_CONFIG) --cflags) -I./snd_openal -I./snd_common
-+CFLAGS_QF=$(shell $(SDL_CONFIG) --cflags) -I./snd_qf -I./snd_common
- LDFLAGS_QF=$(shell $(SDL_CONFIG) --libs) -lvorbisfile
- endif # BUILD_SND_QF
-
diff --git a/games-fps/warsow/files/warsow-1.5.1-pic.patch b/games-fps/warsow/files/warsow-1.5.1-pic.patch
deleted file mode 100644
index 71c4d8eed690..000000000000
--- a/games-fps/warsow/files/warsow-1.5.1-pic.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/snd_qf/snd_mix.c
-+++ source/snd_qf/snd_mix.c
-@@ -27,7 +27,7 @@
- int *snd_p, snd_linear_count, snd_vol, music_vol;
- short *snd_out;
-
--#if !defined ( id386 ) || defined ( __MACOSX__ )
-+#if defined ( PIC ) || !defined ( id386 ) || defined ( __MACOSX__ )
- #ifdef _WIN32
- #pragma warning( push )
- #pragma warning( disable : 4310 ) // cast truncates constant value
diff --git a/games-fps/warsow/metadata.xml b/games-fps/warsow/metadata.xml
deleted file mode 100644
index a693398acc48..000000000000
--- a/games-fps/warsow/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <use>
- <flag name="irc">Enable IRC support</flag>
- <flag name="server">Build server binaries additionally</flag>
- </use>
-</pkgmetadata>
diff --git a/games-fps/warsow/warsow-1.5.1-r1.ebuild b/games-fps/warsow/warsow-1.5.1-r1.ebuild
deleted file mode 100644
index e1af04c24ddc..000000000000
--- a/games-fps/warsow/warsow-1.5.1-r1.ebuild
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils check-reqs gnome2-utils flag-o-matic games
-
-# BASE_DATA_PV=1.0
-# BASE_DATA_P=${PN}_${BASE_DATA_PV}_unified
-DATA_PV=1.51
-UPDATE_P=${PN}_${DATA_PV}_update
-ENGINE_PV=1.51
-ENGINE_P=${PN}_${ENGINE_PV}_sdk
-
-DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)"
-HOMEPAGE="http://www.warsow.net/"
-SRC_URI="http://www.warsow.net/${ENGINE_P}.tar.gz
- http://www.warsow.net/warsow_${DATA_PV}_unified.tar.gz
- mirror://gentoo/warsow.png
- mirror://gentoo/${P}-build.patch.gz"
-
-# ZLIB: bundled angelscript
-LICENSE="GPL-2 ZLIB warsow"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug dedicated irc openal server"
-
-RDEPEND=">=dev-libs/libRocket-1.2.1_p20130110
- <dev-libs/libRocket-1.3.0.0
- media-libs/freetype
- net-misc/curl
- sys-libs/zlib
- !dedicated? (
- media-libs/libpng:0
- media-libs/libsdl
- media-libs/libtheora
- media-libs/libvorbis
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXxf86dga
- x11-libs/libXxf86vm
- virtual/jpeg:0
- virtual/opengl
- openal? ( media-libs/openal )
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- x11-misc/makedepend
- !dedicated? (
- x11-proto/xineramaproto
- x11-proto/xf86dgaproto
- x11-proto/xf86vidmodeproto
- )
- openal? ( virtual/pkgconfig )"
-
-S=${WORKDIR}/source/source
-
-CHECKREQS_DISK_BUILD="1G"
-CHECKREQS_DISK_USR="500M"
-
-src_prepare() {
- if [[ $(tc-getCC) =~ clang ]]; then
- einfo "disabling -ffast-math due to clang bug"
- einfo "http://llvm.org/bugs/show_bug.cgi?id=13745"
- append-cflags -fno-fast-math
- append-cxxflags -fno-fast-math
- fi
-
- sed -i \
- -e "/fs_basepath =/ s:\.:${GAMES_DATADIR}/${PN}:" \
- qcommon/files.c \
- || die "sed files.c failed"
-
- # edos2unix breaks whitespace files
- einfo "removing dos line breaks"
- find . -type f -exec sed -i 's/\r$//' '{}' + || die
-
- cd "${S}"/.. || die
- epatch "${WORKDIR}"/${P}-build.patch \
- "${FILESDIR}"/${P}-pic.patch \
- "${FILESDIR}"/${P}-openal.patch
- epatch_user
-}
-
-src_compile() {
- emake -C ../libsrcs/angelscript/sdk/angelscript/projects/gnuc
-
- local arch
- if use amd64 ; then
- arch=x86_64
- elif use x86 ; then
- arch=i386
- fi
-
- local myconf
- if use dedicated ; then
- myconf=(
- BUILD_CLIENT=NO
- BUILD_IRC=NO
- BUILD_SND_OPENAL=NO
- BUILD_SND_QF=NO
- BUILD_CIN=NO
- BUILD_SERVER=YES
- BUILD_TV_SERVER=YES
- BUILD_REF_GL=NO
- )
- else
- myconf=(
- BUILD_CLIENT=YES
- BUILD_IRC=$(usex irc YES NO)
- BUILD_SND_OPENAL=$(usex openal YES NO)
- BUILD_SND_QF=YES
- BUILD_CIN=YES
- BUILD_SERVER=$(usex server YES NO)
- BUILD_TV_SERVER=$(usex server YES NO)
- BUILD_REF_GL=YES
- )
- fi
-
- emake \
- V=YES \
- SYSTEM_LIBS=YES \
- BASE_ARCH=${arch} \
- BINDIR=lib \
- BUILD_ANGELWRAP=YES \
- DEBUG_BUILD=$(usex debug YES NO) \
- ${myconf[@]}
-}
-
-src_install() {
- cd lib
-
- if ! use dedicated ; then
- newgamesbin ${PN}.* ${PN}
- doicon -s 48 "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} Warsow
- fi
-
- if use dedicated || use server ; then
- newgamesbin wsw_server.* ${PN}-ded
- newgamesbin wswtv_server.* ${PN}-tv
- fi
-
- exeinto "$(games_get_libdir)"/${PN}
- doexe */*.so
-
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r "${WORKDIR}"/${PN}_15/basewsw
-
- local so
- for so in basewsw/*.so ; do
- dosym "$(games_get_libdir)"/${PN}/${so##*/} \
- "${GAMES_DATADIR}"/${PN}/${so}
- done
-
- if [[ -e libs ]] ; then
- dodir "${GAMES_DATADIR}"/${PN}/libs
- for so in libs/*.so ; do
- dosym "$(games_get_libdir)"/${PN}/${so##*/} \
- "${GAMES_DATADIR}"/${PN}/${so}
- done
- fi
-
- dodoc "${WORKDIR}"/${PN}_15/docs/*
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}