Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hyperrogue: update to 12.0u
@ 2022-08-27 15:51 tranzystorek-io
  2022-08-27 15:55 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: tranzystorek-io @ 2022-08-27 15:51 UTC (permalink / raw)
  To: ml

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

There is a new 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 095452070ad8fb1bdcf7caa8920171c8658d65d8 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
 }

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-09-17 20:15 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-27 15:51 [PR PATCH] hyperrogue: update to 12.0u tranzystorek-io
2022-08-27 15:55 ` [PR PATCH] [Updated] " tranzystorek-io
2022-08-27 17:04 ` tranzystorek-io
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

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).