summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-04 02:32:01 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-04 02:32:01 +0300
commit7b2ea89e4f2d2e22087c8deef6e16f4dcc5129b3 (patch)
tree276b3b5e7f7a5fd3720e7081a2cbc9868176278f /games-engines/fifechan/fifechan-0.1.5.ebuild
parentgames-strategy/curseofwar: update package (diff)
downloadgamerlay-7b2ea89e4f2d2e22087c8deef6e16f4dcc5129b3.tar.gz
gamerlay-7b2ea89e4f2d2e22087c8deef6e16f4dcc5129b3.tar.bz2
gamerlay-7b2ea89e4f2d2e22087c8deef6e16f4dcc5129b3.zip
games-engines/fifechan: update package to 0.1.5
Added ~x86 keyword, removed live. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Diffstat (limited to 'games-engines/fifechan/fifechan-0.1.5.ebuild')
-rw-r--r--games-engines/fifechan/fifechan-0.1.5.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/games-engines/fifechan/fifechan-0.1.5.ebuild b/games-engines/fifechan/fifechan-0.1.5.ebuild
new file mode 100644
index 0000000..8522eb7
--- /dev/null
+++ b/games-engines/fifechan/fifechan-0.1.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Lightweight cross platform GUI C++ library designed for games"
+HOMEPAGE="http://fifengine.github.io/fifechan/"
+SRC_URI="https://github.com/fifengine/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="allegro +opengl +sdl irrlicht"
+
+DEPEND="
+ x11-libs/libXext
+ irrlicht? (
+ dev-games/irrlicht
+ )
+ sdl? (
+ media-libs/libsdl2
+ media-libs/sdl-ttf
+ media-libs/sdl2-image[png]
+ )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ )
+ allegro? (
+ media-libs/allegro:0
+ )
+"
+RDEPEND="${DEPEND}"
+
+usx() { usex $* ON OFF; }
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_ALLEGRO=$(usx allegro)
+ -DENABLE_OPENGL=$(usx opengl)
+# -DENABLE_OPENGL_CONTRIB=$(usx opengl)
+ -DENABLE_SDL=$(usx sdl)
+ -DENABLE_SDL_CONTRIB=$(usx sdl)
+ -DENABLE_IRRLICHT=$(usx irrlicht)
+ )
+ cmake-utils_src_configure
+}