| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999-r3 | 7 | 0 |
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
LIBRETRO_REPO_NAME="libretro/libretro-prboom"
inherit libretro-core
DESCRIPTION="libretro implementation of PrBoom. (Doom)"
HOMEPAGE="https://github.com/libretro/libretro-prboom"
KEYWORDS=""
LICENSE="GPL-2"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}
games-emulation/libretro-info"
src_install() {
insinto "${LIBRETRO_DATA_DIR}"/prboom_libretro/
doins "${S}"/prboom.wad
libretro-core_src_install
}
pkg_postinst() {
if [[ "${first_install}" == "1" ]]; then
elog ""
elog "You need to copy the \"prboom.wad\" file from \"${LIBRETRO_DATA_DIR}/prboom_libretro/\""
elog "into the retroarch \"rgui_browser_directory\" folder of your user."
elog ""
elog "\$ cp -r ${LIBRETRO_DATA_DIR}/prboom_libretro/prboom.wad ~/"
elog ""
ewarn ""
fi
}
games-emulation/libretro-info