# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 LIBRETRO_REPO_NAME="libretro/${PN/mednafen/beetle}" LIBRETRO_COMMIT_SHA="efda29c30c45bd435b2321765f453b9af4751a93" inherit libretro-core DESCRIPTION="libretro implementation of Mednafen PCE Fast. (PC Engine/TurboGrafx-16)" HOMEPAGE="https://github.com/libretro/beetle-pce-fast-libretro" KEYWORDS="amd64 x86" LICENSE="GPL-2" SLOT="0" DEPEND="" RDEPEND="${DEPEND} games-emulation/libretro-info" LIBRETRO_CORE_NAME=mednafen_pce_fast pkg_preinst() { if ! has_version "=${CATEGORY}/${PN}-${PVR}"; then first_install="1" fi } pkg_postinst() { if [[ "${first_install}" == "1" ]]; then ewarn "" ewarn "You need to have the following files in your 'system_directory' folder:" ewarn "syscard3.pce (PCE-CD BIOS)" ewarn "" ewarn "" fi }