mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
games-emulation/shadps4: new package, add 9999
Signed-off-by: Elouan Lesteven <elouan.lesteven@protonmail.com>
This commit is contained in:
2 files changed
+56
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>elouan.lesteven@protonmail.com</email>
|
||||
<name>Elouan Lesteven</name>
|
||||
<description>Primary maintainer</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">shadps4-emu/shadPS4</remote-id>
|
||||
<bugs-to>https://github.com/shadps4-emu/shadPS4/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake git-r3
|
||||
|
||||
DESCRIPTION="An early PlayStation 4 emulator for Windows, Linux and macOS written in C++"
|
||||
|
||||
HOMEPAGE="https://github.com/shadps4-emu/shadPS4"
|
||||
|
||||
LLVM_COMPAT=( {19..21} )
|
||||
inherit llvm-r2
|
||||
|
||||
if [ ${PV} = 9999 ]; then
|
||||
EGIT_BRANCH="main"
|
||||
else
|
||||
EGIT_COMMIT="v.${PVR}"
|
||||
fi
|
||||
|
||||
EGIT_REPO_URI="https://github.com/shadps4-emu/shadPS4.git"
|
||||
EGIT_SUBMODULES=( '*' )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="virtual/pkgconfig
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}=
|
||||
llvm-core/llvm:${LLVM_SLOT}=
|
||||
')
|
||||
sys-devel/mold
|
||||
dev-util/ccache
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=mold" -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=mold"
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in new issue
Block a user