From 58e1d6567d8fd7aef7f6a8ecfafea84c1dce5dcb Mon Sep 17 00:00:00 2001 From: Detlef Groth Date: Wed, 18 Sep 2024 07:09:54 +0200 Subject: [PATCH] adding scoop package build to mingw32 makefile and action --- .github/workflows/binaries-mingw32gcc.yml | 13 ++++++++++++- scoop-jme.json | 10 +++++----- win32mingw.gmk | 9 +++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/.github/workflows/binaries-mingw32gcc.yml b/.github/workflows/binaries-mingw32gcc.yml index 0e1ea08..4761e66 100644 --- a/.github/workflows/binaries-mingw32gcc.yml +++ b/.github/workflows/binaries-mingw32gcc.yml @@ -44,7 +44,12 @@ jobs: run: | make -f win32mingw.gmk brew rm -rf brew-*/ - + + - name: make scope package + run: | + make -f win32mingw.gmk scoop + rm -rf scoop-*/ + - name: Download zlib1.dll run: | wget https://github.com/brechtsanders/winlibs_mingw/releases/download/12.2.0-16.0.0-10.0.0-ucrt-r5/winlibs-i686-posix-dwarf-gcc-12.2.0-mingw-w64ucrt-10.0.0-r5.zip @@ -130,3 +135,9 @@ jobs: with: name: brew-windows path: brew-* + + - name: Upload Scoop Package + uses: actions/upload-artifact@v4 + with: + name: scoop-windows + path: scoop-* diff --git a/scoop-jme.json b/scoop-jme.json index 88f1676..daa66e7 100644 --- a/scoop-jme.json +++ b/scoop-jme.json @@ -1,19 +1,19 @@ { - "version": "09.12.21", + "version": "09.12.24b2", "description": "Jasspa MicroEmacs like text editor with low footprint for terminal and with a graphical user interface.", "homepage": "https://github.com/mittelmark/microemacs", "license": "GPL-2.0-only", "architecture": { "32bit": { - "url": "https://github.com/mittelmark/microemacs/releases/download/v09.12.21/jme-09.12.21.zip", + "url": "https://github.com/mittelmark/microemacs/releases/download/v09.12.24beta2/jme-09.12.21.zip", "hash": "0d1e6d577aa3516a4dbec42441836e8c9bb4b68bdd36ce7e3a0259b7194c71da" } }, - "extract_dir": "jme-09.12.21", - "bin": [ "jmew.exe", "jmec.exe" ], + "extract_dir": "jme-09.12.24b2", + "bin": [ "mecb.exe", "mewb.exe" ], "shortcuts": [ [ - "jmew.exe", "MicroEmacs" + "mewb.exe", "MicroEmacs" ] ], "checkver": { diff --git a/win32mingw.gmk b/win32mingw.gmk index c0c4791..69e49ac 100644 --- a/win32mingw.gmk +++ b/win32mingw.gmk @@ -30,3 +30,12 @@ brew: mecb mewb cp README-standalone.md brew-windows-$(VERSION)/README.md zip -r brew-windows-$(VERSION).zip brew-windows-$(VERSION)/* sha256sum brew-windows-$(VERSION).zip > brew-windows-$(VERSION).sha256 + +scoop: mecb mewb + mkdir mecw-scoop-$(VERSION) + cp $(RELEASE)-mecb.exe mecw-scoop-$(VERSION)/mecb.exe + cp $(RELEASE)-mewb.exe mecw-scoop-$(VERSION)/mewb.exe + cp COPYING mecw-scoop-$(VERSION)/license.txt + cp README-standalone.md mecw-scoop-$(VERSION)/README.md + zip mecw-scoop-$(VERSION).zip mecw-scoop-$(VERSION)/* + sha256sum mecw-scoop-$(VERSION).zip > mecw-scoop-$(VERSION).sha256