DOC_CONTENTS="You need to copy Doom, Doom 2, Chex Quest, Heretic, Hexen, HexenDD, or Doom64 wads to a folder of your choice and then tell the game engine where that folder is. This is different to older versions, which had separate launchers for each game and required the files to be in a specific place."
src_prepare(){
cmake-utils_src_prepare
# Fix QA warning for "installing to one or more unexpected paths"
sed -e "10s:/texc:/${PF}:" -i tools/texc/CMakeLists.txt || die
}
src_configure(){
exportQT_SELECT=qt5
localmycmakeargs=(
-DDENG_ASSIMP_EMBEDDED="OFF"
-DDENG_ENABLE_TOOLS="$(usex tools)"
-DPYTHON_EXECUTABLE="${PYTHON}"
)
cmake-utils_src_configure
}
src_install(){
cmake-utils_src_install
if use tools;then
mv -v "${ED}"/usr/bin/md2tool{,.${PN}}|| die
fi
readme.gentoo_create_doc
}
pkg_postinst(){
readme.gentoo_print_elog
if use tools;then
einfo "In order to prevent a file collision with games-fps/eduke32[tools],"
einfo "the utility md2tool has been renamed to md2tool.doomsday."