commit 14dcfa4f579e39637bbbc2d11969ef1be0148004 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Apr 28 13:03:36 2019 +1000 glslang: contrib -> opt diff --git a/glslang/.footprint b/glslang/.footprint new file mode 100644 index 000000000..0839bba15 --- /dev/null +++ b/glslang/.footprint @@ -0,0 +1,75 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/glslangValidator +-rwxr-xr-x root/root usr/bin/spirv-remap +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/SPIRV/ +-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.AMD.h +-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.EXT.h +-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.KHR.h +-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.NV.h +-rw-r--r-- root/root usr/include/SPIRV/GLSL.std.450.h +-rw-r--r-- root/root usr/include/SPIRV/GlslangToSpv.h +-rw-r--r-- root/root usr/include/SPIRV/Logger.h +-rw-r--r-- root/root usr/include/SPIRV/SPVRemapper.h +-rw-r--r-- root/root usr/include/SPIRV/SpvBuilder.h +-rw-r--r-- root/root usr/include/SPIRV/SpvTools.h +-rw-r--r-- root/root usr/include/SPIRV/bitutils.h +-rw-r--r-- root/root usr/include/SPIRV/disassemble.h +-rw-r--r-- root/root usr/include/SPIRV/doc.h +-rw-r--r-- root/root usr/include/SPIRV/hex_float.h +-rw-r--r-- root/root usr/include/SPIRV/spirv.hpp +-rw-r--r-- root/root usr/include/SPIRV/spvIR.h +drwxr-xr-x root/root usr/include/glslang/ +drwxr-xr-x root/root usr/include/glslang/Include/ +-rw-r--r-- root/root usr/include/glslang/Include/BaseTypes.h +-rw-r--r-- root/root usr/include/glslang/Include/Common.h +-rw-r--r-- root/root usr/include/glslang/Include/ConstantUnion.h +-rw-r--r-- root/root usr/include/glslang/Include/InfoSink.h +-rw-r--r-- root/root usr/include/glslang/Include/InitializeGlobals.h +-rw-r--r-- root/root usr/include/glslang/Include/PoolAlloc.h +-rw-r--r-- root/root usr/include/glslang/Include/ResourceLimits.h +-rw-r--r-- root/root usr/include/glslang/Include/ShHandle.h +-rw-r--r-- root/root usr/include/glslang/Include/Types.h +-rw-r--r-- root/root usr/include/glslang/Include/arrays.h +-rw-r--r-- root/root usr/include/glslang/Include/intermediate.h +-rw-r--r-- root/root usr/include/glslang/Include/revision.h +drwxr-xr-x root/root usr/include/glslang/MachineIndependent/ +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/Initialize.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/LiveTraverser.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/ParseHelper.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/RemoveTree.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/Scan.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/ScanContext.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/SymbolTable.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/Versions.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/attribute.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/gl_types.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/glslang_tab.cpp.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/iomapper.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/localintermediate.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/parseVersions.h +drwxr-xr-x root/root usr/include/glslang/MachineIndependent/preprocessor/ +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/preprocessor/PpContext.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/preprocessor/PpTokens.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/propagateNoContraction.h +-rw-r--r-- root/root usr/include/glslang/MachineIndependent/reflection.h +drwxr-xr-x root/root usr/include/glslang/Public/ +-rw-r--r-- root/root usr/include/glslang/Public/ShaderLang.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libHLSL.a +-rwxr-xr-x root/root usr/lib/libHLSL.so +lrwxrwxrwx root/root usr/lib/libHLSL.so.0 -> libHLSL.so +-rw-r--r-- root/root usr/lib/libOGLCompiler.a +-rw-r--r-- root/root usr/lib/libOSDependent.a +-rw-r--r-- root/root usr/lib/libSPIRV.a +-rwxr-xr-x root/root usr/lib/libSPIRV.so +lrwxrwxrwx root/root usr/lib/libSPIRV.so.0 -> libSPIRV.so +-rw-r--r-- root/root usr/lib/libSPVRemapper.a +-rwxr-xr-x root/root usr/lib/libSPVRemapper.so +lrwxrwxrwx root/root usr/lib/libSPVRemapper.so.0 -> libSPVRemapper.so +-rwxr-xr-x root/root usr/lib/libglslang-default-resource-limits.so +lrwxrwxrwx root/root usr/lib/libglslang-default-resource-limits.so.0 -> libglslang-default-resource-limits.so +-rw-r--r-- root/root usr/lib/libglslang.a +-rwxr-xr-x root/root usr/lib/libglslang.so +lrwxrwxrwx root/root usr/lib/libglslang.so.0 -> libglslang.so diff --git a/glslang/.signature b/glslang/.signature new file mode 100644 index 000000000..3ba0be3bb --- /dev/null +++ b/glslang/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/aAdoplOex5BoS9IgHQ7Y3PVGJC2ksfV73JRdqVb/vIvApAVjyBwxNVqR5gfa40noga4Z0ALjznTRnSz2JZHFwA= +SHA256 (Pkgfile) = 3abff66b5a0056c1f9c862cb38d2601a59382e4532bae7a26f7283e3030f2dd4 +SHA256 (.footprint) = 6efc8343d6d8e000bcb8127c467203b1c2938fcc087ab826a00dd97c6f5b51e0 +SHA256 (glslang-7.11.3113.tar.gz) = 4d238000162029f791cfcd65a28f10defa574516b94d9392695d27c8a1ce8b62 diff --git a/glslang/Pkgfile b/glslang/Pkgfile new file mode 100644 index 000000000..d93bda870 --- /dev/null +++ b/glslang/Pkgfile @@ -0,0 +1,40 @@ +# Description: Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator +# URL: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: spirv-tools + +name=glslang +version=7.11.3113 +release=2 +source=(https://github.com/KhronosGroup/glslang/archive/$version/$name-$version.tar....) +#source=(https://bitbucket.org/predivan/distfiles/downloads/$name-$version.tar.bz2) + +build() { + cd $name-$version + + mkdir -p build-{shared,static} + + (cd build-shared + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=ON + make + ) + + (cd build-static + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=OFF + make + ) + + make -C build-shared DESTDIR=$PKG install + make -C build-static DESTDIR=$PKG install + + cd $PKG/usr/lib + for lib in *.so; do + ln -sf "${lib}" "${lib}.0" + done +}