forked from Kolyah35/minecraft-pe-0.6.1
use haiku native threads
This commit is contained in:
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/"
|
||||
}
|
||||
Reference in New Issue
Block a user