Compare commits

...

5 Commits

Author SHA1 Message Date
Emanuele Sorce e2e53697ab Update README.md 2017-07-18 05:02:48 -06:00
Emanuele Sorce b62addf985 Saving space on the .cache directory
Copying there only the things really needed
2017-07-18 04:59:10 -06:00
Emanuele Sorce ae1ed170b0 Update README.md 2017-07-18 04:53:33 -06:00
Emanuele Sorce b0030ba82d Update app.desktop 2017-07-17 17:12:02 +02:00
Emanuele Sorce b91403717f Update app.desktop 2017-07-17 17:07:16 +02:00
3 changed files with 23 additions and 4 deletions

View File

@ -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.

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Name=Minetest
Comment=Minetes game!
Comment=Minetest game!
Type=Application
Icon=misc/minetest.svg
Exec=minetest-startup.sh

View File

@ -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