Github messages for voidlinux
 help / color / mirror / Atom feed
From: kedodrill <kedodrill@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: TheForceEngine-1.09.410
Date: Fri, 25 Aug 2023 23:47:37 +0200	[thread overview]
Message-ID: <20230825214737.0MzaKh5EXZAnhg08rGs-he9rrXcjKo1fLPlmVIBsRzA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45745@inbox.vuxu.org>

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

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

https://github.com/kedodrill/void-packages TheForceEngine
https://github.com/void-linux/void-packages/pull/45745

New package: TheForceEngine-1.09.410
<!-- Uncomment relevant sections and delete options which are not applicable -->

https://github.com/luciusDXL/TheForceEngine

* Requires `rtmidi` to get bumped to `5.0.0`, but I went ahead and bumped it to `6.0.0`. The license changed, but I think most of the other changes are features.

* I revbumped the other packages that require `rtmidi`. `milkytracker` needed `pkg-config` added to `hostmakedepends`, otherwise it would fail. I packaged all of them, but I only installed milkytracker and played around with it a little.

* 32bit seems to not be available for now for this package. According to some github issues, ARM support may be possible with some patches. I also tested musl x86_64 and it failed, but possibly would work with some patches.

* Notably during testing the shareware version of Dark Forces will not work with TheForceEngine, you must use the full game.

#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686 (failed)
  - x86_64-musl (failed)


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

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

From a7af2bcd0b3af4fe9c476fbe4e7145adca6f6d1e Mon Sep 17 00:00:00 2001
From: Kenneth Dodrill <hello@kennydodrill.com>
Date: Thu, 24 Aug 2023 15:49:45 -0500
Subject: [PATCH] New package: TheForceEngine-1.09.410

---
 common/shlibs                   |  2 +-
 srcpkgs/TheForceEngine/template | 26 ++++++++++++++++++++++++++
 srcpkgs/furnace/template        |  2 +-
 srcpkgs/giada/template          |  2 +-
 srcpkgs/milkytracker/template   |  3 ++-
 srcpkgs/rtmidi/template         |  8 ++++----
 6 files changed, 35 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/TheForceEngine/template

diff --git a/common/shlibs b/common/shlibs
index f1ca9ce4870d1..f21d21c68caa7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3045,7 +3045,7 @@ libPocoCrypto.so.94 poco-1.12.4_1
 libPtex.so ptex-2.3.2_1
 libopenblas.so.0 openblas-0.2.19_1
 librtaudio.so.6 rtaudio-5.1.0_1
-librtmidi.so.5 rtmidi-4.0.0_1
+librtmidi.so.7 rtmidi-6.0.0_1
 libbiblesync.so.2.1.0 biblesync-2.1.0_1
 libbac-9.4.2.so bacula-common-9.4.2_4
 libbaccfg-9.4.2.so bacula-common-9.4.2_4
diff --git a/srcpkgs/TheForceEngine/template b/srcpkgs/TheForceEngine/template
new file mode 100644
index 0000000000000..bf7948e43f7d9
--- /dev/null
+++ b/srcpkgs/TheForceEngine/template
@@ -0,0 +1,26 @@
+# Template file for 'TheForceEngine'
+pkgname=TheForceEngine
+version=1.09.410
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel devil-devel rtaudio-devel jack-devel rtmidi-devel glew-devel MesaLib-devel"
+depends="zenity"
+short_desc="Modern \"Jedi Engine\" replacement supporting Dark Forces and mods"
+maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
+license="GPL-2.0-only"
+homepage="https://theforceengine.github.io"
+distfiles="https://github.com/luciusDXL/TheForceEngine/archive/v${version}.tar.gz"
+checksum=0f2b284190b7492d45f0f16ed7897cfd8ef5a5c22c1d3d512e9d8c7efb20e6b0
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) broken="Minimum requirements state 64-bit for GPU renderer" ;;
+	ppc*) broken="Minimum requirements state 64-bit for GPU renderer" ;;
+	arm*) broken="Minimum requirements state 64-bit for GPU renderer" ;;
+	*-musl) broken="FAILED: CMakeFiles/tfe.dir/TheForceEngine/TFE_FileSystem/fileutil-posix.cpp.o" ;;
+esac
+
+post_install() {
+	vinstall "${pkgname}/${pkgname}.desktop" 644 usr/share/applications
+	vinstall "${pkgname}/${pkgname}.png" 644 usr/share/icons/hicolor/256x256/apps/ ${pkgname}.png
+}
diff --git a/srcpkgs/furnace/template b/srcpkgs/furnace/template
index 398a0c1d705a2..76aa810c8923b 100644
--- a/srcpkgs/furnace/template
+++ b/srcpkgs/furnace/template
@@ -1,7 +1,7 @@
 # Template file for 'furnace'
 pkgname=furnace
 version=0.6pre8
-revision=1
+revision=2
 _adpcm_commit="ef7a217154badc3b99978ac481b268c8aab67bd8"
 build_wrksrc=${pkgname}-${version}
 build_style=cmake
diff --git a/srcpkgs/giada/template b/srcpkgs/giada/template
index a7ac263ce2f3d..9e3d2956b8545 100644
--- a/srcpkgs/giada/template
+++ b/srcpkgs/giada/template
@@ -1,7 +1,7 @@
 # Template file for 'giada'
 pkgname=giada
 version=0.17.0
-revision=1
+revision=2
 build_style=cmake
 # configure_args="--target=linux"
 hostmakedepends="cmake"
diff --git a/srcpkgs/milkytracker/template b/srcpkgs/milkytracker/template
index 56d48d8850a6c..92d21114adef1 100644
--- a/srcpkgs/milkytracker/template
+++ b/srcpkgs/milkytracker/template
@@ -1,8 +1,9 @@
 # Template file for 'milkytracker'
 pkgname=milkytracker
 version=1.02.00
-revision=2
+revision=3
 build_style=cmake
+hostmakedepends="pkg-config"
 makedepends="SDL2-devel zlib-devel jack-devel alsa-lib-devel rtmidi-devel"
 depends="libjack rtmidi"
 short_desc="Fast Tracker II inspired music tracker"
diff --git a/srcpkgs/rtmidi/template b/srcpkgs/rtmidi/template
index 04bebb4104857..5341f6ccff398 100644
--- a/srcpkgs/rtmidi/template
+++ b/srcpkgs/rtmidi/template
@@ -1,17 +1,17 @@
 # Template file for 'rtmidi'
 pkgname=rtmidi
-version=4.0.0
-revision=2
+version=6.0.0
+revision=1
 build_style=gnu-configure
 configure_args="--with-alsa --with-jack"
 hostmakedepends="automake libtool"
 makedepends="alsa-lib-devel jack-devel"
 short_desc="C++ classes for realtime MIDI input/output"
 maintainer="Duncaen <duncaen@voidlinux.org>"
-license="MIT"
+license="custom:RtMidi"
 homepage="http://www.music.mcgill.ca/~gary/rtmidi/"
 distfiles="https://github.com/thestk/rtmidi/archive/${version}.tar.gz"
-checksum=d32de9ceebf6d969537e9a9720925a1ac7f6a8bc4ac4ce7c58c01434f4e54f44
+checksum=ef7bcda27fee6936b651c29ebe9544c74959d0b1583b716ce80a1c6fea7617f0
 
 pre_configure() {
 	sed -n '/Copyright (c)/,$ p' < README.md > LICENSE

  parent reply	other threads:[~2023-08-25 21:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 21:00 [PR PATCH] " kedodrill
2023-08-25 14:54 ` [PR REVIEW] " Chocimier
2023-08-25 14:54 ` Chocimier
2023-08-25 19:47 ` kedodrill
2023-08-25 19:49 ` kedodrill
2023-08-25 21:47 ` kedodrill [this message]
2023-09-28  5:00 ` [PR PATCH] [Updated] " kedodrill
2023-09-28  5:22 ` [PR PATCH] [Updated] New package: TheForceEngine-1.09.530 kedodrill
2023-09-28  7:43 ` Johnnynator
2023-09-28  7:43 ` [PR REVIEW] " Johnnynator
2023-09-28  7:44 ` Johnnynator
2023-09-28  7:44 ` Johnnynator
2023-09-28  7:45 ` Johnnynator
2023-09-28 22:56 ` kedodrill
2023-09-28 22:56 ` kedodrill
2023-09-28 22:57 ` [PR REVIEW] " kedodrill
2023-09-29 11:23 ` Johnnynator
2023-09-29 20:04 ` [PR PATCH] [Updated] " kedodrill
2023-09-29 20:04 ` kedodrill
2023-09-29 22:44 ` Johnnynator
2023-09-29 22:44 ` [PR PATCH] [Merged]: " Johnnynator
2023-09-30  0:58 ` kedodrill

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=20230825214737.0MzaKh5EXZAnhg08rGs-he9rrXcjKo1fLPlmVIBsRzA@z \
    --to=kedodrill@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).