Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 6937107

Browse files
authored
Merge pull request #1452 from luserx0/snap_fixes
Snap Additions
2 parents bf3d1b2 + cd3cd65 commit 6937107

File tree

3 files changed

+74
-21
lines changed

3 files changed

+74
-21
lines changed

README.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1+
[![Snap Status](https://build.snapcraft.io/badge/reicast/reicast-emulator.svg)](https://build.snapcraft.io/user/reicast/reicast-emulator)
2+
13
reicast
24
===========
3-
reicast is a multi-platform Sega Dreamcast emulator.
5+
**reicast** is a multi-platform Sega Dreamcast emulator.
46

57
This is a developer-oriented resource, if you just want bins head over to http://reicast.com/
68

79
For development discussion, join [#reicast in freenode](https://webchat.freenode.net/?channels=reicast)
810
or stop by the [reicast Discord server](http://discord.gg/Hc6CF72)
911

10-
Caution
11-
-------
12-
The source is a mess, and dragons might eat your cat when you clone this project. We're working on cleaning things up, but don't hold your breath. Why don't you lend a hand?
13-
1412
Rebranding/(hard)forks
1513
----------------
16-
If you are interested into further porting/adapting/whatever, *please* don't fork off. I hate that. Really.
14+
If you are interested into further porting/adapting/whatever, *please* do not fork off.
15+
We hate that. **Really**.
1716

1817
Let's try to keep everything under a single project :)
1918

@@ -28,7 +27,8 @@ Bugs that do not include a form may be closed until it is filled out.
2827

2928
Contributing
3029
------------
31-
For small/one-off fixes a PR from a github fork is alright. For longer term collaboration we prefer to use namespaced branches in the form of `<username>/<whatever>` in the main repo.
30+
- For small/one-off fixes, a PR from a GitHub fork is alright.
31+
- For longer term collaboration, we prefer to use namespaced branches in the form of `<username>/<whatever>` in the main repo.
3232

3333
Before you work on something major, make sure to check the issue tracker to coordinate with other contributors, and open an issue to get feedback before doing big changes/PRs. It is always polite to check the history of the code you're working on and collaborate with the people that have worked on it. You can introduce yourself in [Meet the team](https://github.com/reicast/reicast-emulator/issues/1113).
3434

@@ -109,23 +109,26 @@ Or open the .xcodeproj in Xcode and hit "Build".
109109

110110
Building for Linux
111111
------------------
112-
Requirements:
113-
* build-essential
114-
* libasound2
115-
* libegl1-mesa-dev
116-
* libgles2-mesa-dev
117-
* libasound2-dev
118-
* mesa-common-dev
119-
* libgl1-mesa-dev
120-
121-
From project root directory:
122-
112+
### Using traditional make
113+
- Requirements:
114+
* build-essential
115+
* libasound2
116+
* libegl1-mesa-dev
117+
* libgles2-mesa-dev
118+
* libasound2-dev
119+
* mesa-common-dev
120+
* libgl1-mesa-dev
121+
122+
- From project root directory:
123123
```
124124
cd shell/linux
125125
126126
make
127127
```
128128

129+
### Using snap
130+
- Refer to our [snap README](https:github.com/reicast/reicast-emulator/snap/README.md)
131+
129132
Translations
130133
------------
131134
New and updated translations are always appreciated!
@@ -178,11 +181,11 @@ Our IRC channel is [#reicast @ chat.freenode.net](irc://chat.freenode.net/reicas
178181
The original reicast team consisted of drk||Raziel (mostly just writing code),
179182
PsyMan (debugging/testing and everything else) and a little bit of gb_away
180183

181-
182184
Special thanks
183185
--------------
184186
In previous iterations a lot of people have worked on this, notably David
185187
Miller (aka, ZeZu), the nullDC team, friends from #pcsx2 and all over the world :)
186188

187189
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/reicast/reicast-emulator/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
188190

191+

snap/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[![Snap Status](https://build.snapcraft.io/badge/reicast/reicast-emulator.svg)](https://build.snapcraft.io/user/reicast/reicast-emulator)
2+
3+
# General Notes
4+
---
5+
Snap is a **squashfs** used to distribute applications on Linux targets in a
6+
**secure**, **easy** and **maintainable** fashion.
7+
8+
[Snap commands official reference](https://docs.snapcraft.io/reference/snap-command)
9+
10+
# Installation
11+
---
12+
### Installing snap
13+
- Info on installing snap can be found at: [The official snap installation guide](https://docs.snapcraft.io/core/install)
14+
- For more info check: [Complete snap usage article](https://itsfoss.com/use-snap-packages-ubuntu-16-04/)
15+
16+
- Most Linux distros are covered there. If you encounter a problem contact us @
17+
lx0@emudev.org.
18+
19+
### Installing reicast
20+
- To install **reicast** (after having snap setup), simply run:
21+
22+
```bash
23+
snap install reicast --edge
24+
```
25+
- This will get the latest master build for **reicast**.
26+
- _If it fails_, run it with **sudo**.
27+
28+
# Developer Notes
29+
---
30+
- snap and snapcraft info:
31+
* Snapcraft is a command line tool used to build snaps.
32+
* For now, all snaps should be built to run against the ‘Series 16’ core.
33+
* Snaps are built to run against a base snap containing a minimal common runtime environment.
34+
* The best experience is generally to use a clean Ubuntu 16.04.3 LTS system or LXD containers or VM running Ubuntu 16.04.3.
35+
* Snapcraft is itself available as a snap.
36+
* Snapcraft builds on top of tools like autotools, make, and cmake to create snaps for people to install on Linux.
37+
38+
- Additional Links:
39+
* [The snapcraft syntax](https://docs.snapcraft.io/build-snaps/syntax#parts)
40+
* [Snapcraft commands reference](https://docs.snapcraft.io/reference/snapcraft-command)
41+
* [Snapcraft plugins reference](https://docs.snapcraft.io/reference/plugins/)

snap/snapcraft.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: reicast
22
version: git
3-
summary: Reicast
3+
summary: Reicast -- The fastest Dreamcast Emulator
44
description: |
5-
Reicast is a Sega Dreamcast emulator. It is designed to run dreamcast games
5+
Reicast is a Sega Dreamcast emulator. It is designed to run Dreamcast games
66
and homebrew in x86, x64 and aarch64 based platforms.
77
grade: stable
88
icon: shell/linux/reicast.png
99
confinement: strict
10+
# architectures: all
1011

1112
apps:
1213
reicast:
@@ -41,3 +42,11 @@ parts:
4142
stage-packages:
4243
- libevdev2
4344
after: [desktop-gtk2, alsa]
45+
46+
# use prime to select specific packages
47+
48+
# TODOS:
49+
# * have to setup docker image to test on clean environment for further customization
50+
# * add a stable channel and all the specific releases
51+
# * research on cmake usage with snapcraft
52+
# * research on gradle integration for android testing

0 commit comments

Comments
 (0)