graphics/libplacebo: Updated for version 1.21.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2019-11-01 06:21:35 +07:00 committed by Willy Sudiarto Raharjo
parent 4e0d8f7240
commit 15bf73bcd0
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 5 additions and 21 deletions

View file

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libplacebo
VERSION=${VERSION:-1.18.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.21.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -78,10 +78,6 @@ else
RELEASE=plain
fi
# Fixes the SPIRV-tools build
# https://code.videolan.org/videolan/libplacebo/issues/67
patch -p1 < $CWD/spirv-tools.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson \

View file

@ -1,8 +1,8 @@
PRGNAM="libplacebo"
VERSION="1.18.0"
VERSION="1.21.0"
HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
DOWNLOAD="https://code.videolan.org/videolan/libplacebo/-/archive/v1.18.0/libplacebo-v1.18.0.tar.gz"
MD5SUM="bc1758d2056092728bd95d9c511d37d1"
DOWNLOAD="https://code.videolan.org/videolan/libplacebo/-/archive/v1.21.0/libplacebo-v1.21.0.tar.gz"
MD5SUM="2bbb7edf8ebc08c76c6c8150b48136c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="meson vulkan-sdk"

View file

@ -1,12 +0,0 @@
diff -ur libplacebo-v1.18.0.orig/src/meson.build libplacebo-v1.18.0/src/meson.build
--- libplacebo-v1.18.0.orig/src/meson.build 2019-02-14 10:11:33.000000000 -0800
+++ libplacebo-v1.18.0/src/meson.build 2019-08-09 07:23:04.838656296 -0700
@@ -63,6 +63,8 @@
cxx.find_library('OGLCompiler', required: glslang_req),
cxx.find_library('OSDependent', required: glslang_req),
cxx.find_library('SPIRV', required: glslang_req),
+ cxx.find_library('SPIRV-Tools', required: glslang_req),
+ cxx.find_library('SPIRV-Tools-opt', required: glslang_req),
cxx.find_library('SPVRemapper', required: glslang_req),
]