-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snapcraft package #765 #767
base: master
Are you sure you want to change the base?
Changes from 9 commits
4bd572f
ad324b1
a06bd78
63601cc
ff1354f
31a103d
9e3af53
2cb9f63
6bbe053
b7a0012
699af62
4934024
5942fad
1f81f80
749a94d
f85f8b7
3a32e7f
e2a862f
7c53d15
2695ce4
8356908
55659f4
7046aeb
8889e61
ea3108a
e78135e
3ab7355
341f45e
ac07677
595aad4
4364595
32f921f
b9738bd
05ed457
b33d25d
1f13d52
d187425
03d1326
7602862
64dcb0f
4d6e92d
9926814
426c742
6603196
8b3e9e4
a280093
137ea7f
7302ec3
89ceda1
4470165
c7f7d03
849db65
2d4f5b1
fa23355
2d307de
20c10ba
5940d78
6e484fb
d6eec04
0ffcf1f
025724a
efa66c6
d00429f
a1d8287
55f2c22
2f0134a
aca839d
6501ca7
07b9fe0
8f3e0d1
09a983c
04af1e8
9d4b521
a67e49c
084fe3e
a27df7d
b584447
6802271
c74fbf3
eeb7375
6e8f1f5
e1212ff
64ccbf1
5d9e6ee
43e6974
bd7387b
adbc624
a42d9ee
6cb5d40
a0e50b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.9.11 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# DeSmuME | ||
[![AppVeyor CI Build Status](https://ci.appveyor.com/api/projects/status/abfd7jm09wnmxyvu?svg=true)](https://ci.appveyor.com/project/zeromus/desmume) | ||
|
||
|
||
|
||
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/desmume-emulator) | ||
|
||
|
||
|
||
DeSmuME is a Nintendo DS emulator. | ||
|
||
http://desmume.org/download |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: desmume-emulator | ||
version: 0.9.11 | ||
summary: DeSmuME is a Nintendo DS Emulator | ||
description: | | ||
An open-source Nintendo DS Emulators. | ||
adopt-info: desmume-emulator | ||
grade: stable | ||
confinement: strict | ||
base: core22 | ||
compression: lzo | ||
architectures: | ||
- build-on: amd64 | ||
parts: | ||
desmume-emulator: | ||
source: http://fr.archive.ubuntu.com/ubuntu/pool/universe/d/desmume/desmume_0.9.11-3build2_amd64.deb | ||
plugin: dump | ||
source-type: deb | ||
override-build: | | ||
echo "CRAFT_PROJECT_DIR=$CRAFT_PROJECT_DIR" | ||
STABLE_TAG_CONFIG="$CRAFT_PROJECT_DIR/.stable_tag" | ||
TAG_REF=$(cat "${STABLE_TAG_CONFIG}") | ||
echo "TAG_REF=$TAG_REF" | ||
snapcraftctl set version="$TAG_REF" | ||
snapcraftctl build | ||
# snapcraftctl pull | ||
# last_commit="$(git describe | sed 's/^v//; s/-.*-/-/')" | ||
# snapcraftctl set-version "${last_commit}" | ||
# #sed -i.bak -e 's|Icon=desmume|Icon=/usr/share/icons/hicolor/scalable/apps/desmume.svg|g' src/wx/desmume.desktop | ||
stage-packages: | ||
- libasound2 | ||
- libc6 | ||
- libcairo2 | ||
- libgcc-s1 | ||
- libgcc-s1 | ||
- libgdk-pixbuf-2.0-0 | ||
- libgl1 | ||
- libglade2-0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. glade isnt needed, if you dont build the glade frontend (which is defunct anyway) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for the dependency packages I first used what was in the 0.9.11 package then added but I did not remove what was no longer useful |
||
- libglib2.0-0 | ||
- libglu1-mesa | ||
- libgtk2.0-0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you dont need to install gtk2-related packages if you use the meson recipe, it builds only gtk+3 support |
||
- libgtkglext1 | ||
- libosmesa6 | ||
- libpango-1.0-0 | ||
- libsdl1.2debian | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why sdl 1.2 ? we use sdl2. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok i replace by libsdl2-dev |
||
- libsoundtouch1 | ||
- libstdc++6 | ||
- libtinyxml2.6.2v5 | ||
- zlib1g | ||
build-packages: | ||
- g++ | ||
- gcc | ||
- gettext | ||
- make | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems to me that one of build-packages vs stage-packages are packages needed for the build vs packages that need to be shipped together with the app. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exact and I also need to see how to replace the dev with their standard package There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and I believe that the patches from the rpmfusion team of Fedora are precisely for the architectures which were released in failure of construction so I will see to add them https://github.com/rpmfusion/desmume/blob/master/desmume-0.9.13-aarch64.patch https://github.com/rpmfusion/desmume/blob/master/desmume-0.9.13-arm.patch https://github.com/rpmfusion/desmume/blob/master/desmume-0.9.13-formatstring.patch https://github.com/rpmfusion/desmume/blob/master/desmume-0.9.13-ppc64le.patch https://github.com/rpmfusion/desmume/blob/master/desmume-0.9.13-tinyxml.patch |
||
- cmake | ||
- nasm | ||
- pkg-config | ||
- git | ||
- zip | ||
- build-essential | ||
- intltool | ||
|
||
apps: | ||
desmume-emulator: | ||
plugs: | ||
- desktop | ||
- desktop-legacy | ||
- audio-playback | ||
- opengl | ||
- joystick | ||
- raw-usb | ||
- screen-inhibit-control | ||
- home | ||
- removable-media | ||
- network | ||
- wayland | ||
- x11 | ||
command: usr/games/desmume | ||
desktop: usr/share/applications/desmume.desktop | ||
extensions: [gnome] | ||
environment: | ||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
current release is 0.9.13.