Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages /
openttd
Commits:
d855fc0a by Andreas Radke at 2025-11-06T16:13:43+01:00
upgpkg: 14.1-4; icu 78 rebuild, fix build with gcc15; SPDX license
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,20 +1,27 @@
pkgbase = openttd
pkgdesc = Engine for running Transport Tycoon Deluxe
pkgver = 14.1
- pkgrel = 3
+ pkgrel = 4
url = https://www.openttd.org
arch = x86_64
- license = GPL
+ license = GPL-2.0-only
+ license = BSD-3-Clause
+ license = LGPL-2.1-or-later
+ license = MIT
+ license = Zlib
makedepends = cmake
makedepends = ninja
depends = fluidsynth
+ depends = sdl2-compat
depends = fontconfig
depends = hicolor-icon-theme
optdepends = openttd-opengfx: free graphics
optdepends = openttd-opensfx: free soundset
source =
https://cdn.openttd.org/openttd-releases/14.1/openttd-14.1-source.tar.xz
source = https://github.com/OpenTTD/OpenTTD/commit/14fac2ad.patch
+ source = https://github.com/OpenTTD/OpenTTD/commit/db36e618.patch
b2sums =
d107cd41a04f1a0bcfd41730e57628787443e8fe6d90dd59b0211b115b462a8e57e68a30e4b1c72d5f9db2121650f1c4035303e64f7e2e71fdedb23665f445da
b2sums =
ea5fa5d19f3195bfcd2b279e153c4c17e61b6f57a189a3ab65e9450956c7ce720420ba7aed5df4c8944875ead8753a5699af2644c9d29639b3750b86e9b4ad6d
+ b2sums =
2c4a9b23a2715a7c740c751359bc5d9708849e038c01e2f79115b8b670c62f2c63af7ecdc0539e7e77c73eb36c4d08ade294868a2022cf84c74f93c9553b32dd
pkgname = openttd
=====================================
PKGBUILD
=====================================
@@ -4,23 +4,28 @@
pkgname=openttd
pkgver=14.1
-pkgrel=3
+pkgrel=4
pkgdesc='Engine for running Transport Tycoon Deluxe'
arch=(x86_64)
url='https://www.openttd.org'
-license=(GPL)
-depends=(fluidsynth fontconfig hicolor-icon-theme)
+# bundled squirrel is under Zlib license
+# bundled fmt is under MIT license
+license=('GPL-2.0-only' 'BSD-3-Clause' 'LGPL-2.1-or-later' 'MIT' 'Zlib')
+depends=(fluidsynth sdl2-compat fontconfig hicolor-icon-theme)
makedepends=(cmake ninja)
optdepends=('openttd-opengfx: free graphics'
'openttd-opensfx: free soundset')
source=("https://cdn.$pkgname.org/$pkgname-releases/$pkgver/$pkgname-$pkgver-source.tar.xz"
- https://github.com/OpenTTD/OpenTTD/commit/14fac2ad.patch)
+ https://github.com/OpenTTD/OpenTTD/commit/14fac2ad.patch
+ https://github.com/OpenTTD/OpenTTD/commit/db36e618.patch)
b2sums=('d107cd41a04f1a0bcfd41730e57628787443e8fe6d90dd59b0211b115b462a8e57e68a30e4b1c72d5f9db2121650f1c4035303e64f7e2e71fdedb23665f445da'
-
'ea5fa5d19f3195bfcd2b279e153c4c17e61b6f57a189a3ab65e9450956c7ce720420ba7aed5df4c8944875ead8753a5699af2644c9d29639b3750b86e9b4ad6d')
+
'ea5fa5d19f3195bfcd2b279e153c4c17e61b6f57a189a3ab65e9450956c7ce720420ba7aed5df4c8944875ead8753a5699af2644c9d29639b3750b86e9b4ad6d'
+
'2c4a9b23a2715a7c740c751359bc5d9708849e038c01e2f79115b8b670c62f2c63af7ecdc0539e7e77c73eb36c4d08ade294868a2022cf84c74f93c9553b32dd')
prepare() {
sed -i '/sse/d;/SSE/d' $pkgname-$pkgver/CMakeLists.txt
patch -d $pkgname-$pkgver -p1 < 14fac2ad.patch # Fix build with ICU 76
+ patch -d $pkgname-$pkgver -p1 < db36e618.patch # Fix build with gcc15
}
build() {
@@ -37,4 +42,7 @@ build() {
package() {
DESTDIR="$pkgdir" ninja -C build install
+
+ # license
+ install -D -m644 $pkgname-$pkgver/COPYING.md
"${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/openttd/-/commit/d855fc0ac0132a43ba4c0195e86fff58d89beb06
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/openttd/-/commit/d855fc0ac0132a43ba4c0195e86fff58d89beb06
You're receiving this email because of your account on gitlab.archlinux.org.