[packages/svt-jpegxs] - cleanup, unified with svt-jpeg-xs.spec

qboosh qboosh at pld-linux.org
Sun Jun 14 19:13:45 CEST 2026


commit 3718bf8030e9c1cc6410d4523642357c8987c29d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 14 19:14:07 2026 +0200

    - cleanup, unified with svt-jpeg-xs.spec

 svt-jpegxs.spec | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/svt-jpegxs.spec b/svt-jpegxs.spec
index 4c94e26..015e227 100644
--- a/svt-jpegxs.spec
+++ b/svt-jpegxs.spec
@@ -2,6 +2,7 @@
 # ffmpeg >= 8.1 requires SvtJpegxs >= 0.10.0 (the 0.9.0 release reports 0.9.0
 # and fails ffmpeg's pkg-config check). Switch Source0 back to a release tag
 # once upstream tags 0.10.0.
+# NASM code is broken on !x86_64
 %define		gitcommit	8e50180ad909a0bdcdf91b462c64033f0fe3e112
 %define		gitshort	%(echo %{gitcommit} | cut -c1-7)
 Summary:	SVT-JPEG-XS - Scalable Video Technology for JPEG-XS
@@ -9,13 +10,13 @@ Summary(pl.UTF-8):	SVT-JPEG-XS - Scalable Video Technology dla JPEG-XS
 Name:		svt-jpegxs
 Version:	0.10.0
 Release:	0.20260519.1
-License:	BSD-2-Clause-Patent
+License:	BSD
 Group:		Libraries
 Source0:	https://github.com/OpenVisualCloud/SVT-JPEG-XS/archive/%{gitcommit}/%{name}-%{version}-%{gitshort}.tar.gz
 # Source0-md5:	b735f2f34642e05d7c3c0f4084d90110
 URL:		https://github.com/OpenVisualCloud/SVT-JPEG-XS
 BuildRequires:	cmake >= 3.16
-BuildRequires:	libstdc++-devel
+BuildRequires:	libstdc++-devel >= 6:4.7
 BuildRequires:	rpmbuild(macros) >= 1.605
 %ifarch %{ix86} %{x8664}
 BuildRequires:	nasm >= 2.13
@@ -52,8 +53,7 @@ Pliki nagłówkowe biblioteki SVT-JPEG-XS.
 
 %build
 %cmake -B build \
-	-DENABLE_NASM=ON \
-	-DBUILD_SHARED_LIBS=ON
+	-DENABLE_NASM=ON
 
 %{__make} -C build
 
@@ -72,16 +72,15 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc LICENSE.md README.md
-%attr(755,root,root) %{_bindir}/SvtJpegxsEncApp
 %attr(755,root,root) %{_bindir}/SvtJpegxsDecApp
-%attr(755,root,root) %{_bindir}/SvtJpegxsSampleEncoder
+%attr(755,root,root) %{_bindir}/SvtJpegxsEncApp
 %attr(755,root,root) %{_bindir}/SvtJpegxsSampleDecoder
+%attr(755,root,root) %{_bindir}/SvtJpegxsSampleEncoder
 %{_libdir}/libSvtJpegxs.so.*.*.*
 %ghost %{_libdir}/libSvtJpegxs.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %{_libdir}/libSvtJpegxs.so
-%dir %{_includedir}/svt-jpegxs
-%{_includedir}/svt-jpegxs/*.h
+%{_includedir}/svt-jpegxs
 %{_pkgconfigdir}/SvtJpegxs.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/svt-jpegxs.git/commitdiff/3718bf8030e9c1cc6410d4523642357c8987c29d



More information about the pld-cvs-commit mailing list