From 6184d29f49d7bad5429c8e3e17ef61d36a3f3599 Mon Sep 17 00:00:00 2001 From: m45t3r Date: Thu, 12 Nov 2020 00:20:19 -0300 Subject: Add make_opk.sh --- opk/default.gcw0.desktop | 12 ++++++++++++ opk/make_opk.sh | 15 +++++++++++++++ opk/sfc.png | Bin 0 -> 3011 bytes 3 files changed, 27 insertions(+) create mode 100644 opk/default.gcw0.desktop create mode 100755 opk/make_opk.sh create mode 100644 opk/sfc.png 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 Binary files /dev/null and b/opk/sfc.png differ -- cgit v1.2.3