- Drop unused static libraries, functions of libOGLCompilerDLL and
libOSDependent are actually present in libglslang already. [boo#1153950] OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=58
This commit is contained in:
parent
3d22af92d7
commit
ffd72dc9d6
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 21:01:23 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Drop unused static libraries, functions of libOGLCompilerDLL and
|
||||||
|
libOSDependent are actually present in libglslang already.
|
||||||
|
[boo#1153950]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 7 15:57:52 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Sat Sep 7 15:57:52 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -82,6 +82,7 @@ make %{?_smp_mflags}
|
|||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
%cmake_install
|
%cmake_install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
|
find "$b" -type f -name "*.a" -print -delete
|
||||||
mkdir -p "$b/%_includedir"
|
mkdir -p "$b/%_includedir"
|
||||||
cp -a SPIRV glslang "$b/%_includedir/"
|
cp -a SPIRV glslang "$b/%_includedir/"
|
||||||
find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete
|
find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete
|
||||||
@ -89,6 +90,11 @@ ln -s SPIRV/spirv.hpp "$b/%_includedir/"
|
|||||||
find "$b/%_includedir/" -type f -exec chmod a-x "{}" "+"
|
find "$b/%_includedir/" -type f -exec chmod a-x "{}" "+"
|
||||||
cp build/StandAlone/libglslang-default-resource-limits.so "$b/%_libdir/"
|
cp build/StandAlone/libglslang-default-resource-limits.so "$b/%_libdir/"
|
||||||
|
|
||||||
|
# 3rd party programs use -lOGLCompiler (because pristine glslang ships .a files),
|
||||||
|
# so satisfy them under our shared build.
|
||||||
|
ln -s libglslang.so "$b/%_libdir/libOGLCompilerDLL.so"
|
||||||
|
ln -s libglslang.so "$b/%_libdir/libOSDependent.so"
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -100,9 +106,10 @@ cp build/StandAlone/libglslang-default-resource-limits.so "$b/%_libdir/"
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_bindir/gls*
|
%_bindir/gls*
|
||||||
%_bindir/spirv*
|
%_bindir/spirv*
|
||||||
%_libdir/*.a
|
|
||||||
%_libdir/*resource*.so
|
%_libdir/*resource*.so
|
||||||
%_libdir/libHLSL.so
|
%_libdir/libHLSL.so
|
||||||
|
%_libdir/libOGLCompilerDLL.so
|
||||||
|
%_libdir/libOSDependent.so
|
||||||
%_libdir/libSPIRV.so
|
%_libdir/libSPIRV.so
|
||||||
%_libdir/libSPVRemapper.so
|
%_libdir/libSPVRemapper.so
|
||||||
%_libdir/libglslang.so
|
%_libdir/libglslang.so
|
||||||
|
Loading…
Reference in New Issue
Block a user