w3m: add w3m-img subpackage for inline image display (X11)
Closes https://github.com/termux/termux-packages/issues/5879.
This commit is contained in:
parent
842a6f389e
commit
3629c6af7c
@ -21,8 +21,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes ac_cv_func_bcopy=ye
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-browser=termux-open-url"
|
||||
#Overwrite the default editor to just vi, as the default was /usr/bin/vi.
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-editor=nano"
|
||||
# Avoid trying to build w3mimg:
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-image=no"
|
||||
# Build w3mimg with X11/imlib2.
|
||||
# w3mimgdisplay is in w3m-img subpackage.
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-image=x11 --with-imagelib=imlib2"
|
||||
|
||||
# For Makefile.in.patch:
|
||||
export TERMUX_PKG_BUILDER_DIR
|
||||
|
3
packages/w3m/w3m-img.subpackage.sh
Normal file
3
packages/w3m/w3m-img.subpackage.sh
Normal file
@ -0,0 +1,3 @@
|
||||
TERMUX_SUBPKG_DESCRIPTION="Inline image extension support utilities for w3m"
|
||||
TERMUX_SUBPKG_INCLUDE="libexec/w3m/w3mimgdisplay"
|
||||
TERMUX_SUBPKG_DEPENDS="imlib2, libx11"
|
Loading…
Reference in New Issue
Block a user