flare: add scm versions of game and engine

Change-Id: Idb34ab09e57ea4d13e8e308df4513e36b2be43d4
Reviewed-on: https://galileo.mailstation.de/gerrit/10297
Reviewed-by: Julian Ospald <hasufell@posteo.de>
This commit is contained in:
Mykola Orliuk
2017-10-15 18:48:24 +02:00
committed by Julian Ospald
parent ca2d7033cf
commit 58a591d92c
3 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# 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}
)