Github messages for voidlinux
 help / color / mirror / Atom feed
From: AnInternetTroll <AnInternetTroll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: VVVVVV-2.3.6.
Date: Thu, 21 Dec 2023 15:38:09 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47862@inbox.vuxu.org> (raw)

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

There is a new pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages VVVVVV
https://github.com/void-linux/void-packages/pull/47862

New package: VVVVVV-2.3.6.
#### 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, (x86_64-glibc)


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

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

From 0f5c03afb55181f0ae2efda634134bdd84fc9323 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Thu, 21 Dec 2023 15:35:49 +0100
Subject: [PATCH] New package: VVVVVV-2.3.6.

---
 srcpkgs/VVVVVV/files/README.voidlinux     |  3 +++
 srcpkgs/VVVVVV/patches/data-zip-path.diff | 13 ++++++++++++
 srcpkgs/VVVVVV/template                   | 24 +++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/VVVVVV/files/README.voidlinux
 create mode 100644 srcpkgs/VVVVVV/patches/data-zip-path.diff
 create mode 100644 srcpkgs/VVVVVV/template

diff --git a/srcpkgs/VVVVVV/files/README.voidlinux b/srcpkgs/VVVVVV/files/README.voidlinux
new file mode 100644
index 0000000000000..854d8e6704e20
--- /dev/null
+++ b/srcpkgs/VVVVVV/files/README.voidlinux
@@ -0,0 +1,3 @@
+Download the required data.zip from
+https://thelettervsixtim.es/makeandplay/data.zip and place it in
+/usr/share/VVVVVV/data.zip
diff --git a/srcpkgs/VVVVVV/patches/data-zip-path.diff b/srcpkgs/VVVVVV/patches/data-zip-path.diff
new file mode 100644
index 0000000000000..45b5d5c2bdabe
--- /dev/null
+++ b/srcpkgs/VVVVVV/patches/data-zip-path.diff
@@ -0,0 +1,13 @@
+diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp
+index 833a3dea..88d89042 100644
+--- a/desktop_version/src/FileSystemUtils.cpp
++++ b/desktop_version/src/FileSystemUtils.cpp
+@@ -145,7 +145,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath)
+ 		PLATFORM_migrateSaveData(output);
+ 	}
+ 
+-	basePath = SDL_GetBasePath();
++	basePath = SDL_strdup("/usr/share/VVVVVV/");
+ 
+ 	if (basePath == NULL)
+ 	{
diff --git a/srcpkgs/VVVVVV/template b/srcpkgs/VVVVVV/template
new file mode 100644
index 0000000000000..d3f8427b9a5c9
--- /dev/null
+++ b/srcpkgs/VVVVVV/template
@@ -0,0 +1,24 @@
+# Template file for 'VVVVVV'
+pkgname=VVVVVV
+version=2.3.6
+revision=1
+build_wrksrc=desktop_version
+build_style=cmake
+makedepends="SDL2-devel SDL2_mixer-devel"
+short_desc="Platformer exploring what if you reversed gravity instead of jumping?"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="custom:Proprietary"
+homepage="https://thelettervsixtim.es/"
+changelog="https://github.com/TerryCavanagh/VVVVVV/releases"
+distfiles="https://github.com/TerryCavanagh/VVVVVV/archive/refs/tags/$version.tar.gz"
+checksum=a3366aab9e8462d330044ab1ec63927e9f5c3801c0ed96b24f08c553dcb911e9
+repository=nonfree
+
+do_install() {
+	vbin build/VVVVVV
+}
+
+post_install() {
+	vdoc "${FILESDIR}/README.voidlinux"
+	vlicense ../LICENSE.md
+}

             reply	other threads:[~2023-12-21 14:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 14:38 AnInternetTroll [this message]
2023-12-21 15:00 ` [PR PATCH] [Updated] " AnInternetTroll
2023-12-22 18:12 ` AnInternetTroll
2023-12-22 22:45 ` [PR REVIEW] " 0x5c
2023-12-22 22:45 ` 0x5c
2023-12-22 22:45 ` 0x5c
2023-12-22 22:45 ` 0x5c
2023-12-23  9:27 ` [PR PATCH] [Updated] " AnInternetTroll
2023-12-23 10:06 ` AnInternetTroll
2024-01-12 23:49 ` AnInternetTroll
2024-04-12  1:45 ` github-actions
2024-04-12 17:39 ` [PR PATCH] [Updated] " AnInternetTroll

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47862@inbox.vuxu.org \
    --to=aninternettroll@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).