From: Jakub Bogusz Date: Sat, 24 Apr 2021 20:07:42 +0000 (+0200) Subject: - updated to 1.11.0 X-Git-Tag: auto/th/libheif-1.11.0-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4d2cff7e3ec18bf3024ca794fd779dc0ad6b3aee;p=packages%2Flibheif.git - updated to 1.11.0 - removed obsolete pc patch --- diff --git a/libheif-pc.patch b/libheif-pc.patch deleted file mode 100644 index 9068cdf..0000000 --- a/libheif-pc.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- libheif-1.3.2/libheif.pc.in.orig 2018-06-15 12:24:43.000000000 +0200 -+++ libheif-1.3.2/libheif.pc.in 2018-12-22 08:53:32.974055566 +0100 -@@ -10,6 +10,7 @@ - URL: https://github.com/strukturag/libheif - Version: @VERSION@ - Requires: -+Requires.private: aom libde265 x265 - Libs: -L@libdir@ -lheif - Libs.private: @LIBS@ -lstdc++ - Cflags: -I@includedir@ diff --git a/libheif.spec b/libheif.spec index 8fb13a6..bc5e629 100644 --- a/libheif.spec +++ b/libheif.spec @@ -1,23 +1,25 @@ # # Conditional build: +%bcond_with golang # Go examples %bcond_without tests # don't perform "make check" +%bcond_without rav1e # rav1e encoder # Summary: ISO/IEC 23008-12:2017 HEIF file format decoder and encoder Summary(pl.UTF-8): Koder i dekoder formatu plików HEIF zgodnego z ISO/IEC 23008-12:2017 Name: libheif -Version: 1.9.1 +Version: 1.11.0 Release: 1 License: LGPL v3+ (library), GPL v3+ (tools) Group: Libraries #Source0Download: https://github.com/strukturag/libheif/releases/ Source0: https://github.com/strukturag/libheif/releases/download/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 3e7462f4c864209c438256dc019cbbd0 -Patch0: %{name}-pc.patch -Patch1: %{name}-gdkpixbuf.patch +# Source0-md5: 1927b1507d33eaf2b8714239d9dbbde8 +Patch0: %{name}-gdkpixbuf.patch URL: https://github.com/strukturag/libheif BuildRequires: aom-devel BuildRequires: autoconf >= 2.68 BuildRequires: automake >= 1:1.13 +BuildRequires: dav1d-devel BuildRequires: gdk-pixbuf2-devel >= 2.0 BuildRequires: libde265-devel BuildRequires: libjpeg-devel @@ -26,6 +28,7 @@ BuildRequires: libstdc++-devel >= 6:4.7 BuildRequires: libtool >= 2:2 BuildRequires: libx265-devel BuildRequires: pkgconfig +%{?with_rav1e:BuildRequires: rav1e-devel} BuildRequires: rpmbuild(macros) >= 1.734 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -60,9 +63,11 @@ License: LGPL v3+ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: aom-devel +Requires: dav1d-devel Requires: libde265-devel Requires: libstdc++-devel >= 6:4.7 Requires: libx265-devel +%{?with_rav1e:Requires: rav1e-devel} %description devel The header files are only needed for development of programs using the @@ -113,7 +118,6 @@ Wtyczka gdk-pixbuf do obsługi plików HEIF. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %{__libtoolize} @@ -122,9 +126,8 @@ Wtyczka gdk-pixbuf do obsługi plików HEIF. %{__autoheader} %{__automake} %configure \ -%ifarch x32 - --disable-go -%endif + %{!?with_golang:--disable-go} \ + %{!?with_rav1e:--disable-rav1e} %{__make}