games-rpg/arx-libertatis: bump to 1.1.2_p1

This commit is contained in:
Julian Ospald 2017-06-15 19:26:21 +02:00
parent 6a7482b075
commit d47b58e41e
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 1 additions and 24 deletions

View File

@ -1,8 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=arx project=ArxLibertatis tag=${PV/_p/-r} ]
require cmake [ api=2 ] gtk-icon-cache
require sourceforge [ project=arx suffix=tar.xz ]
SUMMARY="Cross-platform port of Arx Fatalis, a first-person role-playing game"
HOMEPAGE="http://arx-libertatis.org/"
@ -27,12 +27,6 @@ DEPENDENCIES="
arx-install-data tool ] ]]
"
REMOTE_IDS+=" github:arx/ArxLibertatis"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/${PNV}-fix-cmake-build.patch
)
CMAKE_SRC_CONFIGURE_PARAMS=(
-DBUILD_EDITOR=OFF
-DCMAKE_INSTALL_DATAROOTDIR="/usr/share"

View File

@ -1,17 +0,0 @@
This is a backport from
https://github.com/arx/ArxLibertatis/commit/60e43c3cbf3fb0aa10cc3092b2512ccebb60b80d
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,11 @@
endif()
else()
cmake_minimum_required(VERSION 2.8)
+ if(CMAKE_VERSION VERSION_GREATER 3.4)
+ cmake_policy(VERSION 3.4)
+ else()
+ cmake_policy(VERSION ${CMAKE_VERSION})
+ endif()
endif()