[arch-commits] Commit in libplacebo/repos/extra-x86_64 (3 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Dec 9 15:27:54 UTC 2018


    Date: Sunday, December 9, 2018 @ 15:27:53
  Author: svenstaro
Revision: 341389

archrelease: copy trunk to extra-x86_64

Added:
  libplacebo/repos/extra-x86_64/5278a77eacb35559b65aca656c060b42c1fe5926.patch
    (from rev 341388, libplacebo/trunk/5278a77eacb35559b65aca656c060b42c1fe5926.patch)
  libplacebo/repos/extra-x86_64/PKGBUILD
    (from rev 341388, libplacebo/trunk/PKGBUILD)
Deleted:
  libplacebo/repos/extra-x86_64/PKGBUILD

------------------------------------------------+
 5278a77eacb35559b65aca656c060b42c1fe5926.patch |   35 +++++++++
 PKGBUILD                                       |   84 ++++++++++++-----------
 2 files changed, 81 insertions(+), 38 deletions(-)

Copied: libplacebo/repos/extra-x86_64/5278a77eacb35559b65aca656c060b42c1fe5926.patch (from rev 341388, libplacebo/trunk/5278a77eacb35559b65aca656c060b42c1fe5926.patch)
===================================================================
--- 5278a77eacb35559b65aca656c060b42c1fe5926.patch	                        (rev 0)
+++ 5278a77eacb35559b65aca656c060b42c1fe5926.patch	2018-12-09 15:27:53 UTC (rev 341389)
@@ -0,0 +1,35 @@
+From 5278a77eacb35559b65aca656c060b42c1fe5926 Mon Sep 17 00:00:00 2001
+From: Niklas Haas <git at haasn.xyz>
+Date: Fri, 28 Sep 2018 18:18:15 +0200
+Subject: [PATCH] glslang: update for new glslang version
+
+This adds some new members to this struct. I still have zero clue why
+they don't provide this structure for us, so we don't have to copy/paste
+it from example code..
+---
+ src/glsl/glslang.cc | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/src/glsl/glslang.cc b/src/glsl/glslang.cc
+index d0fd081..8b98bf6 100644
+--- a/src/glsl/glslang.cc
++++ b/src/glsl/glslang.cc
+@@ -192,6 +192,18 @@ const TBuiltInResource DefaultTBuiltInResource = {
+     /* .MaxCullDistances = */ 8,
+     /* .MaxCombinedClipAndCullDistances = */ 8,
+     /* .MaxSamples = */ 4,
++#if GLSLANG_PATCH_LEVEL >= 2892
++    /* .maxMeshOutputVerticesNV = */ 256,
++    /* .maxMeshOutputPrimitivesNV = */ 512,
++    /* .maxMeshWorkGroupSizeX_NV = */ 32,
++    /* .maxMeshWorkGroupSizeY_NV = */ 1,
++    /* .maxMeshWorkGroupSizeZ_NV = */ 1,
++    /* .maxTaskWorkGroupSizeX_NV = */ 32,
++    /* .maxTaskWorkGroupSizeY_NV = */ 1,
++    /* .maxTaskWorkGroupSizeZ_NV = */ 1,
++    /* .maxMeshViewCountNV = */ 4,
++#endif
++
+     /* .limits = */ {
+         /* .nonInductiveForLoops = */ 1,
+         /* .whileLoops = */ 1,

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-09 15:27:48 UTC (rev 341388)
+++ PKGBUILD	2018-12-09 15:27:53 UTC (rev 341389)
@@ -1,38 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=libplacebo
-pkgver=0.6.0
-pkgrel=1
-pkgdesc='Reusable library for GPU-accelerated video/image rendering primitives'
-url='https://github.com/haasn/libplacebo'
-arch=('x86_64')
-license=('LGPL2.1')
-depends=('vulkan-icd-loader' 'glslang' 'lcms2' 'shaderc' 'libshaderc_shared.so')
-makedepends=('meson' 'ninja' 'vulkan-headers')
-provides=('libplacebo.so')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/haasn/libplacebo/archive/v${pkgver}.tar.gz)
-sha512sums=('7a5bad9b68553e7d7a9e0d89867d651ec211b0d5478d9c5398e95f39956569829004755b0276d0d8cad6bd7c290016cff454d1449f58a477046dba6c638e59d6')
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  arch-meson build \
-    -D tests=true \
-    -D vulkan=enabled \
-    -D glslang=enabled \
-    -D shaderc=enabled \
-    -D lcms=enabled
-  ninja -C build
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  ninja -C build test
-}
-
-package() {
-  cd ${pkgbase}-${pkgver}
-  DESTDIR="${pkgdir}" ninja -C build install
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: libplacebo/repos/extra-x86_64/PKGBUILD (from rev 341388, libplacebo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-09 15:27:53 UTC (rev 341389)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libplacebo
+pkgver=0.6.0
+pkgrel=2
+pkgdesc='Reusable library for GPU-accelerated video/image rendering primitives'
+url='https://github.com/haasn/libplacebo'
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('vulkan-icd-loader' 'glslang' 'lcms2' 'shaderc' 'libshaderc_shared.so')
+makedepends=('meson' 'ninja' 'vulkan-headers')
+provides=('libplacebo.so')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/haasn/libplacebo/archive/v${pkgver}.tar.gz
+        5278a77eacb35559b65aca656c060b42c1fe5926.patch)
+sha512sums=('7a5bad9b68553e7d7a9e0d89867d651ec211b0d5478d9c5398e95f39956569829004755b0276d0d8cad6bd7c290016cff454d1449f58a477046dba6c638e59d6'
+            '73f0b475a4849c08c9005d26e23ceeaaa9851f04df58116f846341490369ca70a9bf9689cfd741afc0af21b4d190dff1f9364b9b9e1ddb6b1d4679e736865179')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+
+  patch -Np1 -i "${srcdir}"/5278a77eacb35559b65aca656c060b42c1fe5926.patch
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  arch-meson build \
+    -D tests=true \
+    -D vulkan=enabled \
+    -D glslang=enabled \
+    -D shaderc=enabled \
+    -D lcms=enabled
+  ninja -C build
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  ninja -C build test
+}
+
+package() {
+  cd ${pkgbase}-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list