diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-27 19:04:18 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-27 19:04:48 +0200 |
commit | 117422ade5a2544f3f66fd403b2ec5effef64c6a (patch) | |
tree | 56e8e50fce1ae51ca3039e9915fb584dbd8173e7 | |
parent | 8ff33e6b63a2fc0201c4dd3d72f3e961199d731c (diff) | |
download | fiv-117422ade5a2544f3f66fd403b2ec5effef64c6a.tar.gz fiv-117422ade5a2544f3f66fd403b2ec5effef64c6a.tar.xz fiv-117422ade5a2544f3f66fd403b2ec5effef64c6a.zip |
Fix build instructions, add .deb generation
-rw-r--r-- | README.adoc | 13 | ||||
-rw-r--r-- | meson.build | 10 |
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') |