notcurses-demo(1): add note about DFSG build #316

This commit is contained in:
nick black 2020-02-04 22:49:46 -05:00 committed by Nick Black
parent 64e5840d34
commit 116453bfec
2 changed files with 9 additions and 2 deletions

View File

@ -14,6 +14,7 @@ set(NOTCURSES_SHARE ${CMAKE_INSTALL_PREFIX}/share/notcurses)
option(DISABLE_FFMPEG "Disable FFmpeg image/video support" OFF)
option(BUILD_PYTHON "Build Python wrappers" ON)
option(DFSG_BUILD "DFSG build (no non-free media)" OFF)
find_package(PkgConfig REQUIRED)
find_package(Threads REQUIRED)
@ -510,7 +511,8 @@ install(TARGETS notcurses
COMPONENT Development
)
if(${BUILD_PYTHON})
if(DEFINED ENV{DEB_BUILD_ARCH})
# if DFSG_BUILD has been selected, assume we're building debs
if("${DFSG_BUILD}")
install(
CODE
"execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --root=${CMAKE_SOURCE_DIR}/debian/python3-notcurses --install-layout=deb --prefix=${CMAKE_INSTALL_PREFIX} --skip-build

View File

@ -19,7 +19,7 @@ database, but is at is best in a "DirectColor" 24bpp RGB environment. If
**notcurses-demo** seems to generate garbage, something is likely configured in
a way that is going to prevent notcurses from working.
The demonstrations include:
The demonstrations include (see NOTES below):
* (i)ntro—a setting of tone
* (b)oxes—pulsating boxes with a transparent center
@ -67,6 +67,11 @@ Proper display requires:
* A monospaced font, and
* Good Unicode support in your libc, font, and terminal emulator.
The Debian version of notcurses leaves out certain multimedia considered
non-free under the Debian Free Software Guidelines. As a result, the chunli,
eagle, fallin', jungle, luigi, and view demos are unavailable through the
Debian package.
# BUGS
If notcurses is built without FFmpeg, the following demos will fail immedaitely when specified: **xray**,