Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: bastet-0.43.2
@ 2022-10-01  0:36 awest03
  2022-10-01  1:23 ` [PR PATCH] [Updated] " awest03
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: awest03 @ 2022-10-01  0:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/awest03/void-packages bastet
https://github.com/void-linux/void-packages/pull/39558

New package: bastet-0.43.2
<!-- 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**


<!-- 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
  - armv6l

Fails to build on musl

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

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

From 4bcf75ef4e46858e56f6fa246183c0e8104335f1 Mon Sep 17 00:00:00 2001
From: Alaisdair West <alaisdair.west@outlook.com.au>
Date: Fri, 30 Sep 2022 17:33:37 +1000
Subject: [PATCH] New package: bastet-0.43.2

---
 srcpkgs/bastet/patches/new-boost.patch | 22 +++++++++++++++++++
 srcpkgs/bastet/template                | 29 ++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 srcpkgs/bastet/patches/new-boost.patch
 create mode 100644 srcpkgs/bastet/template

diff --git a/srcpkgs/bastet/patches/new-boost.patch b/srcpkgs/bastet/patches/new-boost.patch
new file mode 100644
index 000000000000..5ae11cb2f81d
--- /dev/null
+++ b/srcpkgs/bastet/patches/new-boost.patch
@@ -0,0 +1,22 @@
+diff -Np1 a/BastetBlockChooser.hpp b/BastetBlockChooser.hpp
+*** a/BastetBlockChooser.hpp	2015-08-30 17:04:24.000000000 +1000
+--- b/BastetBlockChooser.hpp	2022-09-30 12:18:43.100123811 +1000
+***************
+*** 25,28 ****
+  
+! #include <boost/tr1/tr1/unordered_set>
+! #include <set>
+  #include <boost/functional/hash.hpp>
+--- 25,27 ----
+  
+! #include <boost/unordered_set.hpp>
+  #include <boost/functional/hash.hpp>
+*************** namespace Bastet{
+*** 77,79 ****
+    private:
+!     std::tr1::unordered_set<Vertex> _visited;
+      //std::set<Vertex> _visited; ^^ the above is more efficient, we need to do many inserts
+--- 76,78 ----
+    private:
+!     boost::unordered_set<Vertex> _visited;
+      //std::set<Vertex> _visited; ^^ the above is more efficient, we need to do many inserts
diff --git a/srcpkgs/bastet/template b/srcpkgs/bastet/template
new file mode 100644
index 000000000000..bf051e2e93c9
--- /dev/null
+++ b/srcpkgs/bastet/template
@@ -0,0 +1,29 @@
+# Template file for 'bastet'
+pkgname=bastet
+version=0.43.2
+revision=1
+archs="~*-musl"
+hostmakedepends="gcc"
+makedepends="boost-devel ncurses-devel"
+depends="boost ncurses"
+short_desc="Evil falling block game"
+maintainer="Alaisdair West <alaisdair.west2@outlook.com>"
+license="GPL-3.0-only"
+homepage="http://fph.altervista.org/prog/bastet.html"
+changelog="https://raw.githubusercontent.com/fph/bastet/master/NEWS"
+distfiles="https://github.com/fph/${pkgname}/archive/refs/tags/${version}.tar.gz"
+checksum=f219510afc1d83e4651fbffd5921b1e0b926d5311da4f8fa7df103dc7f2c403f
+nocheckperms=yes # For High Score file
+
+do_build() {
+	make
+	touch ${pkgname}.scores2
+}
+
+do_install() {
+	vbin ./${pkgname}
+	vinstall ${pkgname}.desktop 0644 usr/share/applications
+	vinstall ${pkgname}.png 0644 usr/share/pixmaps
+	vmkdir -m 0666 var/games
+	vinstall ${pkgname}.scores2 0666 var/games
+}

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

end of thread, other threads:[~2023-01-04 15:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-01  0:36 [PR PATCH] New package: bastet-0.43.2 awest03
2022-10-01  1:23 ` [PR PATCH] [Updated] " awest03
2022-10-02 19:54 ` [PR REVIEW] " Johnnynator
2022-10-02 19:54 ` Johnnynator
2022-10-02 19:55 ` Johnnynator
2022-10-03  8:42 ` [PR PATCH] [Updated] " awest03
2022-10-03  9:15 ` [WIP] " awest03
2022-10-03  9:16 ` [PR REVIEW] " awest03
2022-10-03 10:40 ` [PR PATCH] [Updated] " awest03
2022-10-03 10:42 ` [PR REVIEW] " awest03
2022-10-03 10:43 ` awest03
2022-10-03 10:49 ` sgn
2022-10-03 10:54 ` awest03
2022-10-03 11:11 ` awest03
2022-10-03 12:24 ` [PR PATCH] [Updated] [WIP] " awest03
2022-10-03 13:14 ` [PR REVIEW] " awest03
2022-10-03 13:15 ` awest03
2023-01-03 12:06 ` sgn
2023-01-04 15:38 ` [PR PATCH] [Closed]: " sgn

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