games-engines/xsystem4: add patch to fix version number option

Signed-off-by: hautist <lookatnadeko@protonmail.com>
This commit is contained in:
hautist
2025-09-30 16:05:53 +01:00
parent 41b7528ab0
commit 0a20eda44a
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
diff -ur a/src/meson.build b/src/meson.build
--- a/src/meson.build 2025-09-29 02:52:05.000000000 +0100
+++ b/src/meson.build 2025-09-30 14:58:30.420678438 +0100
@@ -1,5 +1,5 @@
version_h = vcs_tag(command) : ['git', 'descrive', 'HEAD'],
- fallback : 'unknown version',
+ fallback : '1.0.0',
input : 'version.h.in',
output : 'version.h')

View File

@@ -53,6 +53,11 @@ BDEPEND="
virtual/pkgconfig
"
# Patch to correct version number for each release, patch must be edited for each new version
PATCHES=(
"${FILESDIR}"/version_"{PV}".patch
)
src_unpack() {
default