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] New package: eduke32-20240523.r10572
Date: Sat, 25 May 2024 10:54:36 +0200	[thread overview]
Message-ID: <20240525085436.E5D2C28EC6@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48586@inbox.vuxu.org>

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

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

https://github.com/MIvanchev/void-packages eduke32
https://github.com/void-linux/void-packages/pull/48586

New package: eduke32-20240523.r10572
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

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

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

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

From c87f9d4e5c4ab32fedc046ac6f0d11a809788e1c Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Wed, 7 Feb 2024 19:03:20 +0100
Subject: [PATCH] New package: eduke32-20240316.r10564

---
 srcpkgs/eduke32/template | 61 ++++++++++++++++++++++++++++++++++++++++
 srcpkgs/voidsw           |  1 +
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/eduke32/template
 create mode 120000 srcpkgs/voidsw

diff --git a/srcpkgs/eduke32/template b/srcpkgs/eduke32/template
new file mode 100644
index 00000000000000..25b0adb26a7294
--- /dev/null
+++ b/srcpkgs/eduke32/template
@@ -0,0 +1,61 @@
+# Template file for 'eduke32'
+pkgname=eduke32
+_src_tag=20240523-10572-a3c1d936e
+_src_date=${_src_tag%%-*}
+_src_rev_and_hash=${_src_tag#*-}
+_src_rev=${_src_rev_and_hash%-*}
+_src_hash=${_src_rev_and_hash#*-}
+#
+# The version of value should be dynamically computed but this is rejected by
+# the linter so instead we set it manually and later check for equality.
+#
+#version=${_src_date}.r${_src_rev}
+version=20240523.r10572
+revision=1
+build_style=gnu-makefile
+make_build_args="PACKAGE_REPOSITORY=1 VC_REV=${_src_rev} VC_HASH=${_src_hash} duke3d sw"
+hostmakedepends="pkg-config nasm $(vopt_if setup_window gdk-pixbuf-devel)"
+makedepends="$(vopt_if setup_window gtk+-devel) MesaLib-devel glu-devel libvpx-devel SDL2-devel libflac-devel libvorbis-devel alsa-lib-devel"
+short_desc="Advanced Duke Nukem 3D source port"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-or-later, custom:BUILD"
+homepage="https://www.eduke32.com/"
+distfiles=""http://dukeworld.com/$pkgname/synthesis/$_src_tag/eduke32_src_${_src_tag}.tar.xz""
+checksum=7c2fb8c9e63c8faa32a89845e187f292c41c0aee554e5f547892bcf5e901bcf0
+repository=nonfree
+restricted=yes
+
+build_options="setup_window"
+build_options_default=" "
+desc_option_setup_window="Enable the startup setup window; requires GTK+2."
+
+if [ "$version" != "${_src_date}.r${_src_rev}" ]; then
+	echo "version is not equal to ${_src_date}.r${_src_rev}; please check the package template." 2>&1
+	exit 1
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) makedepends+=" libexecinfo-devel" ;;
+esac
+
+post_extract() {
+	case "$XBPS_TARGET_MACHINE" in
+		*-musl) sed -i 's/LIBS :=/\0 -lexecinfo/' Common.mak ;;
+	esac
+}
+
+do_install() {
+	vmkdir /usr/bin
+	vbin eduke32
+	vbin mapster32
+	vlicense package/common/buildlic.txt
+}
+
+voidsw_package() {
+	short_desc+="EDuke32-based sourceport of Shadow Warrior"
+	pkg_install() {
+		vmkdir /usr/bin
+		vbin voidsw
+		vlicense package/common/buildlic.txt
+	}
+}
diff --git a/srcpkgs/voidsw b/srcpkgs/voidsw
new file mode 120000
index 00000000000000..630cac9e43c35c
--- /dev/null
+++ b/srcpkgs/voidsw
@@ -0,0 +1 @@
+eduke32
\ No newline at end of file

  parent reply	other threads:[~2024-05-25  8:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 18:04 [PR PATCH] New package: eduke32-20231224.10548 MIvanchev
2024-02-07 18:06 ` MIvanchev
2024-02-07 18:23 ` [PR PATCH] [Updated] " MIvanchev
2024-02-07 18:24 ` MIvanchev
2024-02-07 18:24 ` [PR PATCH] [Updated] " MIvanchev
2024-02-07 18:28 ` MIvanchev
2024-02-07 18:36 ` MIvanchev
2024-02-07 18:38 ` MIvanchev
2024-02-07 18:46 ` [PR REVIEW] " Chocimier
2024-02-07 19:03 ` [PR PATCH] [Updated] " MIvanchev
2024-02-07 19:05 ` [PR REVIEW] " MIvanchev
2024-02-07 19:06 ` [PR PATCH] [Updated] " MIvanchev
2024-02-07 19:21 ` [PR REVIEW] " Chocimier
2024-02-07 19:26 ` MIvanchev
2024-02-07 19:29 ` [PR PATCH] [Updated] " MIvanchev
2024-03-27 16:09 ` [PR PATCH] [Updated] New package: eduke32-20231224.r10548 MIvanchev
2024-03-27 16:10 ` MIvanchev
2024-04-09 16:03 ` [PR PATCH] [Updated] New package: eduke32-20240316.r10564 MIvanchev
2024-04-09 19:52 ` MIvanchev
2024-04-09 20:40 ` MIvanchev
2024-04-09 21:15 ` MIvanchev
2024-04-10  7:38 ` MIvanchev
2024-05-25  8:33 ` MIvanchev
2024-05-25  8:54 ` MIvanchev [this message]
2024-05-25  8:55 ` [PR PATCH] [Updated] New package: eduke32-20240523.r10572 MIvanchev
2024-05-29  7:52 ` MIvanchev
2024-08-28  1:54 ` github-actions
2024-08-28  7:23 ` 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=20240525085436.E5D2C28EC6@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).