From 45b17ed7c245691c4fb565036e3055a6469e25ec Mon Sep 17 00:00:00 2001 From: 1024x2 Date: Mon, 6 May 2024 15:17:26 +0100 Subject: Initial commit --- .../simple64-rsp-parallel-9999.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 games-emulation/simple64-rsp-parallel/simple64-rsp-parallel-9999.ebuild (limited to 'games-emulation/simple64-rsp-parallel') diff --git a/games-emulation/simple64-rsp-parallel/simple64-rsp-parallel-9999.ebuild b/games-emulation/simple64-rsp-parallel/simple64-rsp-parallel-9999.ebuild new file mode 100644 index 0000000..7b5514b --- /dev/null +++ b/games-emulation/simple64-rsp-parallel/simple64-rsp-parallel-9999.ebuild @@ -0,0 +1,42 @@ +# 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 RSP plugin" +HOMEPAGE="https://simple64.github.io/" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/simple64/parallel-rsp.git" + EGIT_BRANCH="simple64" +else + _git_commit="a6db2c75bd60a62a8abfe1b4e767fd014ba380e5" + SRC_URI="https://github.com/simple64/parallel-rsp/archive/${_git_commit}.tar.gz -> ${PN}-${_git_commit}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="" + +DEPEND=" + games-emulation/simple64-core:= +" +RDEPEND="${DEPEND}" + +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-rsp-parallel.so" +} -- cgit v1.2.3