aboutsummaryrefslogtreecommitdiff
path: root/opk
diff options
context:
space:
mode:
Diffstat (limited to 'opk')
-rw-r--r--opk/default.gcw0.desktop12
-rwxr-xr-xopk/make_opk.sh15
-rw-r--r--opk/sfc.pngbin0 -> 3011 bytes
3 files changed, 27 insertions, 0 deletions
diff --git a/opk/default.gcw0.desktop b/opk/default.gcw0.desktop
new file mode 100644
index 0000000..cba0da9
--- /dev/null
+++ b/opk/default.gcw0.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=snes9emu
+Comment=Super Nintendo emulator
+Comment[fr]=Émulateur de Super Nintendo
+Comment[es]=Emulador de Super Nintendo
+Exec=snes9x %f
+Terminal=false
+Type=Application
+StartupNotify=true
+Icon=sfc
+Categories=emulators;
+MimeType=application/x-snes-rom;application/zip;
diff --git a/opk/make_opk.sh b/opk/make_opk.sh
new file mode 100755
index 0000000..f263b63
--- /dev/null
+++ b/opk/make_opk.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+cd $(dirname "$0")
+
+OPK_NAME="${1:-snesemu.opk}"
+
+echo Building "${OPK_NAME}"...
+
+# create opk
+FLIST="../snes9x default.gcw0.desktop sfc.png"
+
+rm -f "${OPK_NAME}"
+mksquashfs ${FLIST} "${OPK_NAME}" -all-root -no-xattrs -noappend -no-exports
+
+cat default.gcw0.desktop
diff --git a/opk/sfc.png b/opk/sfc.png
new file mode 100644
index 0000000..0fe6f7e
--- /dev/null
+++ b/opk/sfc.png
Binary files differ