Commit Graph

8 Commits

Author SHA1 Message Date
nick black
845ab5cdf9
Fix 'Name' fields in pkgconfig files 2021-06-26 18:27:28 -04:00
nick black
0d70d73100
Write Requires.private in pc files based off discovered TERMINFO_LIBRARIES #1635 2021-05-08 13:48:14 -04:00
nick black
052b9148e7
pkgconfig: move stdc++ dep from notcurses-core.pc to notcurses.pc #1635 2021-05-07 17:48:24 -04:00
nick black
2cddb73962
add details to pkg-config Descriptions 2021-01-24 05:43:56 -05:00
nick black
07ec5206cb
install notcurses-core.pc pkg-config support 2021-01-21 01:36:02 -05:00
nick black
feb592e590
add a note about static linking #1306 2021-01-21 01:26:58 -05:00
nick black
f638b5f12b
use Requires.private for static linking in pkg-config #1306 2021-01-21 00:53:39 -05:00
Nick Black
9112185657
Split up notcurses/notcurses-core (#1297)
Extract `libnotcurses-core` from `libnotcurses`. The former contains everything except multimedia code. The latter contains multimedia stuff (a wrapper around FFmpeg or OIIO). If built with `-DUSE_MULTIMEDIA=none`, there will not be any `libnotcurses.so` generated. `libnotcurses.so` uses library constructors/destructors to insert its implementation into the `ncvisual` stack at runtime. Users linking `-lnotcurses` will get the full implementation; users linking `-lnotcurses-core` only will get the stack less multimedia code.

The upshot of this is that someone can compile/install only `libnotcurses-core`, and a program linked against it will work just fine. This eliminates the need to install the full (large) dependency stack of the multimedia code unless necessary. This will hopefully be useful for e.g. installers etc. Closes #339.
2021-01-18 14:10:04 -05:00