summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-06-24 18:52:16 -0700
committerMatt Turner <mattst88@gentoo.org>2021-06-26 13:19:33 -0700
commit31b06be75069dbc7dfe580461d3b2ed486ab18ae (patch)
tree0cf4bffde3fbabd117c92fcf2db82fe0f0b9f5bd /media-libs/vulkan-layers
parentdev-util/vulkan-tools: Use ESYSROOT for packages in DEPEND (diff)
downloadgentoo-31b06be75069dbc7dfe580461d3b2ed486ab18ae.tar.gz
gentoo-31b06be75069dbc7dfe580461d3b2ed486ab18ae.tar.bz2
gentoo-31b06be75069dbc7dfe580461d3b2ed486ab18ae.zip
media-libs/vulkan-layers: Use ESYSROOT for packages in DEPEND
ESYSROOT is the location of packages in DEPEND. Found in the chromiumos-overlay. Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/vulkan-layers')
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-1.2.179.ebuild4
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/media-libs/vulkan-layers/vulkan-layers-1.2.179.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.2.179.ebuild
index 600b2a3f6494..a1f1bdca92c1 100644
--- a/media-libs/vulkan-layers/vulkan-layers-1.2.179.ebuild
+++ b/media-libs/vulkan-layers/vulkan-layers-1.2.179.ebuild
@@ -46,9 +46,9 @@ multilib_src_configure() {
-DBUILD_WSI_XCB_SUPPORT=$(usex X)
-DBUILD_WSI_XLIB_SUPPORT=$(usex X)
-DBUILD_TESTS=OFF
- -DGLSLANG_INSTALL_DIR="${EPREFIX}/usr"
+ -DGLSLANG_INSTALL_DIR="${ESYSROOT}/usr"
-DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/vulkan/"
- -DSPIRV_HEADERS_INSTALL_DIR="${EPREFIX}/usr/include/spirv"
+ -DSPIRV_HEADERS_INSTALL_DIR="${ESYSROOT}/usr/include/spirv"
)
cmake_src_configure
}
diff --git a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild
index f00991f25ee4..272eb9a6e457 100644
--- a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild
+++ b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild
@@ -46,9 +46,9 @@ multilib_src_configure() {
-DBUILD_WSI_XCB_SUPPORT=$(usex X)
-DBUILD_WSI_XLIB_SUPPORT=$(usex X)
-DBUILD_TESTS=OFF
- -DGLSLANG_INSTALL_DIR="${EPREFIX}/usr"
+ -DGLSLANG_INSTALL_DIR="${ESYSROOT}/usr"
-DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/vulkan/"
- -DSPIRV_HEADERS_INSTALL_DIR="${EPREFIX}/usr/include/spirv"
+ -DSPIRV_HEADERS_INSTALL_DIR="${ESYSROOT}/usr/include/spirv"
)
cmake_src_configure
}