[packages/shaderc] fixup pc file for updated shared library name; rel 2

atler atler at pld-linux.org
Sun May 2 22:04:03 CEST 2021


commit 7794a13c2ee628fa7de7a5f8528da27bee2f20e8
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun May 2 22:02:26 2021 +0200

    fixup pc file for updated shared library name; rel 2

 shaderc-shared.patch | 10 ++++++++++
 shaderc.spec         |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/shaderc.spec b/shaderc.spec
index 7b8e40e..39dda9c 100644
--- a/shaderc.spec
+++ b/shaderc.spec
@@ -3,7 +3,7 @@ Summary:	Collection of tools, libraries and tests for shader compilation
 Summary(pl.UTF-8):	Zestaw narzędzi, bibliotek i testów do kompilacji shaderów
 Name:		shaderc
 Version:	2021.0
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Libraries
 #Source0Download: https://github.com/google/shaderc/releases
diff --git a/shaderc-shared.patch b/shaderc-shared.patch
index b487f11..ed07e70 100644
--- a/shaderc-shared.patch
+++ b/shaderc-shared.patch
@@ -41,3 +41,13 @@
  add_dependencies(glslc_exe build-version)
  
  shaderc_add_tests(
+--- shaderc-2021.0/CMakeLists.txt.orig	2021-05-02 21:59:17.590975179 +0200
++++ shaderc-2021.0/CMakeLists.txt	2021-05-02 22:00:32.646136904 +0200
+@@ -150,6 +150,6 @@
+   endif()
+ endfunction()
+ 
+-define_pkg_config_file(shaderc -lshaderc_shared)
++define_pkg_config_file(shaderc -lshaderc)
+ define_pkg_config_file(shaderc_static "-lshaderc ${EXTRA_STATIC_PKGCONFIG_LIBS} -lshaderc_util")
+ define_pkg_config_file(shaderc_combined -lshaderc_combined)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/shaderc.git/commitdiff/cbd2c1f5ea62068c9fd0cdc45cf040186f78fdc1



More information about the pld-cvs-commit mailing list