mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-25 03:49:46 +00:00
use haiku native threads
This commit is contained in:
parent
1effcd1e6d
commit
9ba3fabfb6
7 changed files with 96 additions and 8 deletions
26
project/haiku/createpkg.sh
Executable file
26
project/haiku/createpkg.sh
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir build-haiku
|
||||
cd build-haiku
|
||||
cmake ..
|
||||
make -j10
|
||||
|
||||
rm -rf pkg
|
||||
|
||||
mkdir pkg
|
||||
mkdir -p ./pkg/apps/
|
||||
mkdir -p ./pkg/data/minecraftpe
|
||||
mkdir -p ./pkg/settings/minecraftpe
|
||||
mkdir -p ./pkg/data/deskbar/menu/Applications/
|
||||
mkdir -p ./pkg/data/deskbar/menu/Games/
|
||||
|
||||
cp -rv ../project/haiku/pkg ./
|
||||
cp -v MinecraftPE ./pkg/apps/minecraftpe
|
||||
cp -v MinecraftPE-server ./pkg/apps/minecraftpe-server
|
||||
cp -rv data ./pkg/data/minecraftpe
|
||||
|
||||
ln -s ../../../../apps/minecraftpe ./pkg/data/deskbar/menu/Applications/minecraftpe
|
||||
ln -s ../../../../apps/minecraftpe ./pkg/data/deskbar/menu/Games/minecraftpe
|
||||
|
||||
|
||||
package create -C pkg minecraftpe-0.6.1-x86_64.hpkg
|
||||
27
project/haiku/pkg/.PackageInfo
Normal file
27
project/haiku/pkg/.PackageInfo
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name minecraftpe
|
||||
version 0.6.1-1
|
||||
architecture x86_64
|
||||
summary "Minecraft Pocket Edition"
|
||||
description "A port of minecraft pocket edition to Haiku"
|
||||
packager "Li <li@silica.codes>"
|
||||
vendor "Mojang"
|
||||
copyrights {
|
||||
"Copyright (C) 2026 by Mojang"
|
||||
}
|
||||
licenses {
|
||||
"MIT"
|
||||
}
|
||||
provides {
|
||||
minecraftpe = 0.6.1-1
|
||||
app:minecraftpe = 0.6.1-1
|
||||
}
|
||||
requires {
|
||||
glfw >= 3.3.7-1
|
||||
openal >= 1.21.1-5
|
||||
}
|
||||
global-writable-files {
|
||||
"settings/minecraftpe" directory keep-old
|
||||
}
|
||||
urls {
|
||||
"https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1/"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue