24 lines
703 B
Plaintext
24 lines
703 B
Plaintext
# 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: Pedja, predivan at mts dot rs
|
|
# Depends on: cmake git
|
|
|
|
name=glslang
|
|
version=7.10.2984
|
|
release=1
|
|
source=(https://github.com/KhronosGroup/glslang/archive/$version/$name-$version.tar.gz)
|
|
#source=(https://bitbucket.org/predivan/distfiles/downloads/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
python update_glslang_sources.py
|
|
mkdir build
|
|
cd build
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBUILD_SHARED_LIBS=ON ../
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|