Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] stepmania: update to 5.1.0-b2
@ 2020-07-22 19:46 jason1987d
  2020-07-22 19:59 ` [PR REVIEW] " ericonr
                   ` (33 more replies)
  0 siblings, 34 replies; 35+ messages in thread
From: jason1987d @ 2020-07-22 19:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jason1987d/void-packages stepmania-5.1.0-b2
https://github.com/void-linux/void-packages/pull/23747

stepmania: update to 5.1.0-b2
The current version 5.0.12 results in an error "Fatal: crash from within the crash signal handler" upon running stepmania. From https://github.com/stepmania/stepmania/issues/1606 the suggested workaround is to use the 5.1 branch. The version 5.1-beta2 is technically a release that has been available for a long time. There are also 5.3 alpha releases, but this 5.1 I have tested to run.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stepmania-5.1.0-b2-23747.patch --]
[-- Type: text/x-diff, Size: 2438 bytes --]

From 548d17e568d7362c74e673b9b1e66a9540f3bb7c Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 22 Jul 2020 14:41:10 -0500
Subject: [PATCH] stepmania: update to 5.1.0-b2

---
 srcpkgs/stepmania/template | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/stepmania/template b/srcpkgs/stepmania/template
index 9ec2c4c2421..082456d62ba 100644
--- a/srcpkgs/stepmania/template
+++ b/srcpkgs/stepmania/template
@@ -1,28 +1,35 @@
 # Template file for 'stepmania'
 pkgname=stepmania
-version=5.0.12
-revision=2
+version=5.1.0
+revision=1
+archs="i686 x86_64"
 build_style=cmake
 cmake_builddir="Build"
 hostmakedepends="nasm yasm pkg-config git"
 makedepends="libmad-devel libvorbis-devel pcre-devel libjpeg-turbo-devel
-alsa-lib-devel libXrandr-devel libva-devel glew-devel"
+alsa-lib-devel libXrandr-devel libva-devel glew-devel pulseaudio-devel"
 short_desc="Advanced rhythm game"
-maintainer="Michael Aldridge <maldridge@voidlinux.org>"
+maintainer="Jason Manley <jason@jasondavid.tv>"
 license="MIT"
 homepage="http://www.stepmania.com/"
-distfiles="https://github.com/stepmania/stepmania/archive/v${version}.tar.gz"
-checksum=df79bcadd69d4ed60cf560d45386ec275181343495ffd744c3ff8f73c83d4755
+distfiles="https://github.com/stepmania/stepmania/archive/v${version}-b2.tar.gz"
+checksum=2e311df9b661ba287b046ce377eb0b41e426b73e169841df99fc9fe2baa89310
 
-# Upstream has stated that only x86 hardware can meed the performance
-# constraints and that musl is not supported due to interop issues
-# with Windows
-archs="i686 x86_64"
+post_extract() {
+	mv ${XBPS_BUILDDIR}/{stepmania-5.1.0-b2,stepmania-5.1.0}
+
+	sed -i 's/NOT OSS_FOUND AND NOT JACK_FOUND AND NOT ALSA_FOUND AND NOT PULSE_FOUND/NOT OSS_FOUND AND NOT JACK_FOUND AND NOT ALSA_FOUND AND NOT PULSEAUDIO_FOUND/g' ${XBPS_BUILDDIR}/stepmania-5.1.0/StepmaniaCore.cmake
+
+	for i in 16 22 24 32 36 48 64 72 96 128 192 256
+	do
+		vinstall ${XBPS_BUILDDIR}/stepmania-5.1.0/icons/hicolor/${i}x${i}/apps/stepmania-ssc.png 644 usr/share/icons/hicolor/${i}x${i}/apps stepmania-ssc.png
+	done
+	vinstall ${XBPS_BUILDDIR}/stepmania-5.1.0/stepmania.desktop 644 usr/share/applications stepmania.desktop
+}
 
 post_install() {
 	vlicense Docs/Licenses.txt
-
 	mkdir -p ${DESTDIR}/usr/bin
 	cd ${DESTDIR}
-	ln -sf ../../opt/stepmania-5.0/stepmania usr/bin/
+	ln -sf ../../opt/stepmania-5.1/stepmania usr/bin/
 }

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

end of thread, other threads:[~2020-11-21 18:24 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 19:46 [PR PATCH] stepmania: update to 5.1.0-b2 jason1987d
2020-07-22 19:59 ` [PR REVIEW] " ericonr
2020-07-22 19:59 ` ericonr
2020-07-22 19:59 ` ericonr
2020-07-22 19:59 ` ericonr
2020-07-22 19:59 ` ericonr
2020-07-22 20:06 ` ericonr
2020-07-22 20:06 ` ericonr
2020-07-22 20:08 ` ericonr
2020-07-22 20:18 ` ericonr
2020-07-22 20:21 ` ericonr
2020-07-23  2:31 ` [PR PATCH] [Updated] " jason1987d
2020-07-23  2:32 ` jason1987d
2020-07-23  2:34 ` jason1987d
2020-07-23  3:24 ` [PR PATCH] [Updated] " jason1987d
2020-07-23  3:32 ` jason1987d
2020-07-23  3:48 ` jason1987d
2020-07-23  4:13 ` [PR PATCH] [Updated] " jason1987d
2020-07-23  5:07 ` ericonr
2020-07-23 14:24 ` [PR PATCH] [Updated] " jason1987d
2020-07-23 14:25 ` jason1987d
2020-07-23 14:28 ` ericonr
2020-07-23 15:53 ` jason1987d
2020-07-23 16:02 ` [PR PATCH] [Updated] " jason1987d
2020-07-23 16:13 ` [PR REVIEW] " ericonr
2020-07-23 16:20 ` [PR PATCH] [Updated] " jason1987d
2020-07-23 16:54 ` [PR REVIEW] " jason1987d
2020-07-23 18:05 ` jason1987d
2020-07-23 19:46 ` [PR PATCH] [Updated] " jason1987d
2020-07-23 19:46 ` jason1987d
2020-07-23 20:21 ` jason1987d
2020-11-09  4:18 ` jason1987d
2020-11-09  4:18 ` jason1987d
2020-11-09 13:10 ` ericonr
2020-11-21 18:24 ` [PR PATCH] [Closed]: " jason1987d

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