From d47b58e41e533cbe8d0f20f87c85a53f909db4ed Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 15 Jun 2017 19:26:21 +0200 Subject: [PATCH] games-rpg/arx-libertatis: bump to 1.1.2_p1 --- ...eres-0 => arx-libertatis-1.1.2_p1.exheres-0} | 8 +------- .../arx-libertatis-1.1.2-fix-cmake-build.patch | 17 ----------------- 2 files changed, 1 insertion(+), 24 deletions(-) rename packages/games-rpg/arx-libertatis/{arx-libertatis-1.1.2.exheres-0 => arx-libertatis-1.1.2_p1.exheres-0} (90%) delete mode 100644 packages/games-rpg/arx-libertatis/files/arx-libertatis-1.1.2-fix-cmake-build.patch 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_p1.exheres-0 similarity index 90% rename from packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2.exheres-0 rename to packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2_p1.exheres-0 index 3f61aaca..22b30284 100644 --- a/packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2.exheres-0 +++ b/packages/games-rpg/arx-libertatis/arx-libertatis-1.1.2_p1.exheres-0 @@ -1,8 +1,8 @@ # Copyright 2016 Julian Ospald # 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" diff --git a/packages/games-rpg/arx-libertatis/files/arx-libertatis-1.1.2-fix-cmake-build.patch b/packages/games-rpg/arx-libertatis/files/arx-libertatis-1.1.2-fix-cmake-build.patch deleted file mode 100644 index 6c5483dc..00000000 --- a/packages/games-rpg/arx-libertatis/files/arx-libertatis-1.1.2-fix-cmake-build.patch +++ /dev/null @@ -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() - -