diff --git a/x11/vulkan/vulkan-lunarg-tools/actions.py b/x11/vulkan/vulkan-lunarg-tools/actions.py new file mode 100755 index 0000000000..ccbc91b993 --- /dev/null +++ b/x11/vulkan/vulkan-lunarg-tools/actions.py @@ -0,0 +1,60 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +pisitools.cxxflags.add("-std=gnu++11") + +ver = get.srcVERSION() +indir = "%s/VulkanTools-%s" % (get.workDIR(), ver) + +def setup(): + shelltools.system("./update_external_sources.sh") + shelltools.system("mkdir -p build") + shelltools.cd("build") + shelltools.system("../scripts/update_deps.py") + + shelltools.system("cmake .. -C helper.cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ + -DCMAKE_INSTALL_DATADIR=/usr/share \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_SKIP_RPATH=True \ + -DBUILD_WSI_XCB_SUPPORT=On \ + -DBUILD_WSI_XLIB_SUPPORT=On \ + -DBUILD_WSI_WAYLAND_SUPPORT=On \ + -DBUILD_TESTS=OFF \ + -DBUILD_VIA=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DVULKAN_HEADERS_INSTALL_DIR=%s/build/Vulkan-Headers/build/install \ + -DVULKAN_LOADER_INSTALL_DIR=%s/build/Vulkan-Loader/build/install \ + -DVULKAN_VALIDATIONLAYERS_INSTALL_DIR=%s/build/Vulkan-ValidationLayers/build/install \ + " % (indir, indir, indir ) ) + + + +def build(): + shelltools.cd("build") + cmaketools.make() + + +def install(): + shelltools.cd("build") + autotools.rawInstall("DESTDIR=%s" %get.installDIR()) + shelltools.cd("..") + pisitools.insinto("/usr/share/doc/vulkan-trace", "vktrace/LICENSE") + pisitools.insinto("/usr/share/doc/vulkan-extra-layers", "CONTRIBUTING.md") + pisitools.insinto("/usr/share/doc/vulkan-extra-layers", "GOVERNANCE.md") + pisitools.insinto("/usr/share/doc/vulkan-extra-layers", "LICENSE.txt") + pisitools.insinto("/usr/share/doc/vulkan-extra-layers", "README.md") + pisitools.insinto("/usr/share/doc/vulkan-extra-layers", "layersvt/README.md", "README.layersvt") + + + #pisitools.dodoc("README.md", "CONTRIBUTING.md", "LICENSE.txt", "CODE_OF_CONDUCT.md", "GOVERNANCE.md") diff --git a/x11/vulkan/vulkan-lunarg-tools/pspec.xml b/x11/vulkan/vulkan-lunarg-tools/pspec.xml new file mode 100755 index 0000000000..2234474940 --- /dev/null +++ b/x11/vulkan/vulkan-lunarg-tools/pspec.xml @@ -0,0 +1,75 @@ + + + + + vulkan-lunarg-tools + http://lunarg.com/ + + Idris Kalp + idriskalp@gmail.com + + Custom + app:console + Extra Vulkan tools from LunarG + This project provides vktrace capture/replay tool, the Layer Factory, and other layer tools and driver tests. + https://sourceforge.net/projects/pisilinux/files/source/VulkanTools-1.1.130.0.tar.xz + + libX11-devel + libxcb-devel + libXrandr-devel + wayland-devel + vulkan-headers + vulkan-devel + qt5-svg-devel + qt5-webengine-devel + git + + + + + vulkan-trace + + libX11 + libxcb + libXrandr + wayland + vulkan + qt5-base + qt5-svg + qt5-webengine + xcb-util-wm + wayland-client + xcb-util-keysyms + + + /etc/vulkan/explicit_layer.d/VkLayer_vktrace_layer.json + /usr/bin + /usr/lib/libVkLayer_vktrace_layer.so + /usr/lib/libvkdisplay_*.so + /usr/share/doc/vulkan-trace + + + + + vulkan-extra-layers + + vulkan + + + /etc/vulkan/explicit_layer.d + /usr/lib + /usr/share + /usr/share/doc/vulkan-extra-layers + + + + + + 2019-11-15 + 1.1.130.0 + First release + Idris Kalp + idriskalp@gmail.com + + +