dosbox: adding debug mode as a build option

This commit is contained in:
Mihail Ivanchev 2025-05-27 09:57:01 +02:00 committed by Duncan Overbruck
parent 058bc51cf6
commit 8ba3dae743

View file

@ -12,6 +12,18 @@ homepage="http://www.dosbox.com"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/dosbox-${version/pl/-}.tar.gz"
checksum=c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a
build_options="debug debug_heavy"
desc_option_debug="Build DOSBox with debugging capabilities."
desc_option_debug_heavy="Build DOSBox with extended debugging capabilities."
if [ "$build_option_debug_heavy" ]; then
configure_args+=" --enable-debug=heavy"
makedepends+=" ncurses-devel"
elif [ "$build_option_debug" ]; then
configure_args+=" --enable-debug"
makedepends+=" ncurses-devel"
fi
post_install() {
vdoc README
vdoc docs/README.video