Github messages for voidlinux
 help / color / mirror / Atom feed
From: MIvanchev <MIvanchev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] devilutionX: update to 1.5.2
Date: Sun, 11 Feb 2024 19:12:27 +0100	[thread overview]
Message-ID: <20240211181228.2CEF5212C8@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48628@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

There is an updated pull request by MIvanchev against master on the void-packages repository

https://github.com/MIvanchev/void-packages devilutionX
https://github.com/void-linux/void-packages/pull/48628

[WIP] devilutionX: update to 1.5.2
#### Testing the changes
- I tested the changes in this PR: **NO**


A patch file from https://github.com/void-linux/void-packages/pull/48628.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-devilutionX-48628.patch --]
[-- Type: text/x-diff, Size: 4395 bytes --]

From bedfa7a2fcad9bdc217b0fe8315e585362b545ef Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 9 Feb 2024 16:10:20 +0100
Subject: [PATCH] devilutionX: update to 1.5.2

---
 srcpkgs/devilutionX/patches/cmake.patch | 29 ++++++++++++++++++
 srcpkgs/devilutionX/template            | 40 ++++++++++++++++++++-----
 2 files changed, 62 insertions(+), 7 deletions(-)
 create mode 100644 srcpkgs/devilutionX/patches/cmake.patch

diff --git a/srcpkgs/devilutionX/patches/cmake.patch b/srcpkgs/devilutionX/patches/cmake.patch
new file mode 100644
index 0000000000000..178b7067f7686
--- /dev/null
+++ b/srcpkgs/devilutionX/patches/cmake.patch
@@ -0,0 +1,29 @@
+diff --git a/3rdParty/SDL_audiolib/CMakeLists.txt b/3rdParty/SDL_audiolib/CMakeLists.txt
+index b5a9c0931..628d053fa 100644
+--- a/3rdParty/SDL_audiolib/CMakeLists.txt
++++ b/3rdParty/SDL_audiolib/CMakeLists.txt
+@@ -38,8 +38,8 @@ set(USE_DEC_DRMP3 ON)
+ 
+ include(FetchContent)
+ FetchContent_Declare(SDL_audiolib
+-  URL https://github.com/realnc/SDL_audiolib/archive/cc1bb6af8d4cf5e200259072bde1edd1c8c5137e.tar.gz
+-  URL_HASH MD5=0e8174264ac9c6b314c6b2d9a5f72efd)
++  SOURCE_DIR "${CMAKE_SOURCE_DIR}/../SDL_audiolib/"
++)
+ FetchContent_MakeAvailableExcludeFromAll(SDL_audiolib)
+ 
+ add_library(SDL_audiolib::SDL_audiolib ALIAS SDL_audiolib)
+diff --git a/3rdParty/simpleini/CMakeLists.txt b/3rdParty/simpleini/CMakeLists.txt
+index e32fcf74d..c343ea890 100644
+--- a/3rdParty/simpleini/CMakeLists.txt
++++ b/3rdParty/simpleini/CMakeLists.txt
+@@ -2,8 +2,7 @@ include(functions/FetchContent_MakeAvailableExcludeFromAll)
+ 
+ include(FetchContent)
+ FetchContent_Declare(simpleini
+-    URL https://github.com/brofield/simpleini/archive/56499b5af5d2195c6acfc58c4630b70e0c9c4c21.tar.gz
+-    URL_HASH MD5=02a561cea03ea11acb65848318ec4a81
++  SOURCE_DIR "${CMAKE_SOURCE_DIR}/../simpleini/"
+ )
+ FetchContent_MakeAvailableExcludeFromAll(simpleini)
+ 
diff --git a/srcpkgs/devilutionX/template b/srcpkgs/devilutionX/template
index ad911b48f8631..9d1e5e4885af4 100644
--- a/srcpkgs/devilutionX/template
+++ b/srcpkgs/devilutionX/template
@@ -1,20 +1,46 @@
 # Template file for 'devilutionX'
 pkgname=devilutionX
-version=1.4.1
-revision=3
+version=1.5.2
+revision=1
+_assets_version=4
+_simpleini_version=4.22
+_simpleini_wrksrc="${XBPS_BUILDDIR}/simpleini"
+_sdl_audiolib_hash=cc1bb6af8d4cf5e200259072bde1edd1c8c5137e
+_sdl_audiolib_wrksrc="${XBPS_BUILDDIR}/sdl_audiolib"
 build_style=cmake
-configure_args="-DVERSION_NUM=$version -DDISABLE_ZERO_TIER=ON"
+configure_args="-DVERSION_NUM=$version -DDISABLE_ZERO_TIER=ON -DSIMPLEINI_INCLUDE_DIRS=${_simpleini_wrksrc}"
 hostmakedepends="pkg-config"
 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 <marcoaureliopc@gmail.com>"
-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
+distfiles="https://github.com/diasurgical/devilutionX/releases/download/${version}/devilutionx-src.tar.xz
+ https://github.com/brofield/simpleini/archive/refs/tags/v${_simpleini_version}.tar.gz
+ https://github.com/realnc/SDL_audiolib/archive/${_sdl_audiolib_hash}.tar.gz
+ https://github.com/diasurgical/devilutionx-assets/releases/download/v${_assets_version}/spawn.mpq"
+checksum="27dc99cb8b40cb6fccbb5935aac7ce0c906664cc3815bcf9e27195747db46ed3
+ b3a4b8f9e03aabd491aa55fd57457115857b9b9c7ecf4abf7ff035ca9d026eb8
+ 5adc71bee3506b16c505c1662da73fcfdfd878914645784f80fc70db979533a5
+ 64427cd7c1ba904eaa2e0031c16a6b136d0ecef9abc888c5ff8344b459356e38"
+skip_extraction="v${_simpleini_version}.tar.gz
+ ${_sdl_audiolib_hash}.tar.gz
+ spawn.mpq"
+
+post_extract() {
+	vsrcextract -C "${_simpleini_wrksrc}"  v${_simpleini_version}.tar.gz
+	vsrcextract -C "${_sdl_audiolib_wrksrc}"  ${_sdl_audiolib_hash}.tar.gz
+}
+
+pre_configure() {
+}
+
+pre_check() {
+	mv "${XBPS_SRCDISTDIR}/${pkgname}-${version}/spawn.mpq" build/
+}
 
 post_install() {
-	vlicense LICENSE
+	vlicense LICENSE.md
 }

  parent reply	other threads:[~2024-02-11 18:12 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-09 15:12 [PR PATCH] " MIvanchev
2024-02-09 15:13 ` [PR PATCH] [Updated] " MIvanchev
2024-02-09 19:09 ` [PR PATCH] [Updated] [WIP] " MIvanchev
2024-02-09 19:13 ` MIvanchev
2024-02-09 19:52 ` MIvanchev
2024-02-10 10:33 ` MIvanchev
2024-02-10 10:36 ` MIvanchev
2024-02-10 10:41 ` MIvanchev
2024-02-10 10:48 ` MIvanchev
2024-02-10 10:57 ` MIvanchev
2024-02-10 16:48 ` MIvanchev
2024-02-10 17:05 ` MIvanchev
2024-02-10 17:12 ` MIvanchev
2024-02-10 17:16 ` MIvanchev
2024-02-10 17:22 ` MIvanchev
2024-02-10 17:30 ` MIvanchev
2024-02-11 10:46 ` MIvanchev
2024-02-11 10:51 ` MIvanchev
2024-02-11 11:00 ` MIvanchev
2024-02-11 11:03 ` MIvanchev
2024-02-11 11:10 ` MIvanchev
2024-02-11 11:40 ` MIvanchev
2024-02-11 11:54 ` MIvanchev
2024-02-11 11:55 ` MIvanchev
2024-02-11 11:55 ` MIvanchev
2024-02-11 12:06 ` MIvanchev
2024-02-11 18:12 ` MIvanchev [this message]
2024-02-11 18:15 ` MIvanchev
2024-02-11 18:17 ` MIvanchev
2024-02-11 18:23 ` MIvanchev
2024-02-11 18:42 ` MIvanchev
2024-02-11 18:44 ` MIvanchev
2024-02-11 18:56 ` MIvanchev
2024-02-11 19:03 ` MIvanchev
2024-02-11 19:11 ` MIvanchev
2024-02-11 19:29 ` MIvanchev
2024-02-11 19:30 ` MIvanchev
2024-02-15 14:57 ` [PR PATCH] [Updated] " MIvanchev
2024-02-15 15:02 ` MIvanchev
2024-02-15 15:07 ` MIvanchev
2024-02-15 15:10 ` MIvanchev
2024-02-15 15:13 ` MIvanchev
2024-02-15 15:15 ` [PR PATCH] [Updated] " MIvanchev
2024-02-15 15:16 ` MIvanchev
2024-02-15 15:20 ` [PR PATCH] [Updated] " MIvanchev
2024-04-08 17:32 ` MIvanchev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240211181228.2CEF5212C8@inbox.vuxu.org \
    --to=mivanchev@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).