From f591971ed152b520bf4d80adf9d3d1dc2b951864 Mon Sep 17 00:00:00 2001 From: bugcrazy Date: Mon, 4 Sep 2023 14:30:59 -0300 Subject: [PATCH] devilutionX: update to 1.5.1 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 0000000000000..b89421cd7aaa5 --- /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 b9a7c445409f5..6bdb2c69e8277 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.1 +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=e3d478aa7da95385d67d6e37016441df969965f5653f83c64e0019ee824ebd4f +repository="nonfree" post_install() { - vlicense LICENSE + vlicense LICENSE.md }