forked from tastytea/overlay
added solarus-1.5.3
This commit is contained in:
parent
eb22c04ffd
commit
f99f906598
1
games-engines/solarus/Manifest
Normal file
1
games-engines/solarus/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST solarus-v1.5.3.tar.gz 5097638 BLAKE2B 1fdf09c1179207df6e206f3c763938eeaa8d96e928ecdea2c4f34aa72aeed4ecbd4acd3de75771113b8eb2ad94d8f3eb9098bc95716ec022790a83365b4feeef SHA512 ebfd9709a923ee2fd4447974433f67a2bfad9bb547671fcf5cfe9a0bd751aafa96dda18a57a070d8608a611e56ccbd3ac5c082397b924112af37a8732f7e369e
|
60
games-engines/solarus/solarus-1.5.3.ebuild
Normal file
60
games-engines/solarus/solarus-1.5.3.ebuild
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="An open-source Zelda-like 2D game engine"
|
||||||
|
HOMEPAGE="http://www.solarus-games.org/"
|
||||||
|
SRC_URI="https://gitlab.com/solarus-games/solarus/-/archive/v${PV}/solarus-v${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="doc luajit qt5"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-games/physfs-2.0.3-r2
|
||||||
|
>=media-libs/libmodplug-0.8.8.5
|
||||||
|
>=media-libs/libsdl2-2.0.1[X,joystick,video]
|
||||||
|
>=media-libs/libvorbis-1.3.6
|
||||||
|
>=media-libs/openal-1.18.2-r1
|
||||||
|
>=media-libs/sdl2-image-1.2.12-r2[png]
|
||||||
|
>=media-libs/sdl2-ttf-2.0.12
|
||||||
|
>=media-libs/glm-0.9.8.5-r1
|
||||||
|
luajit? ( dev-lang/luajit:2 )
|
||||||
|
!luajit? ( dev-lang/lua:0 )
|
||||||
|
qt5? ( dev-qt/qtgui:5 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( >=app-doc/doxygen-1.8.14-r1 )"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default
|
||||||
|
mv solarus-v${PV} solarus-${PV}
|
||||||
|
}
|
||||||
|
src_prepare() {
|
||||||
|
cmake-utils_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DSOLARUS_USE_LUAJIT="$(usex luajit)"
|
||||||
|
-DSOLARUS_GUI="$(usex qt5)"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake-utils_src_compile
|
||||||
|
if use doc ; then
|
||||||
|
cd doc || die
|
||||||
|
doxygen || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
doman solarus.6
|
||||||
|
use doc && dodoc -r doc/${PV%.*}/html/*
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user