]> git.pld-linux.org Git - packages/libheif.git/commitdiff
- updated to 1.11.0
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Apr 2021 20:07:42 +0000 (22:07 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Apr 2021 20:07:42 +0000 (22:07 +0200)
- removed obsolete pc patch

libheif-pc.patch [deleted file]
libheif.spec

diff --git a/libheif-pc.patch b/libheif-pc.patch
deleted file mode 100644 (file)
index 9068cdf..0000000
+++ /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@
index 8fb13a6fe39b4e920de461bb5a30ab654fa37057..bc5e6291ec7d7bfdac8ccdd08bbe442bae02e452 100644 (file)
@@ -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}
 
This page took 0.155362 seconds and 4 git commands to generate.