From 13a0f9b54f68eebca66c9376a3d9aa03168d375e Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 23:50:12 +0100 Subject: [PATCH] games-fps/warsow: initial import of version 2.0.1 --- metadata/categories.conf | 1 + .../games-fps/warsow/warsow-2.0.1.exheres-0 | 99 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 packages/games-fps/warsow/warsow-2.0.1.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index f355a5e..f996d4a 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -2,6 +2,7 @@ dev-games games-action games-board games-engines +games-fps games-roguelike games-rpg games-strategy diff --git a/packages/games-fps/warsow/warsow-2.0.1.exheres-0 b/packages/games-fps/warsow/warsow-2.0.1.exheres-0 new file mode 100644 index 0000000..5e80fa5 --- /dev/null +++ b/packages/games-fps/warsow/warsow-2.0.1.exheres-0 @@ -0,0 +1,99 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +require cmake gtk-icon-cache + +DATA_PV=${PV//./} +ENGINE_PV=${PV//./} +ENGINE_P=${PN}_${ENGINE_PV}_sdk + +DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)" +HOMEPAGE="http://www.warsow.net/" +DOWNLOADS="http://mirror.null.one/${ENGINE_P}.tar.gz + http://mirror.null.one/warsow_${DATA_PV}_unified.tar.gz + mirror://gentoo/warsow.png" + +LICENCES=" + GPL-2 + ZLIB [[ note = [ bundled angelscript ] ]] + warsow +" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +MYOPTIONS=" + ( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]] +" + +DEPENDENCIES=" + build+run: + media-libs/freetype + media-libs/libogg + media-libs/libpng:= + media-libs/libtheora + media-libs/libvorbis + media-libs/openal + media-libs/SDL:2[X] + net-misc/curl + sys-libs/zlib + x11-dri/mesa + providers:ijg-jpeg? ( media-libs/jpeg ) + providers:jpeg-turbo? ( media-libs/libjpeg-turbo ) +" + +WORK=${WORKBASE}/source/source +DATA_S=${WORKBASE}/${PN}_${DATA_PV:0:2} + +src_install() { + dobin_wrapper() { + local f + + for f in $@ ; do + herebin ${f} <