[packages/dssim2] - updated to 3.4.0
qboosh
qboosh at pld-linux.org
Sat Mar 22 19:09:09 CET 2025
commit 3ca395503f5069e18f90a9d9b84bb1dfd19d4896
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 22 18:50:31 2025 +0100
- updated to 3.4.0
dssim2.spec | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/dssim2.spec b/dssim2.spec
index 259a21a..784b4ae 100644
--- a/dssim2.spec
+++ b/dssim2.spec
@@ -6,23 +6,23 @@
Summary: Tool to compute (dis)similarity between two or more images
Summary(pl.UTF-8): Narzędzie do obliczania (nie)podobieństwa dwóch lub większej liczby obrazów
Name: dssim2
-Version: 3.2.3
+Version: 3.4.0
Release: 1
License: AGPL v3+ or commercial
Group: Applications/Graphics
-#Source0Download: https://github.com/pornel/dssim/releases
-Source0: https://github.com/pornel/dssim/archive/%{version}/dssim-%{version}.tar.gz
-# Source0-md5: 4226a24d7728b77cfb490b03831d7f07
+#Source0Download: https://github.com/kornelski/dssim/releases
+Source0: https://github.com/kornelski/dssim/archive/%{version}/dssim-%{version}.tar.gz
+# Source0-md5: c220e2b2c9cebdfc1e4faf0ccfad570b
# cd dssim-%{version}
-# cargo vendor
+# cargo vendor-filterer --platform='*-unknown-linux-*' --tier=2 --features avif,webp
# cd ..
# tar cJf dssim-vendor-%{version}.tar.xz dssim-%{version}/{vendor,Cargo.lock}
Source1: dssim-vendor-%{version}.tar.xz
-# Source1-md5: 02c25d610a0644876e4588daa6a42b85
+# Source1-md5: fb6facbe03cb6236db8c646937d52892
URL: https://kornel.ski/dssim
-%{?with_aom:BuildRequires: aom-devel >= 3.3.0}
+%{?with_aom:BuildRequires: aom-devel >= 3.10.0}
BuildRequires: cargo
-BuildRequires: lcms2-devel >= 2.13.1
+BuildRequires: lcms2-devel >= 2.16
%{?with_webp:BuildRequires: libwebp-devel}
%ifarch %{ix86} %{x8664} x32
BuildRequires: nasm
@@ -32,8 +32,8 @@ BuildRequires: rust
BuildRequires: sed >= 4.0
BuildRequires: tar >= 1:1.22
BuildRequires: xz
-%{?with_aom:Requires: aom >= 3.3.0}
-Requires: lcms2 >= 2.13.1
+%{?with_aom:Requires: aom >= 3.10.0}
+Requires: lcms2 >= 2.16
Obsoletes: dssim < 2
ExclusiveArch: %{x8664} %{ix86} x32 aarch64 armv6hl armv7hl armv7hnl
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -70,7 +70,7 @@ EOF
# shared aom (also fixes x32 build, builtin aom linking fails)
%{__sed} -i -e 's/cargo:rustc-link-lib=static=aom/cargo:rustc-link-lib=aom/' vendor/libaom-sys/build.rs
-%{__sed} -i -e 's/"build.rs":"e20f251c0f9cbe97b298d4575259f9583633fb9526c61c52cc9abe5a94769284"/"build.rs":"b9ce3f79373bed7310a8da968620b3d97f907fd54e266a7f38f5f4090a007ea9"/' vendor/libaom-sys/.cargo-checksum.json
+%{__sed} -i -e 's/"build.rs":"8d94ba3471da74dd30bf1af5fb1d3c080c605bc59a9f09587b0123b516576cc8"/"build.rs":"8e132aec467850ebc0bfd4cc69f8e951532a2f9b055a8a40c0fbff232a0ea931"/' vendor/libaom-sys/.cargo-checksum.json
# shared lcms2
%{__sed} -i -e '/^load_image = / s/, features = \["lcms2-static"\]//' Cargo.toml
@@ -97,9 +97,6 @@ export LIB_AOM_STATIC_LIB_PATH=%{_libdir}
--path . \
--root $RPM_BUILD_ROOT%{_prefix}
-%{__rm} $RPM_BUILD_ROOT%{_prefix}/.crates.toml
-%{__rm} $RPM_BUILD_ROOT%{_prefix}/.crates2.json
-
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dssim2.git/commitdiff/3ca395503f5069e18f90a9d9b84bb1dfd19d4896
More information about the pld-cvs-commit
mailing list