Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
solarus-snap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Solarus Games
solarus-snap
Commits
ebd4c5be
Verified
Commit
ebd4c5be
authored
Nov 12, 2019
by
Alex Gleason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Building 1.6.2
parent
d9d0dc33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
107 additions
and
15 deletions
+107
-15
README.md
README.md
+3
-2
snap/snapcraft.yaml
snap/snapcraft.yaml
+104
-13
No files found.
README.md
View file @
ebd4c5be
...
...
@@ -22,8 +22,9 @@ You should now have icons in your applications menu for the Quest Editor and Lau
### Building
*
First
[
install snapd
](
https://docs.snapcraft.io/installing-snapd/6735
)
, snapcraft, and
[
Docker
](
https://docs.docker.com/install/
)
.
*
To build, run
`docker run --rm -v "$PWD":/build -w /build snapcore/snapcraft bash -c "apt update && snapcraft"`
.
*
[
Install snapd
](
https://docs.snapcraft.io/installing-snapd/6735
)
.
*
Install snapcraft (
`sudo snap install snapcraft`
).
*
To build, run
`snapcraft`
.
*
To test your build, run:
`sudo snap install solarus_*.snap --dangerous`
### Publishing
...
...
snap/snapcraft.yaml
View file @
ebd4c5be
...
...
@@ -7,8 +7,8 @@ description: |
of platforms. Solarus also features a game editor called Solarus Quest Editor,
written in C++ with Qt to help you create your game.
base
:
core18
confinement
:
strict
grade
:
stable
apps
:
launcher
:
...
...
@@ -49,17 +49,6 @@ apps:
-
joystick
parts
:
upgradelibs
:
plugin
:
nil
override-build
:
|
# SDL upgrade
echo "deb http://ppa.launchpad.net/litenstein/sdl2-xenial/ubuntu xenial main" | tee /etc/apt/sources.list.d/litenstein-ubuntu-sdl2-xenial-xenial.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E0A4B32AA748B9D11C4528301A509285F2EA337
# Install updated packages
apt-get update
apt-get install -y libsdl2-2.0-0
prime
:
[
-*
]
launcher
:
plugin
:
cmake
source-type
:
git
...
...
@@ -80,7 +69,58 @@ parts:
-
qttools5-dev
-
qttools5-dev-tools
-
libglm-dev
after
:
[
upgradelibs
,
desktop-qt5
]
stage-packages
:
-
libasound2
-
libasyncns0
-
libdouble-conversion1
-
libflac8
-
libfreetype6
-
libgl1
-
libglvnd0
-
libglx0
-
libgraphite2-3
-
libharfbuzz0b
-
libicu60
-
libjbig0
-
libjpeg-turbo8
-
libluajit-5.1-2
-
libmodplug1
-
libogg0
-
libopenal1
-
libphysfs1
-
libpng16-16
-
libpulse0
-
libqt5core5a
-
libqt5gui5
-
libqt5widgets5
-
libsdl2-2.0-0
-
libsdl2-image-2.0-0
-
libsdl2-ttf-2.0-0
-
libsndfile1
-
libsndio6.1
-
libtiff5
-
libvorbis0a
-
libvorbisenc2
-
libvorbisfile3
-
libwayland-client0
-
libwayland-cursor0
-
libwayland-egl1
-
libwebp6
-
libx11-6
-
libxau6
-
libxcb1
-
libxcursor1
-
libxdmcp6
-
libxext6
-
libxfixes3
-
libxi6
-
libxinerama1
-
libxkbcommon0
-
libxrandr2
-
libxrender1
-
libxss1
-
libxxf86vm1
after
:
[
desktop-qt5
]
override-prime
:
|
set -eu
snapcraftctl prime
...
...
@@ -98,6 +138,57 @@ parts:
-
qttools5-dev
-
qttools5-dev-tools
-
libglm-dev
stage-packages
:
-
libasound2
-
libasyncns0
-
libdouble-conversion1
-
libflac8
-
libfreetype6
-
libgl1
-
libglvnd0
-
libglx0
-
libgraphite2-3
-
libharfbuzz0b
-
libicu60
-
libjbig0
-
libjpeg-turbo8
-
libluajit-5.1-2
-
libmodplug1
-
libogg0
-
libopenal1
-
libphysfs1
-
libpng16-16
-
libpulse0
-
libqt5core5a
-
libqt5gui5
-
libqt5widgets5
-
libsdl2-2.0-0
-
libsdl2-image-2.0-0
-
libsdl2-ttf-2.0-0
-
libsndfile1
-
libsndio6.1
-
libtiff5
-
libvorbis0a
-
libvorbisenc2
-
libvorbisfile3
-
libwayland-client0
-
libwayland-cursor0
-
libwayland-egl1
-
libwebp6
-
libx11-6
-
libxau6
-
libxcb1
-
libxcursor1
-
libxdmcp6
-
libxext6
-
libxfixes3
-
libxi6
-
libxinerama1
-
libxkbcommon0
-
libxrandr2
-
libxrender1
-
libxss1
-
libxxf86vm1
after
:
[
desktop-qt5
,
launcher
]
override-prime
:
|
set -eu
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment