# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 LIBRETRO_REPO_NAME="libretro/${PN//-libretro}" LIBRETRO_COMMIT_SHA="c55eef9796f1612bab60824685e66ee58657e576" inherit libretro-core DESCRIPTION="libretro implementation of Yabause. (Sega Saturn)" HOMEPAGE="https://github.com/libretro/yabause" KEYWORDS="~amd64 ~x86" LICENSE="GPL-2" SLOT="0" DEPEND="" RDEPEND="${DEPEND} games-emulation/libretro-info" S="${S}/libretro" pkg_preinst() { if ! has_version "=${CATEGORY}/${PN}-${PVR}"; then first_install="1" fi } pkg_postinst() { if [[ "${first_install}" == "1" ]]; then elog "" elog "You should put the following optional files in your 'system_directory' folder:" elog "saturn_bios.bin (Saturn BIOS)" elog "" ewarn "" fi }