1
0
mirror of https://github.com/TASVideos/desmume synced 2024-07-01 07:14:37 +00:00

Compare commits

...

93 Commits

Author SHA1 Message Date
Kimpe Andy
99435534e2
Merge a0e50b380c into 90d0abdae0 2024-06-03 15:32:15 -04:00
zeromus
90d0abdae0
Merge pull request #792 from atsampson/xopen-strdup
libretro-common: fix implicit declarations
2024-05-13 07:59:48 -05:00
Adam Sampson
738298a9e8 libretro-common: fix implicit declarations
strdup and realpath are only declared by glibc's headers if
_XOPEN_SOURCE >= 500.
2024-05-13 12:47:10 +01:00
Kimpe Andy
a0e50b380c
Update snapcraft.yaml 2024-02-09 14:25:25 +01:00
Kimpe Andy
6cb5d40d74
Update snapcraft.yaml 2024-02-09 14:19:54 +01:00
Kimpe Andy
a42d9ee79d
Delete patches/desmume-0.9.13-tinyxml.patch 2024-02-09 14:08:40 +01:00
Kimpe Andy
adbc6245bb
Delete patches/desmume-0.9.13-ppc64le.patch 2024-02-09 14:08:30 +01:00
Kimpe Andy
bd7387b8ca
Delete patches/desmume-0.9.13-formatstring.patch 2024-02-09 14:08:21 +01:00
Kimpe Andy
43e6974a7b
Delete patches/desmume-0.9.13-arm.patch 2024-02-09 14:08:07 +01:00
Kimpe Andy
5d9e6eedb9
Delete patches/desmume-0.9.13-aarch64.patch 2024-02-09 14:07:54 +01:00
Kimpe Andy
64ccbf1e34
Update snapcraft.yaml 2024-02-02 15:19:20 +01:00
Kimpe Andy
e1212ff761
Update snapcraft.yaml 2024-02-02 15:00:14 +01:00
Kimpe Andy
6e8f1f58a4
Update snapcraft.yaml 2024-02-02 14:45:52 +01:00
Kimpe Andy
eeb7375eda
Update snapcraft.yaml 2024-02-02 10:28:55 +01:00
Kimpe Andy
c74fbf3d97
Update README.md
link snap://desmume-emulator not work on github

github change url for the image
2024-02-02 08:56:45 +01:00
Kimpe Andy
68022715db
Update README.md
change snap url for auto open snapd in desktop
2024-02-02 08:55:41 +01:00
Kimpe Andy
b5844471d9
Update snapcraft.yaml 2024-02-02 07:52:02 +01:00
Kimpe Andy
a27df7daf9
Rename snap/snapcraft.yaml to snapcraft.yaml 2024-02-02 07:27:01 +01:00
Kimpe Andy
084fe3ec36
Rename snap/.stable_tag to .stable_tag 2024-02-02 07:26:46 +01:00
Kimpe Andy
a67e49c8e0
Rename snap/patches/desmume-0.9.13-tinyxml.patch to patches/desmume-0.9.13-tinyxml.patch 2024-02-02 07:26:15 +01:00
Kimpe Andy
9d4b52179d
Rename snap/patches/desmume-0.9.13-ppc64le.patch to patches/desmume-0.9.13-ppc64le.patch 2024-02-02 07:25:27 +01:00
Kimpe Andy
04af1e8878
Rename snap/patches/desmume-0.9.13-formatstring.patch to patches/desmume-0.9.13-formatstring.patch 2024-02-02 07:25:01 +01:00
Kimpe Andy
09a983cfb4
Rename snap/patches/desmume-0.9.13-arm.patch to patches/desmume-0.9.13-arm.patch 2024-02-02 07:24:30 +01:00
Kimpe Andy
8f3e0d1d5d
Rename snap/patches/desmume-0.9.13-aarch64.patch to patches/desmume-0.9.13-aarch64.patch 2024-02-02 07:24:01 +01:00
Kimpe Andy
07b9fe00e2
Update and rename snapcraft.yaml to snap/snapcraft.yaml 2024-02-02 07:14:15 +01:00
Kimpe Andy
6501ca7120
Create desmume-0.9.13-tinyxml.patch 2024-02-02 07:13:26 +01:00
Kimpe Andy
aca839dc86
Create desmume-0.9.13-ppc64le.patch 2024-02-02 07:12:21 +01:00
Kimpe Andy
2f0134af34
Create desmume-0.9.13-formatstring.patch 2024-02-02 07:10:58 +01:00
Kimpe Andy
55f2c22d24
Create desmume-0.9.13-arm.patch 2024-02-02 07:03:24 +01:00
Kimpe Andy
a1d8287ed9
Create desmume-0.9.13-aarch64.patch 2024-02-02 07:02:52 +01:00
Kimpe Andy
d00429fac8
Rename .stable_tag to snap/.stable_tag 2024-02-02 06:09:40 +01:00
Kimpe Andy
efa66c604d
Update snapcraft.yaml 2024-02-02 01:44:27 +01:00
Kimpe Andy
025724ab1b
Update snapcraft.yaml 2024-02-02 01:42:11 +01:00
Kimpe Andy
0ffcf1f7ac
Delete debian/watch 2024-02-02 01:41:52 +01:00
Kimpe Andy
d6eec04801
Delete debian/rules 2024-02-02 01:41:45 +01:00
Kimpe Andy
6e484fbf22
Delete debian/copyright 2024-02-02 01:41:36 +01:00
Kimpe Andy
5940d78c34
Delete debian/control 2024-02-02 01:41:29 +01:00
Kimpe Andy
20c10babcc
Delete debian/compat 2024-02-02 01:41:20 +01:00
Kimpe Andy
2d307de133
Delete debian/README.source 2024-02-02 01:41:13 +01:00
Kimpe Andy
fa23355331
Delete debian/README.Debian 2024-02-02 01:41:04 +01:00
Kimpe Andy
2d4f5b1157
Delete debian/NEWS 2024-02-02 01:40:56 +01:00
Kimpe Andy
849db6557a
Delete debian/source/format 2024-02-02 01:40:47 +01:00
Kimpe Andy
c7f7d0313c
Delete debian/patches/series 2024-02-02 01:40:37 +01:00
Kimpe Andy
4470165666
Delete debian/patches/desmume-0.9.13-tinyxml.patch 2024-02-02 01:40:30 +01:00
Kimpe Andy
89ceda18ec
Delete debian/patches/desmume-0.9.13-ppc64le.patch 2024-02-02 01:40:22 +01:00
Kimpe Andy
7302ec3bf4
Delete debian/patches/desmume-0.9.13-formatstring.patch 2024-02-02 01:40:15 +01:00
Kimpe Andy
137ea7f197
Delete debian/patches/desmume-0.9.13-arm.patch 2024-02-02 01:40:07 +01:00
Kimpe Andy
a280093b48
Delete debian/patches/desmume-0.9.13-aarch64.patch 2024-02-02 01:39:59 +01:00
Kimpe Andy
8b3e9e4459
Delete debian/patches/6508c2b115f954afece4243e36e9e35e1d459ea8.patch 2024-02-02 01:39:51 +01:00
Kimpe Andy
6603196436
Delete debian/changelog 2024-02-02 01:39:28 +01:00
Kimpe Andy
426c742bbb
Update changelog 2024-02-01 21:08:06 +01:00
Kimpe Andy
9926814caf
Update rules 2024-02-01 21:03:40 +01:00
Kimpe Andy
4d6e92d9dc
Update compat 2024-02-01 17:07:41 +01:00
Kimpe Andy
64dcb0f4ec
Create series 2024-02-01 11:06:39 +01:00
Kimpe Andy
760286295e
Create desmume-0.9.13-tinyxml.patch 2024-02-01 11:06:06 +01:00
Kimpe Andy
03d132677a
Create desmume-0.9.13-ppc64le.patch 2024-02-01 11:05:33 +01:00
Kimpe Andy
d187425474
Create desmume-0.9.13-formatstring.patch 2024-02-01 11:02:43 +01:00
Kimpe Andy
1f13d525fa
Create desmume-0.9.13-arm.patch 2024-02-01 11:02:12 +01:00
Kimpe Andy
b33d25da06
Create desmume-0.9.13-aarch64.patch 2024-02-01 11:01:31 +01:00
Kimpe Andy
05ed457898
Create 6508c2b115f954afece4243e36e9e35e1d459ea8.patch 2024-02-01 10:59:29 +01:00
Kimpe Andy
b9738bd476
Delete debian/install.sh 2024-02-01 10:58:04 +01:00
Kimpe Andy
32f921f80b
Delete debian/configure.sh 2024-02-01 10:57:39 +01:00
Kimpe Andy
4364595ebe
Delete debian/build.sh 2024-02-01 10:57:29 +01:00
Kimpe Andy
595aad4700
Update rules 2024-02-01 10:57:14 +01:00
Kimpe Andy
ac07677b0a
Update control 2024-02-01 09:19:15 +01:00
Kimpe Andy
341f45e691
Update .stable_tag 2024-01-31 14:12:48 +01:00
Kimpe Andy
3ab7355ddb
Update install.sh 2024-01-31 13:14:12 +01:00
Kimpe Andy
e78135e515
Update rules 2024-01-31 13:12:27 +01:00
Kimpe Andy
ea3108ad4f
Update rules 2024-01-31 13:07:12 +01:00
Kimpe Andy
8889e61f14
Update configure.sh 2024-01-31 13:06:39 +01:00
Kimpe Andy
7046aeba92
Create watch 2024-01-31 12:57:19 +01:00
Kimpe Andy
55659f48f5
Create format 2024-01-31 12:56:10 +01:00
Kimpe Andy
8356908611
Create rules 2024-01-31 12:55:13 +01:00
Kimpe Andy
2695ce4a71
Create install.sh 2024-01-31 12:54:31 +01:00
Kimpe Andy
7c53d153a7
Create copyright 2024-01-31 12:53:17 +01:00
Kimpe Andy
e2a862f854
Create control 2024-01-31 12:52:02 +01:00
Kimpe Andy
3a32e7f5dc
Create configure.sh 2024-01-31 12:51:01 +01:00
Kimpe Andy
f85f8b7c4c
Create compat 2024-01-31 12:49:56 +01:00
Kimpe Andy
749a94d6a3
Update build.sh 2024-01-31 12:49:11 +01:00
Kimpe Andy
1f81f80b85
Create build.sh 2024-01-31 12:29:15 +01:00
Kimpe Andy
5942fadce8
Create README.source 2024-01-31 12:27:53 +01:00
Kimpe Andy
4934024851
Create README.Debian 2024-01-31 12:26:37 +01:00
Kimpe Andy
699af62dfa
Create changelog 2024-01-31 12:25:32 +01:00
Kimpe Andy
b7a0012684
Create NEWS 2024-01-31 12:25:18 +01:00
Kimpe Andy
6bbe053fd0
Update snapcraft.yaml 2024-01-31 08:55:12 +01:00
Kimpe Andy
2cb9f631d9
Create .stable_tag 2024-01-31 08:51:09 +01:00
Kimpe Andy
9e3af53ee7
Update snapcraft.yaml 2024-01-31 08:49:50 +01:00
Kimpe Andy
31a103dcd7
Update snapcraft.yaml 2024-01-31 08:44:12 +01:00
Kimpe Andy
ff1354f1b3
Update snapcraft.yaml 2024-01-31 08:09:53 +01:00
Kimpe Andy
63601cc26b
Update README.md 2024-01-31 07:39:43 +01:00
Kimpe Andy
a06bd78aa4
Update snapcraft.yaml 2024-01-31 07:02:09 +01:00
Kimpe Andy
ad324b1fef
Update snapcraft.yaml 2024-01-31 06:54:08 +01:00
Kimpe Andy
4bd572f056
Create snapcraft.yaml 2024-01-31 06:52:11 +01:00
4 changed files with 120 additions and 0 deletions

1
.stable_tag Normal file
View File

@ -0,0 +1 @@
0.9.13

View File

@ -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

View File

@ -20,6 +20,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define _XOPEN_SOURCE 500 /* For strdup, realpath */
#include <stdlib.h>
#include <boolean.h>
#include <string.h>

111
snapcraft.yaml Normal file
View File

@ -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