new package: 1oom
This commit is contained in:
parent
6a39e9564f
commit
3a14b06f33
23
packages/1oom/build.sh
Normal file
23
packages/1oom/build.sh
Normal file
@ -0,0 +1,23 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://gitlab.com/Tapani_/1oom
|
||||
TERMUX_PKG_DESCRIPTION="A Master of Orion (1993) game engine recreation"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.0
|
||||
TERMUX_PKG_SRCURL=https://gitlab.com/Tapani_/1oom/-/archive/v${TERMUX_PKG_VERSION}/1oom-v${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=a4273966dde5f3296c08f903ad2e12f522b7d536919bc00e4a0a1d69d457ced0
|
||||
TERMUX_PKG_DEPENDS="readline"
|
||||
TERMUX_PKG_GROUPS="games"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--disable-static
|
||||
--disable-uiclassic
|
||||
--disable-hwsdl1
|
||||
--disable-hwsdl1audio
|
||||
--disable-hwsdl1gl
|
||||
--disable-hwsdl2
|
||||
--disable-hwsdl2audio
|
||||
--disable-hwalleg4
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
13
packages/1oom/src-os-unix-os.c.patch
Normal file
13
packages/1oom/src-os-unix-os.c.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- a/src/os/unix/os.c
|
||||
+++ b/src/os/unix/os.c
|
||||
@@ -79,8 +79,8 @@
|
||||
all_data_paths[i++] = util_concat(p, "/.local/share/1oom", NULL);;
|
||||
}
|
||||
}
|
||||
- all_data_paths[i++] = lib_stralloc("/usr/share/1oom");
|
||||
- all_data_paths[i++] = lib_stralloc("/usr/local/share/1oom");
|
||||
+ all_data_paths[i++] = lib_stralloc("@TERMUX_PREFIX@/share/1oom");
|
||||
+ all_data_paths[i++] = lib_stralloc("@TERMUX_PREFIX@/local/share/1oom");
|
||||
all_data_paths[i++] = lib_stralloc(".");
|
||||
all_data_paths[i] = NULL;
|
||||
num_data_paths = i;
|
Loading…
Reference in New Issue
Block a user