vulkan-lunarg-tools add to repo
This commit is contained in:
Executable
+60
@@ -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")
|
||||
Executable
+75
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>vulkan-lunarg-tools</Name>
|
||||
<Homepage>http://lunarg.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>Custom</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Extra Vulkan tools from LunarG</Summary>
|
||||
<Description>This project provides vktrace capture/replay tool, the Layer Factory, and other layer tools and driver tests.</Description>
|
||||
<Archive sha1sum="0f5d9463eada5dd7cd7a310d781e480a601abbb3" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/VulkanTools-1.1.130.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libxcb-devel</Dependency>
|
||||
<Dependency>libXrandr-devel</Dependency>
|
||||
<Dependency>wayland-devel</Dependency>
|
||||
<Dependency>vulkan-headers</Dependency>
|
||||
<Dependency>vulkan-devel</Dependency>
|
||||
<Dependency>qt5-svg-devel</Dependency>
|
||||
<Dependency>qt5-webengine-devel</Dependency>
|
||||
<Dependency>git</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>vulkan-trace</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libxcb</Dependency>
|
||||
<Dependency>libXrandr</Dependency>
|
||||
<Dependency>wayland</Dependency>
|
||||
<Dependency>vulkan</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-svg</Dependency>
|
||||
<Dependency>qt5-webengine</Dependency>
|
||||
<Dependency>xcb-util-wm</Dependency>
|
||||
<Dependency>wayland-client</Dependency>
|
||||
<Dependency>xcb-util-keysyms</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/vulkan/explicit_layer.d/VkLayer_vktrace_layer.json</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/libVkLayer_vktrace_layer.so</Path>
|
||||
<Path fileType="library">/usr/lib/libvkdisplay_*.so</Path>
|
||||
<Path fileType="doc">/usr/share/doc/vulkan-trace</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>vulkan-extra-layers</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>vulkan</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/vulkan/explicit_layer.d</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc/vulkan-extra-layers</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2019-11-15</Date>
|
||||
<Version>1.1.130.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user