From: "Nick Sarnie" <sarnex@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/glslang/files/, dev-util/glslang/
Date: Fri, 10 Nov 2023 18:24:57 +0000 (UTC) [thread overview]
Message-ID: <1699640684.202e24f69e75a8910144ec7f3ee617b3598653dd.sarnex@gentoo> (raw)
commit: 202e24f69e75a8910144ec7f3ee617b3598653dd
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 10 18:23:47 2023 +0000
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Fri Nov 10 18:24:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202e24f6
dev-util/glslang: Fix cmake targets
Closes: https://bugs.gentoo.org/917110
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
.../files/glslang-1.3.238-Fix-cmake-targets.patch | 26 ++++++++++++++++++++++
...1.3.268-r1.ebuild => glslang-1.3.268-r2.ebuild} | 4 +++-
dev-util/glslang/glslang-9999.ebuild | 4 +++-
3 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/dev-util/glslang/files/glslang-1.3.238-Fix-cmake-targets.patch b/dev-util/glslang/files/glslang-1.3.238-Fix-cmake-targets.patch
new file mode 100644
index 000000000000..3afcec329f07
--- /dev/null
+++ b/dev-util/glslang/files/glslang-1.3.238-Fix-cmake-targets.patch
@@ -0,0 +1,26 @@
+diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt
+index a80e74ed..8a15f00d 100644
+--- a/SPIRV/CMakeLists.txt
++++ b/SPIRV/CMakeLists.txt
+@@ -106,7 +106,7 @@ if(ENABLE_OPT)
+ target_link_libraries(SPIRV PRIVATE MachineIndependent SPIRV-Tools-opt)
+ target_include_directories(SPIRV PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>
+- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>)
++ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/>)
+ else()
+ target_link_libraries(SPIRV PRIVATE MachineIndependent)
+ endif()
+diff --git a/StandAlone/CMakeLists.txt b/StandAlone/CMakeLists.txt
+index ad88442c..db2ca5ff 100644
+--- a/StandAlone/CMakeLists.txt
++++ b/StandAlone/CMakeLists.txt
+@@ -69,7 +69,7 @@ endif()
+ target_link_libraries(glslang-standalone ${LIBRARIES})
+ target_include_directories(glslang-standalone PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>
+- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>)
++ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
+
+ if(ENABLE_OPT)
+ target_include_directories(glslang-standalone
diff --git a/dev-util/glslang/glslang-1.3.268-r1.ebuild b/dev-util/glslang/glslang-1.3.268-r2.ebuild
similarity index 89%
rename from dev-util/glslang/glslang-1.3.268-r1.ebuild
rename to dev-util/glslang/glslang-1.3.268-r2.ebuild
index 809e9b2f1e97..2ac7f3ffb59c 100644
--- a/dev-util/glslang/glslang-1.3.268-r1.ebuild
+++ b/dev-util/glslang/glslang-1.3.268-r2.ebuild
@@ -31,7 +31,9 @@ BDEPEND="${PYTHON_DEPS}
DEPEND="~dev-util/spirv-tools-${PV}:=[${MULTILIB_USEDEP}]"
-PATCHES=( "${FILESDIR}/${PN}-1.3.236-Install-static-libs.patch" )
+PATCHES=( "${FILESDIR}"/${PN}-1.3.236-Install-static-libs.patch
+ "${FILESDIR}"/${PN}-1.3.238-Fix-cmake-targets.patch
+)
multilib_src_configure() {
local mycmakeargs=(
diff --git a/dev-util/glslang/glslang-9999.ebuild b/dev-util/glslang/glslang-9999.ebuild
index 7ba69afd1dbe..dd1be10214bc 100644
--- a/dev-util/glslang/glslang-9999.ebuild
+++ b/dev-util/glslang/glslang-9999.ebuild
@@ -31,7 +31,9 @@ BDEPEND="${PYTHON_DEPS}
DEPEND="~dev-util/spirv-tools-99999999:=[${MULTILIB_USEDEP}]"
-PATCHES=( "${FILESDIR}/${PN}-1.3.236-Install-static-libs.patch" )
+PATCHES=( "${FILESDIR}"/${PN}-1.3.236-Install-static-libs.patch
+ "${FILESDIR}"/${PN}-1.3.238-Fix-cmake-targets.patch
+)
multilib_src_configure() {
local mycmakeargs=(
next reply other threads:[~2023-11-10 18:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-10 18:24 Nick Sarnie [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-03 2:58 [gentoo-commits] repo/gentoo:master commit in: dev-util/glslang/files/, dev-util/glslang/ Sam James
2024-03-03 17:08 Matt Turner
2022-11-08 23:57 Nick Sarnie
2022-09-11 15:50 Nick Sarnie
2019-11-22 23:29 Nick Sarnie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1699640684.202e24f69e75a8910144ec7f3ee617b3598653dd.sarnex@gentoo \
--to=sarnex@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox