minetest-luk3yx-dev/snapcraft.yaml
2021-09-01 13:31:47 +12:00

104 lines
2.5 KiB
YAML

name: minetest-luk3yx-dev
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.
grade: devel
confinement: strict
icon: snap/gui/minetest.svg
base: core18
architectures:
- build-on: amd64
- build-on: arm64
- build-on: armhf
- build-on: i386
- build-on: ppc64el
apps:
minetest:
command: launcher
plugs: [desktop, desktop-legacy, x11, network, network-bind, opengl,
audio-playback]
minetestserver:
command: launcher --server
plugs: [desktop, desktop-legacy, x11, network, network-bind, opengl,
audio-playback]
minetest-luk3yx-dev:
command: launcher
plugs: [desktop, desktop-legacy, x11, network, network-bind, opengl,
audio-playback]
parts:
launcher:
source: scripts
plugin: dump
minetestgame:
source: https://github.com/minetest/minetest_game.git
plugin: dump
source-branch: master
organize:
'*': 'share/minetest/games/minetest_game/'
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"
minetest:
source: https://github.com/minetest/minetest.git
source-branch: master
plugin: cmake
configflags: [-DRUN_IN_PLACE=FALSE]
after:
- irrlicht
build-packages:
- cmake
- gcc
- g++
- gettext
- libcurl4-gnutls-dev
- libfreetype6-dev
- libglu1-mesa-dev
- libjpeg-dev
- libleveldb-dev
- libluajit-5.1-dev
- libogg-dev
- libopenal-dev
- libpng-dev
- libpulse-dev
- libsqlite3-dev
- libvorbis-dev
- libx11-dev
- libzstd-dev
- zlib1g-dev
stage-packages:
- libgl1-mesa-dri
- libpulse0
- libcurl3-gnutls
- 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
- libx11-6
- libx11-xcb1