talkatu/talkatu

Add a minimum version to cmark

2021-03-14, Gary Kramlich
7dabf1ebead0
Add a minimum version to cmark

The pc file doesn't exist in versions earlier than this, but this should help
people who have version 0.26.0 of cmark to realize they need a newer version.

Testing Done:
Ran locally.

Reviewed at https://reviews.imfreedom.org/r/571/
###############################################################################
# Variables
###############################################################################
sources = [
'talkatudemo.c',
'talkatudemowindow.c',
'talkatudemowindow.h',
]
###############################################################################
# Resources
###############################################################################
talkatudemo_resources = gnome.compile_resources(
'talkatudemoresources',
'data/talkatudemo.gresource.xml',
c_name: 'talkatudemo',
source_dir: 'data'
)
###############################################################################
# Demo program
###############################################################################
talkatudemo = executable('talkatu-demo',
sources,
talkatudemo_resources,
dependencies: [GLIB, GTK3, talkatu_dep],
include_directories : top_srcdir,
install: get_option('install-demo'),
)
if get_option('help2man')
custom_target('talkatu-demo.1',
command : [HELP2MAN,
'--name=Talkatu Demo', '--section=1',
'--help-option=--help-all', '--no-info',
'--output', '@OUTPUT@',
talkatudemo],
output : 'talkatu-demo.1',
install : get_option('install-demo'),
install_dir : get_option('mandir') / 'man1')
endif