New package: TheForceEngine-1.09.530

This commit is contained in:
Kenneth Dodrill 2023-09-29 14:51:26 -05:00 committed by John Zimmermann
parent 0f52504cfc
commit 93e38950ce
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- a/TheForceEngine/TFE_FileSystem/fileutil-posix.cpp 2023-09-28 06:00:17.000000000 +0200
+++ - 2023-09-28 09:33:09.076014188 +0200
@@ -2,6 +2,7 @@
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -0,0 +1,28 @@
# Template file for 'TheForceEngine'
pkgname=TheForceEngine
version=1.09.530
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="SDL2-devel devil-devel rtmidi-devel jack-devel glew-devel MesaLib-devel"
depends="zenity"
short_desc="Modern \"Jedi Engine\" replacement supporting Dark Forces and mods"
maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
license="GPL-2.0-only"
homepage="https://theforceengine.github.io"
distfiles="https://github.com/luciusDXL/TheForceEngine/archive/v${version}.tar.gz"
checksum=6b4649fe219ec0678888e7b2076017cda545f97218d5d05f29cb7604bf45097e
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
configure_args="-DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo"
fi
if [ "$XBPS_TARGET_WORDSIZE" == "32" ]; then
broken="Minimum requirements state 64-bit for GPU renderer"
fi
post_install() {
vinstall "${pkgname}/${pkgname}.desktop" 644 usr/share/applications
vinstall "${pkgname}/${pkgname}.png" 644 usr/share/icons/hicolor/256x256/apps/ ${pkgname}.png
}