diff --git a/pisi-index.xml b/pisi-index.xml index fd1632db31..c4d3a037f1 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -26015,6 +26015,58 @@ + + + spirv-tools + https://www.khronos.org/vulkan/ + + Idris Kalp + idriskalp@gmail.com + + BSD + library + x11.vulkan + API and commands for processing SPIR-V modules + API and commands for processing SPIR-V modules + https://github.com/KhronosGroup/SPIRV-Tools/archive/v2019.4.tar.gz + https://github.com/KhronosGroup/SPIRV-Headers/archive/1.5.1.corrected.tar.gz + x11/vulkan/spirv-tools/pspec.xml + + + spirv-tools + + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + + + + spirv-tools-32bit + emul32 + emul32 + + /usr/lib32 + + + + spirv-tools-devel + + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + 220-01-11 + 2019.4 + First release + Idris Kalp + idriskalp@gmail.com + + + glslang diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index 86c231c8a5..f1943e731e 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -d02848ceaa64fcd3cc4388f597231ee94c038d3a \ No newline at end of file +dcaa5614c300b781609fc35b06d8eb28aae21ff5 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 83ac1ec6f3..1b643fbb4e 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index 909bdcb9a4..4eb74ee0f6 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -26b146d34c2255265e21d029937519ece2268e56 \ No newline at end of file +81372ce72429491e13325a759a60a9748654cd93 \ No newline at end of file diff --git a/x11/vulkan/spirv-tools/actions.py b/x11/vulkan/spirv-tools/actions.py new file mode 100755 index 0000000000..8250a6ef3e --- /dev/null +++ b/x11/vulkan/spirv-tools/actions.py @@ -0,0 +1,41 @@ +#!/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") + +def setup(): + + shelltools.system("mv SPIRV-Headers-1.5.1.corrected external/SPIRV-Headers") + + if get.buildTYPE() == "emul32": + cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib32 \ + -DBUILD_SHARED_LIBS=ON \ + -DSPIRV_WERROR=Off \ + -DSKIP_SPIRV_TOOLS_INSTALL=OFF \ + -DCMAKE_INSTALL_BINDIR=bin32") + else: + cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON \ + -DSPIRV_WERROR=Off") + + +def build(): + cmaketools.make() + + +def install(): + autotools.rawInstall("DESTDIR=%s" %get.installDIR()) + if get.buildTYPE() == "emul32": + pisitools.removeDir("/usr/bin32") + + + pisitools.dodoc("LICENSE", "README.md", "CONTRIBUTING.md") diff --git a/x11/vulkan/spirv-tools/pspec.xml b/x11/vulkan/spirv-tools/pspec.xml new file mode 100755 index 0000000000..5f7f137cc5 --- /dev/null +++ b/x11/vulkan/spirv-tools/pspec.xml @@ -0,0 +1,56 @@ + + + + + spirv-tools + https://www.khronos.org/vulkan/ + + Idris Kalp + idriskalp@gmail.com + + BSD + library + API and commands for processing SPIR-V modules + API and commands for processing SPIR-V modules + https://github.com/KhronosGroup/SPIRV-Tools/archive/v2019.4.tar.gz + https://github.com/KhronosGroup/SPIRV-Headers/archive/1.5.1.corrected.tar.gz + + + + spirv-tools + + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + + + + + spirv-tools-32bit + emul32 + emul32 + + /usr/lib32 + + + + + spirv-tools-devel + + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + + 220-01-11 + 2019.4 + First release + Idris Kalp + idriskalp@gmail.com + + +