diff --git a/x11/vulkan/glslang/actions.py b/x11/vulkan/glslang/actions.py new file mode 100755 index 0000000000..5193da751b --- /dev/null +++ b/x11/vulkan/glslang/actions.py @@ -0,0 +1,37 @@ +#!/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(): + + if get.buildTYPE() == "emul32": + cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib32 \ + -DBUILD_SHARED_LIBS=ON \ + -DENABLE_GLSLANG_BINARIES=OFF") + else: + cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON") + + +def build(): + cmaketools.make() + + +def install(): + autotools.rawInstall("DESTDIR=%s" %get.installDIR()) + + #for tool in ["glslangValidator", "spirv-remap"]: + #pisitools.domove("/usr/bin32/%s" %tool, "/usr/bin", "%s-32" %tool) + + + #pisitools.dodoc("README.md", "COPYRIGHT.txt", "LICENSE.txt") diff --git a/x11/vulkan/glslang/pspec.xml b/x11/vulkan/glslang/pspec.xml new file mode 100755 index 0000000000..33b58dca45 --- /dev/null +++ b/x11/vulkan/glslang/pspec.xml @@ -0,0 +1,56 @@ + + + + + glslang + https://github.com/KhronosGroup/glslang + + Idris Kalp + idriskalp@gmail.com + + BSD + library + OpenGL and OpenGL ES shader front end and validator + OpenGL and OpenGL ES shader front end and validator + https://github.com/KhronosGroup/glslang/archive/8.13.3559.tar.gz + + + + glslang + + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + + + + + glslang-32bit + emul32 + emul32 + + /usr/bin/*32 + /usr/lib32 + + + + + glslang-devel + + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + + 2020-01-11 + 8.13.3559 + First release + Idris Kalp + idriskalp@gmail.com + + +