[packages/svt-jpegxs] Initial
arekm
arekm at pld-linux.org
Fri Jun 12 19:45:26 CEST 2026
commit 18268dce96002ecd7b45c0489752a2cbd4971cf6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Jun 12 19:44:53 2026 +0200
Initial
svt-jpegxs.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
---
diff --git a/svt-jpegxs.spec b/svt-jpegxs.spec
new file mode 100644
index 0000000..4c94e26
--- /dev/null
+++ b/svt-jpegxs.spec
@@ -0,0 +1,87 @@
+# NOTE: snapshot of the main branch - upstream has not tagged 0.10.0 yet, but
+# 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.
+%define gitcommit 8e50180ad909a0bdcdf91b462c64033f0fe3e112
+%define gitshort %(echo %{gitcommit} | cut -c1-7)
+Summary: SVT-JPEG-XS - Scalable Video Technology for JPEG-XS
+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
+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: rpmbuild(macros) >= 1.605
+%ifarch %{ix86} %{x8664}
+BuildRequires: nasm >= 2.13
+%endif
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SVT-JPEG-XS (Scalable Video Technology for JPEG-XS) is an open-source
+JPEG-XS (ISO/IEC 21122) encoder and decoder library optimized for
+Intel architectures. JPEG-XS is a low-latency, visually lossless
+intra-frame codec for professional video transport.
+
+%description -l pl.UTF-8
+SVT-JPEG-XS (Scalable Video Technology dla JPEG-XS) to otwarta
+biblioteka kodera i dekodera JPEG-XS (ISO/IEC 21122), zoptymalizowana
+pod architektury Intela. JPEG-XS to wewnątrzklatkowy kodek o małych
+opóźnieniach i wizualnie bezstratnej jakości, przeznaczony do
+profesjonalnego przesyłania obrazu.
+
+%package devel
+Summary: Header files for SVT-JPEG-XS library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-JPEG-XS
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for SVT-JPEG-XS library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki SVT-JPEG-XS.
+
+%prep
+%setup -q -n SVT-JPEG-XS-%{gitcommit}
+
+%build
+%cmake -B build \
+ -DENABLE_NASM=ON \
+ -DBUILD_SHARED_LIBS=ON
+
+%{__make} -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%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}/SvtJpegxsSampleDecoder
+%{_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
+%{_pkgconfigdir}/SvtJpegxs.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/svt-jpegxs.git/commitdiff/18268dce96002ecd7b45c0489752a2cbd4971cf6
More information about the pld-cvs-commit
mailing list