[packages/svt-jpegxs] Use svt-jpeg-xs.spec

arekm arekm at pld-linux.org
Mon Jun 15 17:06:23 CEST 2026


commit c8198677f1202e6975856445aaf186ca814908a2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jun 15 17:05:42 2026 +0200

    Use svt-jpeg-xs.spec

 svt-jpegxs.spec | 86 ---------------------------------------------------------
 1 file changed, 86 deletions(-)
---
diff --git a/svt-jpegxs.spec b/svt-jpegxs.spec
deleted file mode 100644
index 015e227..0000000
--- a/svt-jpegxs.spec
+++ /dev/null
@@ -1,86 +0,0 @@
-# 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.
-# 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
-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
-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 >= 6:4.7
-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
-
-%{__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}/SvtJpegxsDecApp
-%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
-%{_includedir}/svt-jpegxs
-%{_pkgconfigdir}/SvtJpegxs.pc
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list