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
030c5027
Verified
Commit
030c5027
authored
Mar 07, 2019
by
Alex Gleason
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Docker build
Fixes
#17
parent
4637e0e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
README.md
README.md
+3
-2
snap/snapcraft.yaml
snap/snapcraft.yaml
+9
-1
No files found.
README.md
View file @
030c5027
...
...
@@ -6,6 +6,7 @@ Data files for packaging the [Solarus Snap image](https://snapcraft.io/solarus)
*
Ensure that
[
snapd is installed
](
https://docs.snapcraft.io/installing-snapd/6735
)
(
Ubuntu
has this by default).
*
Run
`sudo snap install solarus`
*
(optional) Run
`sudo snap connect solarus:joystick`
to enable controller support.
You should now have icons in your applications menu for the Quest Editor and Launcher programs.
...
...
@@ -21,8 +22,8 @@ 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
)
and snapcraft
.
*
To build,
simply run
`snapcraft
`
.
*
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"
`
.
*
To test your build, run:
`sudo snap install solarus_*.snap --dangerous`
### Publishing
...
...
snap/snapcraft.yaml
View file @
030c5027
...
...
@@ -44,6 +44,14 @@ apps:
-
joystick
parts
:
prepare
:
plugin
:
nil
prepare
:
|
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
apt-get update
apt-get install -y libsdl2-2.0-0
prime
:
[
-*
]
launcher
:
plugin
:
cmake
source-type
:
git
...
...
@@ -64,7 +72,7 @@ parts:
-
qttools5-dev
-
qttools5-dev-tools
-
libglm-dev
after
:
[
desktop-qt5
]
after
:
[
prepare
,
desktop-qt5
]
override-prime
:
|
set -eu
snapcraftctl prime
...
...
Alex Gleason
@alexgleason
mentioned in issue
#26 (closed)
·
Oct 05, 2019
mentioned in issue
#26 (closed)
mentioned in issue #26
Toggle commit list
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