aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm45t3r2020-11-12 00:20:19 -0300
committerm45t3r2020-11-12 00:30:01 -0300
commit6184d29f49d7bad5429c8e3e17ef61d36a3f3599 (patch)
tree158b83fd0eb952d4e3ef7c3aa17ba4db1644e753
parentae24fbb08e49a2b39887c83fc9c5974606453a35 (diff)
downloadsnesemu-6184d29f49d7bad5429c8e3e17ef61d36a3f3599.tar.gz
snesemu-6184d29f49d7bad5429c8e3e17ef61d36a3f3599.tar.bz2
snesemu-6184d29f49d7bad5429c8e3e17ef61d36a3f3599.zip
Add make_opk.sh
-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