Fix build instructions, add .deb generation
This commit is contained in:
parent
8ff33e6b63
commit
117422ade5
13
README.adoc
13
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
|
||||
~~~~~~~
|
||||
|
10
meson.build
10
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')
|
||||
|
Loading…
Reference in New Issue
Block a user