-
Notifications
You must be signed in to change notification settings - Fork 587
snapcraft package #765 #767
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
Open
andykimpe
wants to merge
90
commits into
TASEmulators:master
Choose a base branch
from
andykimpe:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
4bd572f
Create snapcraft.yaml
andykimpe1 ad324b1
Update snapcraft.yaml
andykimpe1 a06bd78
Update snapcraft.yaml
andykimpe1 63601cc
Update README.md
andykimpe1 ff1354f
Update snapcraft.yaml
andykimpe1 31a103d
Update snapcraft.yaml
andykimpe1 9e3af53
Update snapcraft.yaml
andykimpe1 2cb9f63
Create .stable_tag
andykimpe1 6bbe053
Update snapcraft.yaml
andykimpe1 b7a0012
Create NEWS
andykimpe1 699af62
Create changelog
andykimpe1 4934024
Create README.Debian
andykimpe1 5942fad
Create README.source
andykimpe1 1f81f80
Create build.sh
andykimpe1 749a94d
Update build.sh
andykimpe1 f85f8b7
Create compat
andykimpe1 3a32e7f
Create configure.sh
andykimpe1 e2a862f
Create control
andykimpe1 7c53d15
Create copyright
andykimpe1 2695ce4
Create install.sh
andykimpe1 8356908
Create rules
andykimpe1 55659f4
Create format
andykimpe1 7046aeb
Create watch
andykimpe1 8889e61
Update configure.sh
andykimpe1 ea3108a
Update rules
andykimpe1 e78135e
Update rules
andykimpe1 3ab7355
Update install.sh
andykimpe1 341f45e
Update .stable_tag
andykimpe1 ac07677
Update control
andykimpe1 595aad4
Update rules
andykimpe1 4364595
Delete debian/build.sh
andykimpe1 32f921f
Delete debian/configure.sh
andykimpe1 b9738bd
Delete debian/install.sh
andykimpe1 05ed457
Create 6508c2b115f954afece4243e36e9e35e1d459ea8.patch
andykimpe1 b33d25d
Create desmume-0.9.13-aarch64.patch
andykimpe1 1f13d52
Create desmume-0.9.13-arm.patch
andykimpe1 d187425
Create desmume-0.9.13-formatstring.patch
andykimpe1 03d1326
Create desmume-0.9.13-ppc64le.patch
andykimpe1 7602862
Create desmume-0.9.13-tinyxml.patch
andykimpe1 64dcb0f
Create series
andykimpe1 4d6e92d
Update compat
andykimpe1 9926814
Update rules
andykimpe1 426c742
Update changelog
andykimpe1 6603196
Delete debian/changelog
andykimpe1 8b3e9e4
Delete debian/patches/6508c2b115f954afece4243e36e9e35e1d459ea8.patch
andykimpe1 a280093
Delete debian/patches/desmume-0.9.13-aarch64.patch
andykimpe1 137ea7f
Delete debian/patches/desmume-0.9.13-arm.patch
andykimpe1 7302ec3
Delete debian/patches/desmume-0.9.13-formatstring.patch
andykimpe1 89ceda1
Delete debian/patches/desmume-0.9.13-ppc64le.patch
andykimpe1 4470165
Delete debian/patches/desmume-0.9.13-tinyxml.patch
andykimpe1 c7f7d03
Delete debian/patches/series
andykimpe1 849db65
Delete debian/source/format
andykimpe1 2d4f5b1
Delete debian/NEWS
andykimpe1 fa23355
Delete debian/README.Debian
andykimpe1 2d307de
Delete debian/README.source
andykimpe1 20c10ba
Delete debian/compat
andykimpe1 5940d78
Delete debian/control
andykimpe1 6e484fb
Delete debian/copyright
andykimpe1 d6eec04
Delete debian/rules
andykimpe1 0ffcf1f
Delete debian/watch
andykimpe1 025724a
Update snapcraft.yaml
andykimpe1 efa66c6
Update snapcraft.yaml
andykimpe1 d00429f
Rename .stable_tag to snap/.stable_tag
andykimpe1 a1d8287
Create desmume-0.9.13-aarch64.patch
andykimpe1 55f2c22
Create desmume-0.9.13-arm.patch
andykimpe1 2f0134a
Create desmume-0.9.13-formatstring.patch
andykimpe1 aca839d
Create desmume-0.9.13-ppc64le.patch
andykimpe1 6501ca7
Create desmume-0.9.13-tinyxml.patch
andykimpe1 07b9fe0
Update and rename snapcraft.yaml to snap/snapcraft.yaml
andykimpe1 8f3e0d1
Rename snap/patches/desmume-0.9.13-aarch64.patch to patches/desmume-0…
andykimpe1 09a983c
Rename snap/patches/desmume-0.9.13-arm.patch to patches/desmume-0.9.1…
andykimpe1 04af1e8
Rename snap/patches/desmume-0.9.13-formatstring.patch to patches/desm…
andykimpe1 9d4b521
Rename snap/patches/desmume-0.9.13-ppc64le.patch to patches/desmume-0…
andykimpe1 a67e49c
Rename snap/patches/desmume-0.9.13-tinyxml.patch to patches/desmume-0…
andykimpe1 084fe3e
Rename snap/.stable_tag to .stable_tag
andykimpe1 a27df7d
Rename snap/snapcraft.yaml to snapcraft.yaml
andykimpe1 b584447
Update snapcraft.yaml
andykimpe1 6802271
Update README.md
andykimpe1 c74fbf3
Update README.md
andykimpe1 eeb7375
Update snapcraft.yaml
andykimpe1 6e8f1f5
Update snapcraft.yaml
andykimpe1 e1212ff
Update snapcraft.yaml
andykimpe1 64ccbf1
Update snapcraft.yaml
andykimpe1 5d9e6ee
Delete patches/desmume-0.9.13-aarch64.patch
andykimpe1 43e6974
Delete patches/desmume-0.9.13-arm.patch
andykimpe1 bd7387b
Delete patches/desmume-0.9.13-formatstring.patch
andykimpe1 adbc624
Delete patches/desmume-0.9.13-ppc64le.patch
andykimpe1 a42d9ee
Delete patches/desmume-0.9.13-tinyxml.patch
andykimpe1 6cb5d40
Update snapcraft.yaml
andykimpe1 a0e50b3
Update snapcraft.yaml
andykimpe1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.9.13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# DeSmuME | ||
[](https://ci.appveyor.com/project/zeromus/desmume) | ||
|
||
|
||
|
||
[](https://snapcraft.io/desmume-emulator) | ||
|
||
|
||
|
||
DeSmuME is a Nintendo DS emulator. | ||
|
||
http://desmume.org/download |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
name: desmume-emulator | ||
version: 0.9.13 | ||
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 | ||
parts: | ||
desmume-emulator: | ||
source: https://github.com/TASEmulators/desmume/archive/refs/tags/release_0_9_13.tar.gz | ||
plugin: nil | ||
override-build: | | ||
wget https://github.com/rpmfusion/desmume/raw/f39/desmume-0.9.13-aarch64.patch -O ./desmume-0.9.13-aarch64.patch | ||
patch -p1 < ./desmume-0.9.13-aarch64.patch | ||
rm -f ./desmume-0.9.13-aarch64.patch | ||
wget https://github.com/rpmfusion/desmume/raw/f39/desmume-0.9.13-arm.patch -O ./desmume-0.9.13-arm.patch | ||
patch -p1 < ./desmume-0.9.13-arm.patch | ||
rm -f ./desmume-0.9.13-arm.patch | ||
wget https://github.com/rpmfusion/desmume/raw/f39/desmume-0.9.13-formatstring.patch -O ./desmume-0.9.13-formatstring.patch | ||
patch -p1 < ./desmume-0.9.13-formatstring.patch | ||
rm -f ./desmume-0.9.13-formatstring.patch | ||
wget https://github.com/rpmfusion/desmume/raw/f39/desmume-0.9.13-ppc64le.patch -O ./desmume-0.9.13-ppc64le.patch | ||
patch -p1 < ./desmume-0.9.13-ppc64le.patch | ||
rm -f ./desmume-0.9.13-ppc64le.patch | ||
wget https://github.com/rpmfusion/desmume/raw/f39/desmume-0.9.13-tinyxml.patch -O ./desmume-0.9.13-tinyxml.patch | ||
patch -p1 < ./desmume-0.9.13-tinyxml.patch | ||
rm -f ./desmume-0.9.13-tinyxml.patch | ||
sed -i 's|Icon=org.desmume.DeSmuME|Icon=${SNAP}/usr/share/icons/hicolor/scalable/apps/org.desmume.DeSmuME.svg|g' desmume/src/frontend/posix/gtk/org.desmume.DeSmuME.desktop | ||
LDFLAGS="" CFLAGS="-O3" CXXFLAGS="-O3" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="-O3" DEB_CXXFLAGS_SET="-O3" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" meson setup --prefix=${CRAFT_PART_INSTALL}/usr desmume/src/frontend/posix/build desmume/src/frontend/posix | ||
LDFLAGS="" CFLAGS="-O3" CXXFLAGS="-O3" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="-O3" DEB_CXXFLAGS_SET="-O3" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" ninja -C desmume/src/frontend/posix/build | ||
LDFLAGS="" CFLAGS="-O3" CXXFLAGS="-O3" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="-O3" DEB_CXXFLAGS_SET="-O3" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" ninja install -C desmume/src/frontend/posix/build | ||
stage-packages: | ||
- libasound2 | ||
- libc6 | ||
- libcairo2 | ||
- libgcc-s1 | ||
- libgdk-pixbuf-2.0-0 | ||
- libgl1 | ||
- libglib2.0-0 | ||
- libglu1-mesa | ||
- libgtkglext1 | ||
- libosmesa6 | ||
- libpango-1.0-0 | ||
- libsdl2-2.0-0 | ||
- libsoundtouch1 | ||
- libstdc++6 | ||
- libtinyxml2.6.2v5 | ||
- zlib1g | ||
- gettext | ||
- pkg-config | ||
- git | ||
- zip | ||
- libosmesa6 | ||
- libagg2 | ||
- libgtkglext1 | ||
- libsoundtouch1 | ||
- libsdl2-2.0-0 | ||
- libpcap0.8 | ||
- libgtk-3-0 | ||
- libgtk-3-bin | ||
- libgtk-3-common | ||
build-packages: | ||
- g++ | ||
- gcc | ||
- gettext | ||
- make | ||
- cmake | ||
- nasm | ||
- pkg-config | ||
- git | ||
- zip | ||
- build-essential | ||
- intltool | ||
- libosmesa6-dev | ||
- libagg2-dev | ||
- intltool | ||
- quilt | ||
- libgtkglext1-dev | ||
- libtinyxml-dev | ||
- libsoundtouch-dev | ||
- dh-autoreconf | ||
- meson | ||
- libsdl2-dev | ||
- libpcap-dev | ||
- libgtk-3-dev | ||
- patch | ||
- wget | ||
|
||
apps: | ||
desmume-emulator: | ||
plugs: | ||
- desktop | ||
- desktop-legacy | ||
- audio-playback | ||
- opengl | ||
- joystick | ||
- raw-usb | ||
- screen-inhibit-control | ||
- home | ||
- removable-media | ||
- network | ||
- wayland | ||
- x11 | ||
command: usr/bin/desmume | ||
desktop: usr/share/applications/org.desmume.DeSmuME.desktop | ||
extensions: [gnome] | ||
environment: | ||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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.
you only need cmake, make, nasm, gcc, etc in the former category, not in both.
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.
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 comment
The 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