Package Details: openmohaa 0.82.1-2

Git Clone URL: https://aur.archlinux.org/openmohaa.git (read-only, click to copy)
Package Base: openmohaa
Description: Open re-implementation of Medal of Honor: Allied Assault
Upstream URL: https://github.com/openmoh/openmohaa
Keywords: fps game honor medal openmohaa re-implementation remaster shooter
Licenses: GPL-2.0-only
Submitter: Mr.Smith1974
Maintainer: ryan.steed
Last Packager: ryan.steed
Votes: 3
Popularity: 0.30
First Submitted: 2023-11-21 06:56 (UTC)
Last Updated: 2025-10-26 01:54 (UTC)

Latest Comments

<deleted-account> commented on 2025-01-07 23:22 (UTC)

@brianrobt Thank you, it works great. I'll add you as a co-maintainer of the openmohaa-git package.

brianrobt commented on 2025-01-07 21:45 (UTC)

@selfdenial, I've updated this package to 0.81.1. It doesn't look like the patches are needed anymore, so I removed them. I also hope you don't mind that I added you on as a co-maintainer.

Cheers, Brian

<deleted-account> commented on 2024-12-14 22:38 (UTC)

Hello, thanks for the package! I've managed resolve the build issues with the latest beta. Here is the updated PKGBUILD.

Note: post v0.80.0 patches are required to fix the build with the Archlinux default of -Werror=format-security. Comments are inline. I've also introduced a new openmohaa-git AUR package here.

Edit: disable USE_SYSTEM_LIBS to avoid build complexity.

pkgname=openmohaa pkgver=0.80.0 pkgrel=1 pkgdesc="Open re-implementation of Medal of Honor: Allied Assault " arch=('i686' 'x86_64') url="https://github.com/openmoh/openmohaa" license=('GPL2') depends=('openal' 'sdl2' 'openjpeg2' 'libmad') makedepends=('cmake' 'ninja') _relstage="beta" options=(!debug !lto) source=("https://github.com/openmoh/openmohaa/archive/refs/tags/v${pkgver}.tar.gz"         "https://github.com/openmoh/openmohaa/commit/7cad7a4bd0868b6718ac0d24b92cd28b05899184.patch"         "https://github.com/openmoh/openmohaa/commit/f1e5d02169dfe82d4521f9761760c72348292e40.patch") sha256sums=('db16f671d5ec142f86f662ec77c76cfd3f188000d74e17e62db6a98c334dc499'             '4b53f68e26ab71dc60efa19f88a0595c8fc5c107e371f624b361c0e1b9484384'             '73af69435061b84d9580be114f12319c4f7cea2af1b69306f3f20141020260ba')  # Fix insecure print statements to fix build prepare() {   patch --directory="${pkgname}-${pkgver}" --forward --strip=1 --input="${srcdir}/7cad7a4bd0868b6718ac0d24b92cd28b05899184.patch"   patch --directory="${pkgname}-${pkgver}" --forward --strip=1 --input="${srcdir}/f1e5d02169dfe82d4521f9761760c72348292e40.patch" }  build() {   cd $pkgname-$pkgver   [[ -d build ]] && rm -rf build   mkdir build && cd build    cmake -G Ninja ../ -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr/" -DTARGET_LOCAL_SYSTEM=1 -DUSE_SYSTEM_LIBS=0 -DPRODUCT_VERSION_STAGE="${_relstage}" }  package() {   cd $pkgname-$pkgver   ninja -C build install }