Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] hyperrogue: update to 12.0u
Date: Sat, 27 Aug 2022 19:04:36 +0200	[thread overview]
Message-ID: <20220827170436.yUxehc0ZQpm2SAmL_hh68YoYscimaPnNnMUMAvrqbsc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38945@inbox.vuxu.org>

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

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

https://github.com/tranzystorek-io/void-packages hyperrogue
https://github.com/void-linux/void-packages/pull/38945

hyperrogue: update to 12.0u
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From e9586e37e5c96a4156b517cee989bcdf2f53e0e1 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 27 Aug 2022 17:26:53 +0200
Subject: [PATCH] hyperrogue: update to 12.0u

---
 srcpkgs/hyperrogue/files/hyperrogue.desktop |  8 ++++++
 srcpkgs/hyperrogue/template                 | 31 +++++++++++++++------
 2 files changed, 31 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/hyperrogue/files/hyperrogue.desktop

diff --git a/srcpkgs/hyperrogue/files/hyperrogue.desktop b/srcpkgs/hyperrogue/files/hyperrogue.desktop
new file mode 100644
index 000000000000..db2c4a72b9ec
--- /dev/null
+++ b/srcpkgs/hyperrogue/files/hyperrogue.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=HyperRogue
+Comment=Roguelike in a non-euclidean world
+Exec=hyperrogue
+Icon=hyperrogue
+Terminal=false
+Type=Application
+Categories=Game;AdventureGame;
diff --git a/srcpkgs/hyperrogue/template b/srcpkgs/hyperrogue/template
index 7f0b8da5750f..7ae86a2fab20 100644
--- a/srcpkgs/hyperrogue/template
+++ b/srcpkgs/hyperrogue/template
@@ -1,23 +1,38 @@
 # Template file for 'hyperrogue'
 pkgname=hyperrogue
-version=11.3f
+version=12.0u
 revision=1
-build_style=gnu-configure
-hostmakedepends="autoconf automake"
+build_style=gnu-makefile
 makedepends="glew-devel libpng-devel SDL-devel SDL_gfx-devel SDL_mixer-devel
  SDL_ttf-devel zlib-devel"
+depends="dejavu-fonts-ttf"
 short_desc="SDL rogue-like in a non-euclidean world"
 maintainer="B. Wilson <x@wilsonb.com>"
 license="GPL-2.0-or-later, CC-BY-SA-4.0, CC-BY-SA-3.0, CC-BY-3.0, Public Domain"
 homepage="https://www.roguetemple.com/z/hyper/"
-distfiles="https://github.com/zenorogue/hyperrogue/archive/v${version}.tar.gz"
-checksum=5451b35860c940adc422d455e42d702a76eb6595450e92cb2c0e432cf77ddd9b
+distfiles="https://github.com/zenorogue/hyperrogue/archive/refs/tags/v${version}.tar.gz"
+checksum=0c9bbbb8bd1e6ef0a560a7670b249740eb75113190f7eb005e510402e58e8161
 nocross="Generates code from build output that must run on host"
 
 # SDL_gfx-devel headers require that SDL.h be under the header search paths,
 # which are not set correctly by upstream.
-CXXFLAGS+=" -I/usr/include/SDL"
+CXXFLAGS+=" -I/usr/include/SDL -DHYPERPATH='\"/usr/share/hyperrogue/\"' -DHYPERFONTPATH='\"/usr/share/fonts/TTF/\"'"
 
-pre_configure() {
-	autoreconf -i
+export HYPERROGUE_USE_GLEW=1
+export HYPERROGUE_USE_PNG=1
+
+do_install() {
+	vbin hyperrogue
+	vinstall hyperrogue-music.txt 644 usr/share/hyperrogue
+	vinstall ${FILESDIR}/hyperrogue.desktop 644 usr/share/applications
+	vinstall hyperroid/app/src/main/res/drawable-ldpi/icon.png 644 usr/share/icons/hicolor/36x36/apps hyperrogue.png
+	vinstall hyperroid/app/src/main/res/drawable-mdpi/icon.png 644 usr/share/icons/hicolor/48x48/apps hyperrogue.png
+	vinstall hyperroid/app/src/main/res/drawable-hdpi/icon.png 644 usr/share/icons/hicolor/72x72/apps hyperrogue.png
+	vinstall hyperroid/app/src/main/res/drawable-xhdpi/icon.png 644 usr/share/icons/hicolor/96x96/apps hyperrogue.png
+	vinstall hyperroid/app/src/main/res/drawable-xxhdpi/icon.png 644 usr/share/icons/hicolor/144x144/apps hyperrogue.png
+	vinstall hyperroid/app/src/main/res/drawable-xxxhdpi/icon.png 644 usr/share/icons/hicolor/192x192/apps hyperrogue.png
+
+	vcopy *.dat usr/share/hyperrogue
+	vcopy music usr/share/hyperrogue
+	vcopy sounds usr/share/hyperrogue
 }

  parent reply	other threads:[~2022-08-27 17:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27 15:51 [PR PATCH] " tranzystorek-io
2022-08-27 15:55 ` [PR PATCH] [Updated] " tranzystorek-io
2022-08-27 17:04 ` tranzystorek-io [this message]
2022-08-28  4:24 ` tranzystorek-io
2022-08-28  4:57 ` tranzystorek-io
2022-08-28 13:48 ` tranzystorek-io
2022-08-30 15:31 ` tranzystorek-io
2022-08-31  3:50 ` xelxebar
2022-08-31  6:45 ` [PR PATCH] [Updated] " tranzystorek-io
2022-09-14  7:13 ` [PR REVIEW] " classabbyamp
2022-09-14  7:13 ` classabbyamp
2022-09-14  7:13 ` classabbyamp
2022-09-14  7:16 ` tranzystorek-io
2022-09-14  7:20 ` tranzystorek-io
2022-09-14  7:28 ` tranzystorek-io
2022-09-14  7:31 ` [PR PATCH] [Updated] " tranzystorek-io
2022-09-14  7:32 ` [PR REVIEW] " classabbyamp
2022-09-15 17:25 ` [PR PATCH] [Updated] " tranzystorek-io
2022-09-15 17:27 ` [PR REVIEW] hyperrogue: update to 12.1 tranzystorek-io
2022-09-17 16:30 ` [PR PATCH] [Updated] " tranzystorek-io
2022-09-17 16:30 ` tranzystorek-io
2022-09-17 20:15 ` [PR PATCH] [Merged]: hyperrogue: update to 12.1a classabbyamp

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=20220827170436.yUxehc0ZQpm2SAmL_hh68YoYscimaPnNnMUMAvrqbsc@z \
    --to=tranzystorek-io@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).