mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
media-libs/openxr-loader: delete vendored libraries out of caution
Seems like cmake QA warning was a false positive, that said better be sure none of the vendored code is used. Closes: https://bugs.gentoo.org/974672 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -46,6 +46,10 @@ BDEPEND="wayland? ( dev-util/wayland-scanner )"
|
||||
src_prepare() {
|
||||
sed -i 's;LICENSE_DEST share/doc/openxr;LICENSE_DEST ${CMAKE_INSTALL_DOCDIR};' CMakeLists.txt || die
|
||||
|
||||
# jsoncpp: system version is used
|
||||
# jnipp, android-jni-wrappers: Android-only
|
||||
rm -fr src/external/ || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
@@ -55,7 +59,6 @@ multilib_src_configure() {
|
||||
-DBUILD_WITH_XLIB_HEADERS=$(usex X)
|
||||
-DBUILD_WITH_XCB_HEADERS=$(usex X)
|
||||
-DBUILD_WITH_WAYLAND_HEADERS=$(usex wayland)
|
||||
-DBUILD_WITH_SYSTEM_JSONCPP=YES
|
||||
-DPRESENTATION_BACKEND=$(usex X xlib wayland)
|
||||
)
|
||||
|
||||
|
||||
@@ -46,6 +46,10 @@ BDEPEND="wayland? ( dev-util/wayland-scanner )"
|
||||
src_prepare() {
|
||||
sed -i 's;LICENSE_DEST share/doc/openxr;LICENSE_DEST ${CMAKE_INSTALL_DOCDIR};' CMakeLists.txt || die
|
||||
|
||||
# jsoncpp: system version is used
|
||||
# jnipp, android-jni-wrappers: Android-only
|
||||
rm -fr src/external/ || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
@@ -55,7 +59,6 @@ multilib_src_configure() {
|
||||
-DBUILD_WITH_XLIB_HEADERS=$(usex X)
|
||||
-DBUILD_WITH_XCB_HEADERS=$(usex X)
|
||||
-DBUILD_WITH_WAYLAND_HEADERS=$(usex wayland)
|
||||
-DBUILD_WITH_SYSTEM_JSONCPP=YES
|
||||
-DPRESENTATION_BACKEND=$(usex X xlib wayland)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user