minetest-luk3yx-dev/snapcraft.yaml

113 lines
3.1 KiB
YAML
Raw Normal View History

2017-06-05 23:35:47 -07:00
name: minetest-luk3yx-dev
2021-01-23 19:32:29 -08:00
version: "git"
summary: "luk3yx's unofficial Minetest builds."
description: |
Minetest is a Minecraft-inspired game written from scratch and licensed
under the LGPL (version 2.1 or later). It supports both survival and
creative modes along with multiplayer support, dynamic lighting, and an
"infinite" map generator.
2018-07-25 15:27:00 -07:00
grade: devel
confinement: strict
icon: snap/gui/minetest.svg
2019-10-15 12:59:06 -07:00
base: core18
2021-03-09 13:52:20 -08:00
architectures:
- build-on: amd64
- build-on: arm64
- build-on: armhf
- build-on: i386
- build-on: ppc64el
apps:
minetest:
command: launcher
2019-10-15 12:59:06 -07:00
plugs: [desktop, desktop-legacy, x11, network, network-bind, opengl,
audio-playback]
minetestserver:
command: launcher --server
2019-10-15 12:59:06 -07:00
plugs: [desktop, desktop-legacy, x11, network, network-bind, opengl,
audio-playback]
2017-11-22 14:26:40 -08:00
minetest-luk3yx-dev:
command: launcher
2019-10-15 12:59:06 -07:00
plugs: [desktop, desktop-legacy, x11, network, network-bind, opengl,
audio-playback]
parts:
launcher:
2021-03-09 13:52:20 -08:00
source: scripts
plugin: dump
minetestgame:
source: https://github.com/minetest/minetest_game.git
plugin: dump
2018-07-25 15:33:49 -07:00
source-branch: master
organize:
'*': 'share/minetest/games/minetest_game/'
2021-03-09 13:52:20 -08:00
irrlicht:
source: https://github.com/minetest/irrlicht.git
source-branch: master
plugin: cmake
override-pull: |
snapcraftctl pull
tag=$(git describe --tags $(git rev-list --tags --max-count=1))
git checkout "$tag"
2022-06-16 17:43:27 -07:00
curl https://github.com/appgurueu/irrlicht/commit/0f1bff1da4e38daeee944ff12d1a916373cdfbc2.patch > line-drawing.patch
echo 'f54cea7dd9f18ddcda6a7f5e80c3e0f8c4256f8eb2ee5779f80084ef5c1652f7 line-drawing.patch' | sha256sum -c && git apply line-drawing.patch
2022-07-26 16:50:28 -07:00
curl https://github.com/luk3yx/irrlicht/commit/66bdf09885cbf909e642d60f5be2797e21321ea2.patch > line-drawing-2.patch
echo '4b50a56fb8777a5a1602494d1840a3b726a95ff56985b7bf67f4a8dce4bcbb6d line-drawing-2.patch' | sha256sum -c && git apply line-drawing-2.patch
2022-07-26 16:50:50 -07:00
rm -v line-drawing.patch line-drawing-2.patch
minetest:
source: https://github.com/minetest/minetest.git
2018-07-25 15:33:49 -07:00
source-branch: master
plugin: cmake
configflags: [-DRUN_IN_PLACE=FALSE]
2021-03-09 13:52:20 -08:00
after:
- irrlicht
build-packages:
- cmake
2022-06-16 17:43:27 -07:00
- curl
- gcc
- g++
- gettext
- libcurl4-gnutls-dev
- libfreetype6-dev
- libglu1-mesa-dev
- libjpeg-dev
- libleveldb-dev
- libluajit-5.1-dev
- libogg-dev
- libopenal-dev
2017-11-22 14:26:40 -08:00
- libpng-dev
- libpulse-dev
- libsqlite3-dev
- libvorbis-dev
2022-07-26 16:42:55 -07:00
- libxi-dev
- libx11-dev
2021-08-31 18:31:47 -07:00
- libzstd-dev
- zlib1g-dev
stage-packages:
- libgl1-mesa-dri
- libpulse0
2017-11-22 14:26:40 -08:00
- libcurl3-gnutls
2019-02-22 10:43:52 -08:00
- libgl1-mesa-glx
- libxshmfence1
- libxcb-sync1
- libxcb-present0
- libxcb-glx0
- libxcb-dri3-0
- libxcb-dri2-0
- libvorbisfile3
- libsnappy1v5
- libfreetype6
- libopenal1
- libluajit-5.1-2
- libleveldb1v5
- libjpeg-turbo8
- libxxf86vm1
- libxfixes3
- libxext6
- libxdamage1
2022-07-26 17:01:02 -07:00
- libxi6
2019-02-22 10:43:52 -08:00
- libx11-6
- libx11-xcb1