From 26a9fa587d826341976faf581ecf091d7a3d12b1 Mon Sep 17 00:00:00 2001 From: bugcrazy Date: Tue, 20 Jun 2023 04:50:45 -0300 Subject: [PATCH] devilutionX: update to 1.5.0 Added SolitudeSF patch --- srcpkgs/devilutionX/patches/disable_test.patch | 12 ++++++++++++ srcpkgs/devilutionX/template | 11 ++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/devilutionX/patches/disable_test.patch diff --git a/srcpkgs/devilutionX/patches/disable_test.patch b/srcpkgs/devilutionX/patches/disable_test.patch new file mode 100644 index 000000000000..b89421cd7aaa --- /dev/null +++ b/srcpkgs/devilutionX/patches/disable_test.patch @@ -0,0 +1,12 @@ +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index b84cb2e..bcdcf51 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -38,7 +38,6 @@ set(tests + scrollrt_test + stores_test + str_cat_test +- timedemo_test + utf8_test + writehero_test + ) diff --git a/srcpkgs/devilutionX/template b/srcpkgs/devilutionX/template index b9a7c445409f..23b525650198 100644 --- a/srcpkgs/devilutionX/template +++ b/srcpkgs/devilutionX/template @@ -1,7 +1,7 @@ # Template file for 'devilutionX' pkgname=devilutionX -version=1.4.1 -revision=2 +version=1.5.0 +revision=1 build_style=cmake configure_args="-DVERSION_NUM=$version -DDISABLE_ZERO_TIER=ON" hostmakedepends="pkg-config" @@ -9,12 +9,13 @@ makedepends="SDL2-devel SDL2_image-devel bzip2-devel libsodium-devel gtest-devel fmt-devel zlib-devel" short_desc="Diablo I engine for modern operating systems" maintainer="MarcoAPC " -license="Unlicense" +license="custom:Sustainable Use License" homepage="https://github.com/diasurgical/devilutionX" changelog="https://raw.githubusercontent.com/diasurgical/devilutionX/master/docs/CHANGELOG.md" distfiles="https://github.com/diasurgical/devilutionX/releases/download/${version}/devilutionx-src.tar.xz" -checksum=f80a5414bb7b5a5ae9f6dbc69cec4ae080c29dd0a8a553cedd405d631011da9f +checksum=425e63891792c4ab213865f8e1b4401317439bf47450f18064ee72ebf9a2abf8 +repository="nonfree" post_install() { - vlicense LICENSE + vlicense LICENSE.md }