Github messages for voidlinux
 help / color / mirror / Atom feed
From: Aicaya <Aicaya@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: nxengine-evo-2.6.5
Date: Tue, 05 Sep 2023 23:51:33 +0200	[thread overview]
Message-ID: <20230905215133.HVMjQJuaYNMb_U7SBnI_q0EgdDessM6N2j-xQZzv1c8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45915@inbox.vuxu.org>

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

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

https://github.com/Aicaya/void-packages nxengine-evo
https://github.com/void-linux/void-packages/pull/45915

New package: nxengine-evo-2.6.5
#### 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686

I tried cross-building, but it failed on account of `pre_install()` needing to use one of the built binaries (I assume).  If the github tests for the ARM builds fail, I'll force-push with `archs="x86_64* i686*"` added to the template.

**EDIT:** Tests here failed as well, so the line has been added.  Going to assume it just won't compile on ARM.

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

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

From 41ad9f0d22eb65a6af0f7e441b2741ae04e2d5b7 Mon Sep 17 00:00:00 2001
From: Aicaya Maro <aicaya@posteo.net>
Date: Tue, 5 Sep 2023 01:30:15 -0400
Subject: [PATCH] New package: nxengine-evo-2.6.5

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

diff --git a/srcpkgs/nxengine-evo/template b/srcpkgs/nxengine-evo/template
new file mode 100644
index 0000000000000..cc5c48a0bf82b
--- /dev/null
+++ b/srcpkgs/nxengine-evo/template
@@ -0,0 +1,46 @@
+# Template file for 'nxengine-evo'
+pkgname=nxengine-evo
+version=2.6.5
+revision=1
+_rev=1
+_translation=1.14
+archs="x86_64* i686*"
+create_wrksrc=yes
+build_wrksrc="$pkgname-$version${_rev:+"-$_rev"}"
+build_style=cmake
+makedepends="SDL2-devel SDL2_mixer-devel SDL2_image-devel libpng-devel
+ libjpeg-turbo-devel"
+short_desc="Upgraded version of NXEngine, an open-source port of Cave Story"
+maintainer="Aicaya Maro <aicaya@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/nxengine/nxengine-evo"
+distfiles="${homepage}/archive/refs/tags/v${version}${_rev:+"-$_rev"}.tar.gz
+ https://www.cavestory.org/downloads/cavestoryen.zip
+ ${homepage%/*}/translations/releases/download/v${_translation}/all.zip"
+checksum="db9b78b0c4005959ab8f3a6a05c02d86e764e6593cdd11a2178c581bb03a0699
+ aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f
+ 1dd85a8c230c5ebf23c6fd6283fe168d9bf4044339d1e93e324bd336165a4422"
+
+pre_install() {
+	cp -r "${wrksrc}/CaveStory/data" \
+		"${wrksrc}/CaveStory/Doukutsu.exe" \
+		"${wrksrc}/data" .
+	./build/nxextract
+}
+
+do_install() {
+	local _xdg_file="platform/xdg/org.nxengine.nxengine_evo"
+
+	vbin build/nxengine-evo
+	vmkdir usr/share/nxengine
+	vcopy data usr/share/nxengine
+
+	vinstall "${_xdg_file}.desktop" 644 usr/share/applications
+	vinstall "${_xdg_file}.png" 644 usr/share/pixmaps
+	vinstall "${_xdg_file}.appdata.xml" 644 usr/share/metainfo
+}
+
+post_install() {
+	vdoc "${wrksrc}/CaveStory/Manual.html"
+	vcopy "${wrksrc}/CaveStory/Manual" "usr/share/doc/${pkgname}"
+}

  parent reply	other threads:[~2023-09-05 21:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05  5:39 [PR PATCH] " Aicaya
2023-09-05  5:56 ` [PR PATCH] [Updated] " Aicaya
2023-09-05 21:33 ` Aicaya
2023-09-05 21:51 ` Aicaya [this message]
2023-12-05  1:47 ` github-actions
2023-12-05  5:20 ` Aicaya
2023-12-05  5:24 ` Aicaya
2023-12-05  5:27 ` Aicaya
2024-03-06  1:44 ` github-actions
2024-03-06 22:45 ` Aicaya
  -- strict thread matches above, loose matches on Subject: below --
2021-04-22 20:41 [PR PATCH] New package: nxengine-evo-2.6.4 travankor
2022-08-01 13:53 ` [PR PATCH] [Updated] New package: nxengine-evo-2.6.5 travankor

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=20230905215133.HVMjQJuaYNMb_U7SBnI_q0EgdDessM6N2j-xQZzv1c8@z \
    --to=aicaya@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).