diff options
author | FabioLolix | 2024-04-03 00:26:58 +0200 |
---|---|---|
committer | FabioLolix | 2024-04-03 00:26:58 +0200 |
commit | 586963c44ca066a99d1b62abd50bf6d13c3236eb (patch) | |
tree | 466cdeb19874214c15e851ced09c0e21e0541da8 | |
parent | 04b73f1f3214b92d0ded7e1ed5a46c28a60142fd (diff) | |
download | aur-586963c44ca066a99d1b62abd50bf6d13c3236eb.tar.gz |
v24.03
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 21 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = openloco pkgdesc = An open source re-implementation of Chris Sawyer's Locomotion - pkgver = 23.12 + pkgver = 24.03 pkgrel = 1 url = https://github.com/OpenLoco/OpenLoco arch = x86_64 @@ -14,10 +14,14 @@ pkgbase = openloco depends = sdl2 depends = libpng depends = openal + optdepends = lib32-libpipewire: audio output + optdepends = lib32-libpulse: audio output options = !lto - source = openloco-23.12.tar.gz::https://github.com/OpenLoco/OpenLoco/archive/refs/tags/v23.12.tar.gz + source = openloco-24.03.tar.gz::https://github.com/OpenLoco/OpenLoco/archive/refs/tags/v24.03.tar.gz + source = https://github.com/OpenLoco/OpenLoco/commit/dd06576a7191d13366e64208c560c6064c26a311.patch source = openloco.desktop - sha256sums = 92c9e63503440e83c8332183878c41a7e7c03104f2be2c73c8cf92d228c783e4 + sha256sums = 72098a0971a51db2a961734b5f9e91f3689e16ad66599ab52dd7ea58d7d2f8bb + sha256sums = 1a9e10f2f39ba40e2f9b9979ac8e603ae969567756e33771cad5075151dbd1ee sha256sums = 57512f00144c1e0d2cc91c3adbf38460d5ec1223afc27bd16e1271760bce02ae depends_x86_64 = lib32-glibc depends_x86_64 = lib32-gcc-libs @@ -2,7 +2,7 @@ # Contributor: Mr.Smith1974 pkgname=openloco -pkgver=23.12 +pkgver=24.03 pkgrel=1 pkgdesc="An open source re-implementation of Chris Sawyer's Locomotion" arch=(x86_64 i686) @@ -12,11 +12,22 @@ depends=(sdl2 libpng openal) depends_x86_64+=(lib32-glibc lib32-gcc-libs lib32-sdl2 lib32-libpng lib32-openal lib32-yaml-cpp lib32-fmt) makedepends=(cmake yaml-cpp gtest fmt git) makedepends_x86_64+=(lib32-gtest) -options=(!lto) +optdepends=( + 'lib32-libpipewire: audio output' + 'lib32-libpulse: audio output' +) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/OpenLoco/OpenLoco/archive/refs/tags/v${pkgver}.tar.gz" + "https://github.com/OpenLoco/OpenLoco/commit/dd06576a7191d13366e64208c560c6064c26a311.patch" "openloco.desktop") -sha256sums=('92c9e63503440e83c8332183878c41a7e7c03104f2be2c73c8cf92d228c783e4' +sha256sums=('72098a0971a51db2a961734b5f9e91f3689e16ad66599ab52dd7ea58d7d2f8bb' + '1a9e10f2f39ba40e2f9b9979ac8e603ae969567756e33771cad5075151dbd1ee' '57512f00144c1e0d2cc91c3adbf38460d5ec1223afc27bd16e1271760bce02ae') +options=(!lto) + +prepare() { + cd "OpenLoco-${pkgver}" + patch -Np1 -i ../dd06576a7191d13366e64208c560c6064c26a311.patch +} build() { export CXXFLAGS="$CXXFLAGS -m32" |