From 58a591d92c7ff970c1576dbafbf2d4442833a7a7 Mon Sep 17 00:00:00 2001 From: Mykola Orliuk Date: Sun, 15 Oct 2017 18:48:24 +0200 Subject: [PATCH] flare: add scm versions of game and engine Change-Id: Idb34ab09e57ea4d13e8e308df4513e36b2be43d4 Reviewed-on: https://galileo.mailstation.de/gerrit/10297 Reviewed-by: Julian Ospald --- metadata/repository_mask.conf | 2 ++ .../games-engines/flare/flare-scm.exheres-0 | 27 ++++++++++++++ packages/games-rpg/flare/flare-scm.exheres-0 | 35 +++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 packages/games-engines/flare/flare-scm.exheres-0 create mode 100644 packages/games-rpg/flare/flare-scm.exheres-0 diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index b0e25c57..7d351a6f 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -4,8 +4,10 @@ dev-python/pytype[~scm] games-emulation/gambatte[~scm] games-engines/OpenJK[~scm] + games-engines/flare[~scm] games-fps/eduke32[~scm] games-rpg/valyriatear[~scm] + games-rpg/flare[~scm] games-strategy/freesynd[~scm] media/livestreamer[~scm] media-gfx/pinta[~scm] diff --git a/packages/games-engines/flare/flare-scm.exheres-0 b/packages/games-engines/flare/flare-scm.exheres-0 new file mode 100644 index 00000000..6e7edf20 --- /dev/null +++ b/packages/games-engines/flare/flare-scm.exheres-0 @@ -0,0 +1,27 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require github [ user=clintbellanger project=flare-engine pn=flare-engine ] +require cmake [ api=2 ] +require gtk-icon-cache + +SUMMARY="Free/Libre Action Roleplaying game engine" + +LICENCES="CCPL-Attribution-ShareAlike-3.0 GPL-3 OFL-1.1" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + build+run: + media-libs/SDL:2[X] + media-libs/SDL_image:2 + media-libs/SDL_mixer:2 + media-libs/SDL_ttf:2 +" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DCMAKE_INSTALL_PREFIX="/usr" + -DBINDIR="/usr/$(exhost --target)/bin" + -DDATADIR=/usr/share/${PN} +) + diff --git a/packages/games-rpg/flare/flare-scm.exheres-0 b/packages/games-rpg/flare/flare-scm.exheres-0 new file mode 100644 index 00000000..e60b53f7 --- /dev/null +++ b/packages/games-rpg/flare/flare-scm.exheres-0 @@ -0,0 +1,35 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require github [ user=clintbellanger project=flare-game pn=flare-game ] +require cmake desktop-utils gtk-icon-cache + +SUMMARY="Free/Libre Action Roleplaying game" + +LICENCES="CCPL-Attribution-ShareAlike-3.0 GPL-2 GPL-3 OFL-1.1" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + run: + games-engines/flare[~${PV}] +" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBINDIR="/usr/$(exhost --target)/bin" + -DDATADIR=/usr/share/${PN} +) + +src_install() { + cmake_src_install + + herebin ${PN}-game <