aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-12-15 00:40:06 +0100
committerGitHub <noreply@github.com>2018-12-15 00:40:06 +0100
commitca955d1bac1d7b93130df00b905544e35d896d88 (patch)
tree0246f850005943f7a2ff6f01cd1084ceeec7f151
parent7fb1c0518cf95a7c92cf83de8bb63593bee40766 (diff)
parent49dd86ad3cd73e8742a8acc9d287571896c45bcb (diff)
Merge pull request #269 from cpba/manifest
Add manifest for building as a flatpak
-rw-r--r--flatpak/net.kuribo64.melonds.desktop8
-rw-r--r--flatpak/net.kuribo64.melonds.yml31
2 files changed, 39 insertions, 0 deletions
diff --git a/flatpak/net.kuribo64.melonds.desktop b/flatpak/net.kuribo64.melonds.desktop
new file mode 100644
index 0000000..e91f10d
--- /dev/null
+++ b/flatpak/net.kuribo64.melonds.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=melonDS
+Comment=Nintendo DS emulator
+Exec=melonDS
+Type=Application
+Categories=Game;
+Terminal=false
+Icon=net.kuribo64.melonds
diff --git a/flatpak/net.kuribo64.melonds.yml b/flatpak/net.kuribo64.melonds.yml
new file mode 100644
index 0000000..dcc97b5
--- /dev/null
+++ b/flatpak/net.kuribo64.melonds.yml
@@ -0,0 +1,31 @@
+---
+app-id: net.kuribo64.melonds
+runtime: org.freedesktop.Platform
+runtime-version: '18.08'
+sdk: org.freedesktop.Sdk
+command: melonDS
+finish-args:
+ - "--share=ipc"
+ - "--socket=x11"
+ - "--socket=pulseaudio"
+ - "--share=network"
+ - "--device=all"
+ - "--filesystem=home"
+modules:
+ - name: libpcap
+ sources:
+ - type: archive
+ url: http://www.tcpdump.org/release/libpcap-1.9.0.tar.gz
+ sha256: 2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019
+
+ - name: melonds
+ buildsystem: cmake-ninja
+ sources:
+ - type: git
+ url: https://github.com/StapleButter/melonDS.git
+ commit: d4d4965b2fffc69958685a25a9d9fc0c78b54567
+ - type: file
+ path: net.kuribo64.melonds.desktop
+ post-install:
+ - "desktop-file-install --dir=/app/share/applications net.kuribo64.melonds.desktop"
+ - "install -D icon/melon_256x256.png /app/share/icons/hicolor/256x256/apps/net.kuribo64.melonds.png"