Compare commits
5 Commits
7467fbe3fd
...
e2e53697ab
Author | SHA1 | Date |
---|---|---|
Emanuele Sorce | e2e53697ab | |
Emanuele Sorce | b62addf985 | |
Emanuele Sorce | ae1ed170b0 | |
Emanuele Sorce | b0030ba82d | |
Emanuele Sorce | b91403717f |
16
README.md
16
README.md
|
@ -1,2 +1,16 @@
|
|||
# minetest-ubuntu-touch
|
||||
Package minetest in a click and run it in ubuntu touch device
|
||||
Package minetest in a click for ubuntu touch devices
|
||||
|
||||
## Building and packaging
|
||||
|
||||
Tested environment: libertine container inside target environment.
|
||||
|
||||
Clone the minetest 0.4.16 repository.
|
||||
Copy the file in this repo in the root of the repo tree.
|
||||
create a directory called sharedobjects in the root of the repo tree and put inside the shared library requested: libIrrlicht.so.1.8, libopenal.so.1, libvorbisfile.so.3, copyed from /usr/lib/arm-linux-gnueabihf/.
|
||||
From minetest repository README, install all the dependencies.
|
||||
Then run in sequence build.sh and package.sh. You'll get the .click package file there.
|
||||
|
||||
## Known Issues
|
||||
|
||||
As LibIrrlicht doesn't support yet running on X.orgless environment, everything here is just useless because at the end of the day the graphic engine will just crash. A solution might be adding the 'X-Ubuntu-XMir-Enable=TRUE' in the desktop file, but it doesn't work.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Minetest
|
||||
Comment=Minetes game!
|
||||
Comment=Minetest game!
|
||||
Type=Application
|
||||
Icon=misc/minetest.svg
|
||||
Exec=minetest-startup.sh
|
||||
|
|
|
@ -2,8 +2,13 @@
|
|||
LD_LIBRARY_PATH="sharedobjects/"
|
||||
if [ ! -f /home/phablet/.cache/minetest.emanuelesorce/debug.txt ]; then
|
||||
mkdir /home/phablet/.cache/minetest.emanuelesorce
|
||||
echo "First launch! Copying files..."
|
||||
cp -r * /home/phablet/.cache/minetest.emanuelesorce/
|
||||
echo "First launch! Installing files..."
|
||||
cp -r bin /home/phablet/.cache/minetest.emanuelesorce/
|
||||
cp -r games /home/phablet/.cache/minetest.emanuelesorce/
|
||||
cp -r mods /home/phablet/.cache/minetest.emanuelesorce/
|
||||
cp -r textures /home/phablet/.cache/minetest.emanuelesorce/
|
||||
cp -r po /home/phablet/.cache/minetest.emanuelesorce/
|
||||
cp -r fonts /home/phablet/.cache/minetest.emanuelesorce/
|
||||
fi
|
||||
cd /home/phablet/.cache/minetest.emanuelesorce
|
||||
exec bin/minetest
|
||||
|
|
Loading…
Reference in New Issue