From b6e6bcf3349c6982116dd78e1febb5611d45299c Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 15:59:31 +0100 Subject: [PATCH] games-rpg/arx-libertatis: initial import of version 1.1.2 --- .../arx-libertatis-1.1.2.exheres-0 | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2.exheres-0 diff --git a/packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2.exheres-0 b/packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2.exheres-0 new file mode 100644 index 0000000..1500c85 --- /dev/null +++ b/packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2.exheres-0 @@ -0,0 +1,55 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require cmake gtk-icon-cache + +SUMMARY="Cross-platform port of Arx Fatalis, a first-person role-playing game" +HOMEPAGE="http://arx-libertatis.org/" +DOWNLOADS="mirror://sourceforge/arx/${PNV}/${PNV}.tar.xz" + +LICENCES="GPL-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + build+run: + media-libs/freetype:2 + media-libs/glew + media-libs/openal + media-libs/SDL:0[X] + sys-libs/zlib + build: + dev-libs/boost + virtual/pkg-config +" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBUILD_EDITOR=OFF + -DCMAKE_INSTALL_DATAROOTDIR="/usr/share" + -DCMAKE_INSTALL_PREFIX="/usr" + -DCMAKE_INSTALL_BINDIR="/usr/$(exhost --target)/bin" + -DICONDIR=/usr/share/icons/hicolor/128x128/apps + -DINSTALL_SCRIPTS=ON + -DSET_OPTIMIZATION_FLAGS=OFF + -DSTRICT_USE=ON + -DUSE_NATIVE_FS=ON + -DUSE_OPENAL=ON + -DUSE_OPENGL=ON + -DUSE_SDL=ON + -DBUILD_CRASHREPORTER=OFF + -DBUILD_TOOLS=ON + -DUNITY_BUILD=OFF + -DUSE_STATIC_LIBS=OFF +) + +pkg_postinst() { + elog "This package only installs the game binary." + elog "You need the demo or full game data. Also see:" + elog "http://wiki.arx-libertatis.org/Getting_the_game_data" + elog + elog "If you have already installed the game or use the STEAM version," + elog "run \"/usr/$(exhost --target)/bin/arx-install-data\"" + + gtk-icon-cache_pkg_postinst +} +