Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 762182 Details for
Bug 831217
games-emulation/pcsx2-9999: unbundle glslang
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pcsx2_unbundle-glslang.patch
pcsx2_unbundle-glslang.patch (text/plain), 1.75 KB, created by
Samuel Bauer
on 2022-01-15 01:56:52 UTC
(
hide
)
Description:
pcsx2_unbundle-glslang.patch
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2022-01-15 01:56:52 UTC
Size:
1.75 KB
patch
obsolete
>--- a/games-emulation/pcsx2/pcsx2-9999.ebuild >+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild >@@ -1,7 +1,7 @@ > # Copyright 1999-2022 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > >-EAPI=7 >+EAPI=8 > > WX_GTK_VER="3.0-gtk3" > inherit cmake fcaps flag-o-matic git-r3 toolchain-funcs wxwidgets >@@ -10,9 +10,7 @@ DESCRIPTION="A PlayStation 2 emulator" > HOMEPAGE="https://pcsx2.net/" > EGIT_REPO_URI="https://github.com/PCSX2/${PN}.git" > EGIT_SUBMODULES=( >- 3rdparty/glslang/glslang # needs StandAlone/ResourceLimits.h > 3rdparty/imgui/imgui # not made to be system-wide >- 3rdparty/vulkan-headers # to keep in sync with glslang > ) > > LICENSE="GPL-3 Apache-2.0 OFL-1.1" # TODO: needs review for a full list >@@ -30,6 +28,7 @@ RDEPEND=" > dev-libs/libchdr > >=dev-libs/libfmt-7.1.3:= > dev-libs/libxml2:2 >+ dev-util/glslang > media-libs/alsa-lib > media-libs/cubeb > media-libs/freetype >@@ -80,6 +79,18 @@ src_prepare() { > > # pulseaudio is only used for usb-mic, not audio output > use pulseaudio || > cmake/FindPulseAudio.cmake || die >+ >+ # unbundle glslang >+ sed -i -e '/#include "StandAlone/{s:"StandAlone:<glslang/Include:;s/"/>/}' \ >+ -e '/#include "SPIRV/{s:"SPIRV:<glslang/SPIRV:;s/"/>/}' \ >+ -e '/#include "glslang/{s:":<:;s/"/>/;s:$:\n#include "common/Vulkan/DefaultTBuiltInResource.h":}' \ >+ -e 's/glslang::DefaultTBuiltInResource/DefaultTBuiltInResource/' \ >+ common/Vulkan/ShaderCompiler.cpp || die >+ sed -i '/USE_VULKAN/,/endif()/d' cmake/SearchForStuff.cmake || die >+ cp "${FILESDIR}"/DefaultTBuiltInResource.h common/Vulkan/ || die >+ sed -i -e '/USE_VULKAN)/afind_library(GLSLANG libglslang.so)\nfind_library(SPIRV libSPIRV.so)' \ >+ -e 's/Vulkan-Headers glslang/${GLSLANG} ${SPIRV}/' \ >+ common/CMakeLists.txt || die > } > > src_configure() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 831217
: 762182 |
762183