libplacebo: update to 1.7.0.

This commit is contained in:
maxice8 2018-12-21 23:47:13 -02:00 committed by maxice8
parent c5d7c323bb
commit 06b5f44b30
3 changed files with 5 additions and 20 deletions

View File

@ -3250,7 +3250,7 @@ libkid3-gui.so.3.6.2 kid3-3.6.2_1
libcfitsio.so.3 cfitsio-3.450_1
libapparmor.so.1 libapparmor-2.12.0_1
libgsettings-qt.so.1 gsettings-qt-0.1+17.10.20170824_1
libplacebo.so.6 libplacebo-0.6.0_1
libplacebo.so.7 libplacebo-1.7.0_1
libw2xc.so waifu2x-converter-cpp-5.2_1
libnova-0.15.so.0 libnova-0.15.0_1
libdtkcore.so.2 dtkcore-2.0.6_1

View File

@ -1,15 +0,0 @@
Source: maxice8
Upstream: no, revert of https://github.com/haasn/libplacebo/commit/bcb73f3ae243f515d5c60b5d72db5e386987ef8e
Reason: fixes compilation with our shaderc
--- src/spirv_shaderc.c
+++ src/spirv_shaderc.c
@@ -68,7 +68,7 @@ static bool shaderc_init(struct spirv_compiler *spirv)
goto error;
shaderc_compile_options_set_optimization_level(p->opts,
- shaderc_optimization_level_performance);
+ shaderc_optimization_level_size);
int ver, rev;
shaderc_get_spv_version(&ver, &rev);

View File

@ -1,9 +1,9 @@
# Template file for 'libplacebo'
pkgname=libplacebo
version=0.6.0
version=1.7.0
revision=1
build_style=meson
configure_args="-Dvulkan=enabled -Dglslang=disabled -Dshaderc=enabled"
configure_args="-Dvulkan=enabled -Dglslang=enabled -Dshaderc=enabled"
hostmakedepends="pkg-config"
makedepends="vulkan-loader glslang-devel shaderc Vulkan-Headers lcms2-devel"
short_desc="Reusable library for GPU-accelerated video/image rendering"
@ -11,10 +11,10 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/haasn/libplacebo"
distfiles="https://github.com/haasn/libplacebo/archive/v${version}.tar.gz"
checksum=199b0b76be2c20d1ef9c78bea1e2409781026398c9689187e5e5d69a775e65ee
checksum=5ee618bee614aeae9f8bb526329824468f93c740e8fd37fd46d58114fd7977eb
libplacebo-devel_package() {
depends="libplacebo-${version}_${revision} vulkan-loader"
depends="libplacebo-${version}_${revision} vulkan-loader lcms2-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include