mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
games-emulation/rpcs3: fix build, remove some files
Add new git submodules that are needed: (zstd, stblib and openal-soft) Remove some files that shouldn't be needed: (/usr/share/rpcs3/{git,test}) Closes: https://bugs.gentoo.org/934194 Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
parent
e363dda0e8
commit
3891a6901a
@ -17,7 +17,10 @@ DESCRIPTION="PS3 emulator/debugger"
|
||||
HOMEPAGE="https://rpcs3.net/"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/RPCS3/rpcs3"
|
||||
EGIT_SUBMODULES=( 'asmjit' '3rdparty/glslang' '3rdparty/miniupnp/miniupnp' '3rdparty/rtmidi/rtmidi' '3rdparty/wolfssl' '3rdparty/SoundTouch/soundtouch' )
|
||||
EGIT_SUBMODULES=(
|
||||
'asmjit' '3rdparty/glslang' '3rdparty/miniupnp/miniupnp' '3rdparty/rtmidi/rtmidi' '3rdparty/wolfssl'
|
||||
'3rdparty/SoundTouch/soundtouch' '3rdparty/zstd/zstd' '3rdparty/stblib/stb' '3rdparty/OpenAL/openal-soft'
|
||||
)
|
||||
# Delete sources when ensuring yaml-cpp compiled with fexceptions
|
||||
EGIT_SUBMODULES+=( '3rdparty/yaml-cpp' )
|
||||
inherit git-r3
|
||||
@ -153,3 +156,10 @@ src_configure() {
|
||||
-e 's/FFMPEG_LIB_AVUTIL-NOTFOUND/avutil/' -e 's/FFMPEG_LIB_SWSCALE-NOTFOUND/swscale/' \
|
||||
-e 's/FFMPEG_LIB_SWRESAMPLE-NOTFOUND/swresample/' "${BUILD_DIR}"/build.ninja || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# remove unneccessary files to save some space
|
||||
rm -rf "${ED}/usr/share/rpcs3/"{git,test} || die
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user