Browse Source

mozjpeg-4.0.3-2

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
0daf5e32da
1 changed files with 9 additions and 2 deletions
  1. 9 2
      m/mozjpeg/mozjpeg-vl.spec

+ 9 - 2
m/mozjpeg/mozjpeg-vl.spec

@@ -1,10 +1,10 @@
-%bcond_without shared
+%bcond_with shared
 
 Summary:        Improved JPEG encoder
 Summary(ja):    改良されたJPEGエンコーダ
 Name:           mozjpeg
 Version:        4.0.3
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Group:          graphics
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -19,6 +19,10 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  cmake
 BuildRequires:  libpng-devel
 BuildRequires:  zlib-devel
+%if !%{with shared}
+BuildRequires:  libpng-static
+BuildRequires:  zlib-static
+%endif
 %ifarch %{ix86} x86_64
 BuildRequires:  nasm
 %endif
@@ -113,6 +117,9 @@ rm -rf %{buildroot}%{_libdir}/*
 
 
 %changelog
+* Thu Sep 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
+- rebuilt as statically linked binary.
+
 * Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
 - new upstream release.