[arch-commits] Commit in glslang/repos (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Apr 14 12:29:10 UTC 2016


    Date: Thursday, April 14, 2016 @ 14:29:10
  Author: svenstaro
Revision: 170991

archrelease: copy trunk to community-x86_64, community-i686

Added:
  glslang/repos/community-i686/PKGBUILD
    (from rev 170990, glslang/trunk/PKGBUILD)
  glslang/repos/community-x86_64/PKGBUILD
    (from rev 170990, glslang/trunk/PKGBUILD)
Deleted:
  glslang/repos/community-i686/PKGBUILD
  glslang/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   72 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   26 ---------------
 community-x86_64/PKGBUILD |   26 ---------------
 3 files changed, 72 insertions(+), 52 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-04-14 12:29:00 UTC (rev 170990)
+++ community-i686/PKGBUILD	2016-04-14 12:29:10 UTC (rev 170991)
@@ -1,26 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=glslang
-_gitver=e1cd410
-pkgver=3.0.git.${_gitver}
-pkgrel=1
-pkgdesc='An OpenGL and OpenGL ES shader front end and validator'
-arch=('x86_64' 'i686')
-url='https://github.com/KhronosGroup/glslang'
-license=('BSD')
-depends=('gcc-libs')
-makedepends=('cmake' 'git')
-source=("git://github.com/KhronosGroup/glslang.git#commit=${_gitver}")
-sha256sums=('SKIP')
-
-build() {
-	cd "${srcdir}/${pkgname}"
-
-    mkdir build && cd build
-	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}/build"
-	make DESTDIR="${pkgdir}" install
-}

Copied: glslang/repos/community-i686/PKGBUILD (from rev 170990, glslang/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-04-14 12:29:10 UTC (rev 170991)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=glslang
+_gitver=e1cd410
+pkgver=3.0.git1.${_gitver}
+pkgrel=1
+pkgdesc='An OpenGL and OpenGL ES shader front end and validator'
+arch=('x86_64' 'i686')
+url='https://github.com/KhronosGroup/glslang'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('cmake' 'git')
+source=("git://github.com/KhronosGroup/glslang.git#commit=${_gitver}")
+sha256sums=('SKIP')
+
+build() {
+	cd "${srcdir}/${pkgname}"
+
+    mkdir build && cd build
+	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}/build"
+	make DESTDIR="${pkgdir}" install
+
+    cd ..
+    mkdir -p "${pkgdir}/usr/include/glslang/SPIRV"
+    cp SPIRV/*.h "${pkgdir}/usr/include/glslang/SPIRV"
+
+    mkdir -p "${pkgdir}/usr/include/glslang/glslang/"{Include,MachineIndependent,OSDependent,Public}
+    cp glslang/Include/*.h "${pkgdir}/usr/include/glslang/glslang/Include/"
+    cp glslang/MachineIndependent/*.h "${pkgdir}/usr/include/glslang/glslang/MachineIndependent/"
+    cp glslang/OSDependent/*.h "${pkgdir}/usr/include/glslang/glslang/OSDependent/"
+    cp glslang/Public/*.h "${pkgdir}/usr/include/glslang/glslang/Public/"
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-04-14 12:29:00 UTC (rev 170990)
+++ community-x86_64/PKGBUILD	2016-04-14 12:29:10 UTC (rev 170991)
@@ -1,26 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=glslang
-_gitver=e1cd410
-pkgver=3.0.git.${_gitver}
-pkgrel=1
-pkgdesc='An OpenGL and OpenGL ES shader front end and validator'
-arch=('x86_64' 'i686')
-url='https://github.com/KhronosGroup/glslang'
-license=('BSD')
-depends=('gcc-libs')
-makedepends=('cmake' 'git')
-source=("git://github.com/KhronosGroup/glslang.git#commit=${_gitver}")
-sha256sums=('SKIP')
-
-build() {
-	cd "${srcdir}/${pkgname}"
-
-    mkdir build && cd build
-	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}/build"
-	make DESTDIR="${pkgdir}" install
-}

Copied: glslang/repos/community-x86_64/PKGBUILD (from rev 170990, glslang/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-04-14 12:29:10 UTC (rev 170991)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=glslang
+_gitver=e1cd410
+pkgver=3.0.git1.${_gitver}
+pkgrel=1
+pkgdesc='An OpenGL and OpenGL ES shader front end and validator'
+arch=('x86_64' 'i686')
+url='https://github.com/KhronosGroup/glslang'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('cmake' 'git')
+source=("git://github.com/KhronosGroup/glslang.git#commit=${_gitver}")
+sha256sums=('SKIP')
+
+build() {
+	cd "${srcdir}/${pkgname}"
+
+    mkdir build && cd build
+	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}/build"
+	make DESTDIR="${pkgdir}" install
+
+    cd ..
+    mkdir -p "${pkgdir}/usr/include/glslang/SPIRV"
+    cp SPIRV/*.h "${pkgdir}/usr/include/glslang/SPIRV"
+
+    mkdir -p "${pkgdir}/usr/include/glslang/glslang/"{Include,MachineIndependent,OSDependent,Public}
+    cp glslang/Include/*.h "${pkgdir}/usr/include/glslang/glslang/Include/"
+    cp glslang/MachineIndependent/*.h "${pkgdir}/usr/include/glslang/glslang/MachineIndependent/"
+    cp glslang/OSDependent/*.h "${pkgdir}/usr/include/glslang/glslang/OSDependent/"
+    cp glslang/Public/*.h "${pkgdir}/usr/include/glslang/glslang/Public/"
+}



More information about the arch-commits mailing list