package/foot: prefer ncurses terminfo if ncurses is selected

foot's INSTALL.md says to use the ncurses provided terminfo. [1]

If the ncurses package is being installed, disable generating the bundled
terminfo in favor of the ncurses one.

Note that the ncurses terminfo is smaller, meaning that some edge case
features may no longer work properly after this.

Link: https://codeberg.org/dnkl/foot/src/branch/master/INSTALL.md#other [1]
Signed-off-by: John Ernberg <j@j-ernberg.se>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
1 file changed