aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.adoc13
-rw-r--r--meson.build10
2 files changed, 18 insertions, 5 deletions
diff --git a/README.adoc b/README.adoc
index e671a1d..86d0572 100644
--- a/README.adoc
+++ b/README.adoc
@@ -49,17 +49,20 @@ Runtime dependencies for reverse image search:
xdg-utils, cURL, jq
$ git clone --recursive https://git.janouch.name/p/fiv.git
+ $ cd fiv
$ meson setup builddir
$ cd builddir
$ meson compile
-
-Considering the vast amount of dynamically-linked dependencies, do not attempt
-direct installations via `ninja install`. To test the program:
-
$ meson devenv fiv
The lossless JPEG cropper and reverse image search are intended to be invoked
-from a context menu.
+from a file manager context menu.
+
+For proper integration, you will need to install the application. On Debian,
+you can get a quick and dirty installation package for testing purposes using:
+
+ $ meson compile deb
+ # dpkg -i fiv-*.deb
Windows
~~~~~~~
diff --git a/meson.build b/meson.build
index 4bdca2e..7d9dc41 100644
--- a/meson.build
+++ b/meson.build
@@ -335,6 +335,16 @@ if not win32
if not meson.is_cross_build()
meson.add_install_script(updater, skip_if_destdir : dynamic_desktops)
endif
+
+ # Quick and dirty package generation, lacking dependencies.
+ packaging = configuration_data({
+ 'name' : meson.project_name(),
+ 'version' : meson.project_version(),
+ 'summary' : 'Image viewer',
+ 'author' : 'Přemysl Eric Janouch',
+ })
+
+ subdir('submodules/liberty/meson/packaging')
elif meson.is_cross_build()
# Note that even compiling /from within MSYS2/ can still be a cross-build.
msys2_root = meson.get_external_property('msys2_root')