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] New package: raze-1.10.2
Date: Fri, 24 May 2024 21:04:37 +0200	[thread overview]
Message-ID: <20240524190437.24BB227FA8@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50505@inbox.vuxu.org>

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (X86_64-GLIB)


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

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

From a8c60338c3d2a3065a63e6e7c5680ac44adcd04d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 ++++++++++++
 srcpkgs/raze/template              | 33 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..ae982b5fc1950c
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,33 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS="-msse2 -fpmath=see"
+	       CXXFLAGS="-msse2 -fpmath=sse"
+	  ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="$CFLAGS -DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

  parent reply	other threads:[~2024-05-24 19:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24 15:37 [PR PATCH] " MIvanchev
2024-05-24 15:43 ` [PR PATCH] [Updated] " MIvanchev
2024-05-24 15:59 ` MIvanchev
2024-05-24 16:05 ` MIvanchev
2024-05-24 16:10 ` MIvanchev
2024-05-24 16:25 ` MIvanchev
2024-05-24 16:29 ` MIvanchev
2024-05-24 16:34 ` MIvanchev
2024-05-24 16:40 ` MIvanchev
2024-05-24 16:54 ` MIvanchev
2024-05-24 19:04 ` MIvanchev
2024-05-24 19:04 ` MIvanchev [this message]
2024-05-24 19:25 ` MIvanchev
2024-05-24 19:43 ` MIvanchev
2024-05-24 20:14 ` MIvanchev
2024-05-24 20:16 ` MIvanchev
2024-05-24 20:27 ` MIvanchev
2024-05-24 20:39 ` MIvanchev
2024-05-25  7:30 ` MIvanchev
2024-05-25  7:57 ` MIvanchev
2024-05-25  8:04 ` MIvanchev
2024-05-25  8:20 ` 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=20240524190437.24BB227FA8@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).