media-libs/vulkan-loader: Install things properly.
authorMatt Turner <mattst88@gentoo.org>
Fri, 3 Mar 2017 22:48:05 +0000 (14:48 -0800)
committerMatt Turner <mattst88@gentoo.org>
Fri, 3 Mar 2017 22:50:55 +0000 (14:50 -0800)
We were not installing vulkan.hpp. We were (uselessly) installing LICENSE. And
by manually installing the library, we were breaking things with clang
-flto=thin (see $Bug).

Bug: https://bugs.gentoo.org/600070

media-libs/vulkan-loader/vulkan-loader-9999.ebuild

index dacb3ce48440aeabd50ea5e756623096f2a45910..4ab7f86d549404b7d8010f588697ec552ae28736 100644 (file)
@@ -27,8 +27,6 @@ DEPEND="${PYTHON_DEPS}
        wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
        X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
 
-DOCS=( README.md LICENSE.txt )
-
 multilib_src_configure() {
        local mycmakeargs=(
                -DCMAKE_SKIP_RPATH=True
@@ -48,13 +46,5 @@ multilib_src_configure() {
 multilib_src_install() {
        keepdir /etc/vulkan/icd.d
 
-       cd "${BUILD_DIR}/loader" || die
-       dolib libvulkan.so.1.*
-       dosym libvulkan.so.1.* /usr/$(get_libdir)/libvulkan.so.1
-       dosym libvulkan.so.1.* /usr/$(get_libdir)/libvulkan.so
-
-       cd "${S}" || die
-       insinto /usr/include/vulkan
-       doins include/vulkan/*.h
-       einstalldocs
+       default
 }