git » kimageformats.git » commit 5f2c587

libavif 0.11 rebuild

author Antonio Rojas
2022-11-08 22:55:05 UTC
committer Antonio Rojas
2022-11-08 22:55:05 UTC
parent f60cbdbb9fabea2e8b8d6a2c8747eb937243d147

libavif 0.11 rebuild

PKGBUILD +6 -3

diff --git a/PKGBUILD b/PKGBUILD
index a3cb98a..c935851 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kimageformats
 pkgver=5.99.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Image format plugins for Qt5'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -20,11 +20,13 @@ optdepends=('karchive: plugin for Krita and OpenRaster images'
 groups=(kf5)
 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
         kimageformats-avif-fix-1.patch::https://invent.kde.org/frameworks/kimageformats/-/commit/350ce1b990460cb2178f369f22fe80803f5645f3.patch
-        kimageformats-avif-fix-2.patch::https://invent.kde.org/frameworks/kimageformats/-/commit/1190e53e9b69da6f9663ceb75c4813c5708b7cbd.patch)
+        kimageformats-avif-fix-2.patch::https://invent.kde.org/frameworks/kimageformats/-/commit/1190e53e9b69da6f9663ceb75c4813c5708b7cbd.patch
+        https://invent.kde.org/frameworks/kimageformats/-/commit/f475a4b2.patch)
 sha256sums=('06e636d4fe03d8d1b0bfed728d00c83fa639e2990fd5664a7101bd77621db1ee'
             'SKIP'
             'a1404be57e245147b01d448b89ed544d865d539d8d09c8cfb9fed6888faf3814'
-            'eab2193bf7e00bc2ee7bd53ef7f553bb3cbc86c86f3ba46585c9589024bb76f9')
+            'eab2193bf7e00bc2ee7bd53ef7f553bb3cbc86c86f3ba46585c9589024bb76f9'
+            'a9b4e458d237333cd3c638e9fea832ef2eb752149b3e9d12c0e8127a9f12565f')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 options=(debug)
 
@@ -32,6 +34,7 @@ prepare() {
   cd $pkgname-$pkgver
   patch -p1 -i ../kimageformats-avif-fix-1.patch
   patch -p1 -i ../kimageformats-avif-fix-2.patch
+  patch -p1 -i ../f475a4b2.patch # Fix build with libavif 0.11
 }
 
 build() {