# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake DESCRIPTION="Accurate Nintendo 64 Emulator, paraLLEl-RDP video plugin" HOMEPAGE="https://simple64.github.io/" if [[ ${PV} == 9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/simple64/parallel-rdp-standalone.git" EGIT_BRANCH="simple64" else _git_commit="420e12f677b5d4f6a624442e20594f181e451760" SRC_URI="https://github.com/simple64/parallel-rdp-standalone/archive/${_git_commit}.tar.gz -> ${PN}-${_git_commit}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="MIT" SLOT="0/${PV}" IUSE="" DEPEND=" games-emulation/simple64-core:= dev-util/vulkan-headers " RDEPEND=" ${DEPEND} media-libs/vulkan-loader " src_prepare() { sed -i 's|include_directories(../mupen64plus-core/src/api)|include_directories(/usr/include/mupen64plus)|' CMakeLists.txt cmake_src_prepare } src_configure() { cmake_src_configure } src_install() { insinto "/usr/$(get_libdir)/mupen64plus" doins "${BUILD_DIR}/simple64-video-parallel.so" }