glslang add to repo
This commit is contained in:
Executable
+37
@@ -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")
|
||||||
Executable
+56
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>glslang</Name>
|
||||||
|
<Homepage>https://github.com/KhronosGroup/glslang</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>BSD</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>OpenGL and OpenGL ES shader front end and validator</Summary>
|
||||||
|
<Description>OpenGL and OpenGL ES shader front end and validator</Description>
|
||||||
|
<Archive sha1sum="b8912b15db168a25043f0623594155a2d4597f1d" type="targz">https://github.com/KhronosGroup/glslang/archive/8.13.3559.tar.gz</Archive>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>glslang</Name>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>glslang-32bit</Name>
|
||||||
|
<BuildType>emul32</BuildType>
|
||||||
|
<PartOf>emul32</PartOf>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/bin/*32</Path>
|
||||||
|
<Path fileType="library">/usr/lib32</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>glslang-devel</Name>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-01-11</Date>
|
||||||
|
<Version>8.13.3559</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user