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-20231224.10548
Date: Wed, 07 Feb 2024 20:03:23 +0100	[thread overview]
Message-ID: <20240207190323.772E2247C8@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: 677 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-20231224.10548
#### 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: 2029 bytes --]

From 3e0e6f734c7825a1f2912c97c22630a47c312f25 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-20231224.10548

---
 srcpkgs/eduke32/template | 46 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 srcpkgs/eduke32/template

diff --git a/srcpkgs/eduke32/template b/srcpkgs/eduke32/template
new file mode 100644
index 0000000000000..c1fef0bb48ff2
--- /dev/null
+++ b/srcpkgs/eduke32/template
@@ -0,0 +1,46 @@
+# Template file for 'eduke32'
+pkgname=eduke32
+_src_tag=20231224-10548-842047589
+_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=20231224.r10548
+revision=1
+build_style=gnu-makefile
+make_build_args="PACKAGE_REPOSITORY=1 VC_REV=${_src_rev} VC_HASH=${_src_hash}"
+hostmakedepends="pkg-config nasm"
+makedepends="MesaLib-devel glu-devel libvpx-devel SDL2-devel libflac-devel libvorbis-devel alsa-lib-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+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=16ed494f9d09920ac4c5f167f8098a2e1f455da32243b7fd63d7d8e1db13b0e2
+
+if [ "$version" != "${_src_date}.r${_src_rev}" ]; then
+	exit 1
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) makedepends+=" libexecinfo-devel" ;;
+esac
+
+post_fetch() {
+	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
+}

  parent reply	other threads:[~2024-02-07 19:03 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 18:04 [PR PATCH] " 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 ` MIvanchev [this message]
2024-02-07 19:05 ` 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 ` [PR PATCH] [Updated] New package: eduke32-20240523.r10572 MIvanchev
2024-05-25  8:55 ` MIvanchev
2024-05-29  7:52 ` 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=20240207190323.772E2247C8@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).