dmagnetic: fix hostbuild step and fix prefix path
Need to change prefix path before host build as the path will be built into the dMagnetic binary used to generate the ini file.
This commit is contained in:
parent
b7bf4d0d3d
commit
bb8f52c522
@ -10,7 +10,7 @@ TERMUX_PKG_HOSTBUILD=true
|
||||
termux_step_host_build() {
|
||||
cd $TERMUX_PKG_BUILDDIR
|
||||
make -j $TERMUX_MAKE_PROCESSES dMagnetic
|
||||
mv dMagnetic ../$TERMUX_PKG_HOSTBUILD_DIR/
|
||||
mv dMagnetic $TERMUX_PKG_HOSTBUILD_DIR/
|
||||
make clean
|
||||
}
|
||||
|
||||
|
@ -172,3 +172,19 @@
|
||||
.br
|
||||
[RANDOM]
|
||||
.br
|
||||
--- ../dMagnetic_helpscreens.c.orig 2021-02-11 07:39:20.978080747 +0000
|
||||
+++ ./src/toplevel/dMagnetic_helpscreens.c 2021-02-11 07:40:23.946167143 +0000
|
||||
@@ -67,10 +67,10 @@
|
||||
} tGameInfo;
|
||||
|
||||
const tPlatformInfo cdMagnetic_platformInfo[NUMPLATFORMS]={
|
||||
- {"mag", "/usr/local/share/games/magneticscrolls/", ".mag" ,0,0,1,1, PLATFORM_MAG, "-mag MAGFILE.mag"},
|
||||
- {"gfx", "/usr/local/share/games/magneticscrolls/", ".gfx" ,0,0,1,1, PLATFORM_GFX, "-gfx GFXFILE.gfx"},
|
||||
+ {"mag", "@TERMUX_PREFIX@/share/games/magneticscrolls/", ".mag" ,0,0,1,1, PLATFORM_MAG, "-mag MAGFILE.mag"},
|
||||
+ {"gfx", "@TERMUX_PREFIX@/share/games/magneticscrolls/", ".gfx" ,0,0,1,1, PLATFORM_GFX, "-gfx GFXFILE.gfx"},
|
||||
{"msdos", "/MSDOS/C/", "" ,1,0,1,0, PLATFORM_MSDOS, "-msdosdir DIRECTORY/"},
|
||||
- {"tworsc", "/usr/local/share/games/", "TWO.RSC",0,1,1,0, PLATFORM_TWORSC, "-tworsc DIRECTORY/TWO.RSC"},
|
||||
+ {"tworsc", "@TERMUX_PREFIX@/share/games/", "TWO.RSC",0,1,1,0, PLATFORM_TWORSC, "-tworsc DIRECTORY/TWO.RSC"},
|
||||
{"d64", "/8/", ".D64" ,1,0,2,0, PLATFORM_D64, "-d64 IMAGE1.d64,IMAGE2.d64"},
|
||||
{"amstradcpc", "/dsk/amstradcpc/", ".DSK" ,1,0,2,0, PLATFORM_AMSTRADCPC, "-amstradcpc IMAGE1.DSK,IMAGE2.DSK"},
|
||||
{"spectrum", "/dsk/spectrum/", ".DSK" ,0,0,1,0, PLATFORM_SPECTRUM, "-spectrum IMAGE.DSK"},
|
Loading…
Reference in New Issue
Block a user