From cf19f8287547c523f65879b9e9477950c81a9eed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= <p@janouch.name>
Date: Wed, 10 Aug 2022 18:11:05 +0200
Subject: Automate Windows builds, add icons to executables

Scripts have been ported from sdtui, and adjusted for Meson.

The port is broken through and through on WINE,
but sort-of works natively.
---
 README.adoc | 13 +++++++++++++
 1 file changed, 13 insertions(+)

(limited to 'README.adoc')

diff --git a/README.adoc b/README.adoc
index 13d92ba..031b110 100644
--- a/README.adoc
+++ b/README.adoc
@@ -56,6 +56,19 @@ direct installations via `ninja install`.  To test the program:
 
 The lossless JPEG cropper is intended to be invoked from a context menu.
 
+Windows
+~~~~~~~
+'fiv' can be cross-compiled for Windows, provided that you install a bunch of
+dependencies listed at the beginning of 'msys2-cross-configure.sh',
+plus rsvg-convert from librsvg2, and icotool from icoutils.
+Beware that the build will take up close to a gigabyte of disk space.
+
+ $ sh msys2-cross-configure.sh builddir
+ $ meson install -C builddir
+
+If everything succeeds, you will find a portable build of the application
+in the 'builddir/package' subdirectory.  Keep your expectations low.
+
 Documentation
 -------------
 For information concerning usage, refer to link:docs/fiv.html[the user guide],
-- 
cgit v1.2.3

