2016-02-16 17:30:35 +00:00
|
|
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2016-02-28 23:05:15 +00:00
|
|
|
require lua [ whitelist="5.1" multibuild=false ]
|
2016-04-23 02:22:08 +00:00
|
|
|
require cmake [ api=2 ]
|
2017-05-18 15:49:22 +00:00
|
|
|
require gtk-icon-cache
|
2016-02-16 17:30:35 +00:00
|
|
|
|
|
|
|
SUMMARY="An open-source Zelda-like 2D game engine"
|
|
|
|
HOMEPAGE="http://www.solarus-games.org/"
|
|
|
|
DOWNLOADS="http://www.solarus-games.org/downloads/solarus/${PNV}-src.tar.gz"
|
|
|
|
|
|
|
|
LICENCES="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
|
|
|
|
DEPENDENCIES="
|
2016-07-28 23:55:30 +00:00
|
|
|
build:
|
|
|
|
x11-libs/qttools:5
|
2016-02-16 17:30:35 +00:00
|
|
|
build+run:
|
|
|
|
dev-games/physfs
|
|
|
|
media-libs/SDL:2[X]
|
|
|
|
media-libs/SDL_image:2
|
|
|
|
media-libs/SDL_ttf:2
|
2016-07-28 15:36:18 +00:00
|
|
|
media-libs/libmodplug
|
|
|
|
media-libs/libvorbis
|
|
|
|
media-libs/openal
|
|
|
|
x11-libs/qtbase:5
|
2016-02-16 17:30:35 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
2017-05-18 15:49:22 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr"
|
|
|
|
-DSOLARUS_EXECUTABLE_INSTALL_DESTINATION="/usr/$(exhost --target)/bin"
|
|
|
|
-DSOLARUS_HEADERS_INSTALL_DESTINATION="/usr/$(exhost --target)/include"
|
|
|
|
-DSOLARUS_LIBRARY_INSTALL_DESTINATION="/usr/$(exhost --target)/lib"
|
2016-02-16 17:30:35 +00:00
|
|
|
-DSOLARUS_USE_LUAJIT=OFF
|
|
|
|
)
|
|
|
|
|