Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system)
@ 2023-03-07 13:52 MatthiasPetermann
  2023-03-08 18:30 ` Chocimier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: MatthiasPetermann @ 2023-03-07 13:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MatthiasPetermann/void-packages master
https://github.com/void-linux/void-packages/pull/42639

openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system)
#### Testing the changes

- I tested the changes in this PR: **YES**

#### Local build testing

- I built this PR locally for my native architecture, (amd64-glibc)


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

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

From ced9e9ab8a593dc159203b61feda0b3e8fcd7a18 Mon Sep 17 00:00:00 2001
From: Matthias Petermann <mp@petermann-it.de>
Date: Tue, 7 Mar 2023 14:49:34 +0100
Subject: [PATCH] openttd: updated to version 13.0 (including update of gfx /
 sfx and rework of build system)

Signed-off-by: Matthias Petermann <mp@petermann-it.de>
---
 srcpkgs/openttd/template | 37 ++++++++++++++-----------------------
 1 file changed, 14 insertions(+), 23 deletions(-)

diff --git a/srcpkgs/openttd/template b/srcpkgs/openttd/template
index cdecbd7c365b..6baf883e266a 100644
--- a/srcpkgs/openttd/template
+++ b/srcpkgs/openttd/template
@@ -1,12 +1,12 @@
 # Template file for 'openttd'
 pkgname=openttd
-version=1.10.3
-revision=5
-_gfxver=0.6.0
-_sfxver=0.2.3
+version=13.0
+revision=1
+_gfxver=7.1
+_sfxver=1.0.3
 create_wrksrc=yes
 build_wrksrc=openttd-$version
-build_style=gnu-configure
+build_style=cmake
 hostmakedepends="pkg-config unzip tar"
 makedepends="SDL-devel icu-devel fontconfig-devel libpng-devel lzo-devel liblzma-devel
  libxdg-basedir-devel"
@@ -18,10 +18,13 @@ homepage="https://www.openttd.org/"
 distfiles="https://proxy.binaries.openttd.org/openttd-releases/${version}/openttd-${version}-source.tar.xz
  https://cdn.openttd.org/opengfx-releases/${_gfxver}/opengfx-${_gfxver}-all.zip
  https://cdn.openttd.org/opensfx-releases/${_sfxver}/opensfx-${_sfxver}-all.zip"
-checksum="c11601ef547eb1f6d4f9a035bd19e0a760b47872ce7d9b4117aaa45ac377b53b
- d419c0f5f22131de15f66ebefde464df3b34eb10e0645fe218c59cbc26c20774
- 6831b651b3dc8b494026f7277989a1d757961b67c17b75d3c2e097451f75af02"
-
+checksum="339df8e0e0827087c83afe78f8efc6a73b0a3d8a950a0b53137ce6e8aad7ab67
+ 928fcf34efd0719a3560cbab6821d71ce686b6315e8825360fba87a7a94d7846
+ e0a218b7dd9438e701503b0f84c25a97c1c11b7c2f025323fb19d6db16ef3759"
+configure_args="
+ -DCMAKE_INSTALL_DATADIR=/usr/share
+ -DCMAKE_INSTALL_BINDIR=/usr/bin
+"
 
 CXXFLAGS=' -DU_USING_ICU_NAMESPACE=1'
 
@@ -29,20 +32,8 @@ post_extract() {
 	cd $wrksrc
 	bsdtar xf opengfx-${_gfxver}.tar
 	rm opengfx-${_gfxver}.tar
-}
-
-do_configure() {
-	./configure --prefix-dir=/usr \
-		--cc-build=gcc \
-		--cxx-build=g++ \
-		--binary-dir=bin \
-		--data-dir=share/openttd \
-		--doc-dir=share/doc/openttd \
-		--with-lzo2=${XBPS_CROSS_BASE}/usr/lib \
-		--binary-name=openttd \
-		--install-dir=${DESTDIR} \
-		--menu-name=OpenTTD \
-		--with-xdg-basedir
+	bsdtar xf opensfx-${_sfxver}.tar
+	rm opensfx-${_sfxver}.tar
 }
 
 post_install() {

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

* Re: openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system)
  2023-03-07 13:52 [PR PATCH] openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system) MatthiasPetermann
@ 2023-03-08 18:30 ` Chocimier
  2023-06-07  2:06 ` github-actions
  2023-06-22  1:59 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: Chocimier @ 2023-03-08 18:30 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/42639#issuecomment-1460661699

Comment:
For cross fixes see #36776

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

* Re: openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system)
  2023-03-07 13:52 [PR PATCH] openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system) MatthiasPetermann
  2023-03-08 18:30 ` Chocimier
@ 2023-06-07  2:06 ` github-actions
  2023-06-22  1:59 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2023-06-07  2:06 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/42639#issuecomment-1579755497

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system)
  2023-03-07 13:52 [PR PATCH] openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system) MatthiasPetermann
  2023-03-08 18:30 ` Chocimier
  2023-06-07  2:06 ` github-actions
@ 2023-06-22  1:59 ` github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2023-06-22  1:59 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system)
https://github.com/void-linux/void-packages/pull/42639

Description:
#### Testing the changes

- I tested the changes in this PR: **YES**

#### Local build testing

- I built this PR locally for my native architecture, (amd64-glibc)


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

end of thread, other threads:[~2023-06-22  1:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 13:52 [PR PATCH] openttd: updated to version 13.0 (including update of gfx / sfx and rework of build system) MatthiasPetermann
2023-03-08 18:30 ` Chocimier
2023-06-07  2:06 ` github-actions
2023-06-22  1:59 ` [PR PATCH] [Closed]: " github-actions

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