Date: Saturday, October 15, 2022 @ 21:58:55
  Author: felixonmars
Revision: 458232

archrelease: copy trunk to extra-x86_64

Added:
  kimageformats/repos/extra-x86_64/PKGBUILD
    (from rev 458231, kimageformats/trunk/PKGBUILD)
  kimageformats/repos/extra-x86_64/keys/
Deleted:
  kimageformats/repos/extra-x86_64/PKGBUILD
  kimageformats/repos/extra-x86_64/keys/

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 46 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-15 21:58:43 UTC (rev 458231)
+++ PKGBUILD    2022-10-15 21:58:55 UTC (rev 458232)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Maintainer: Antonio Rojas <aro...@archlinux.org>
-# Contributor: Andrea Scarpino <and...@archlinux.org>
-
-pkgname=kimageformats
-pkgver=5.99.0
-pkgrel=1
-pkgdesc='Image format plugins for Qt5'
-arch=(x86_64)
-url='https://community.kde.org/Frameworks'
-license=(LGPL)
-depends=(qt5-base)
-makedepends=(extra-cmake-modules karchive libavif openexr libheif libjxl 
libraw)
-optdepends=('karchive: plugin for Krita and OpenRaster images'
-            'libavif: AVIF format support'
-            'openexr: EXR format support'
-            'libheif: HEIF format support'
-            'libjxl: JPEG-XL format support'
-            'libraw: RAW format support')
-groups=(kf5)
-source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('06e636d4fe03d8d1b0bfed728d00c83fa639e2990fd5664a7101bd77621db1ee'
-            'SKIP')
-validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure 
<fa...@kde.org>
-options=(debug)
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DBUILD_TESTING=OFF \
-    -DKIMAGEFORMATS_HEIF=ON
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: kimageformats/repos/extra-x86_64/PKGBUILD (from rev 458231, 
kimageformats/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-15 21:58:55 UTC (rev 458232)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kimageformats
+pkgver=5.99.0
+pkgrel=2
+pkgdesc='Image format plugins for Qt5'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(qt5-base)
+makedepends=(extra-cmake-modules karchive libavif openexr libheif libjxl 
libraw)
+optdepends=('karchive: plugin for Krita and OpenRaster images'
+            'libavif: AVIF format support'
+            'openexr: EXR format support'
+            'libheif: HEIF format support'
+            'libjxl: JPEG-XL format support'
+            'libraw: RAW format support')
+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)
+sha256sums=('06e636d4fe03d8d1b0bfed728d00c83fa639e2990fd5664a7101bd77621db1ee'
+            'SKIP'
+            'a1404be57e245147b01d448b89ed544d865d539d8d09c8cfb9fed6888faf3814'
+            'eab2193bf7e00bc2ee7bd53ef7f553bb3cbc86c86f3ba46585c9589024bb76f9')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure 
<fa...@kde.org>
+options=(debug)
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kimageformats-avif-fix-1.patch
+  patch -p1 -i ../kimageformats-avif-fix-2.patch
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DKIMAGEFORMATS_HEIF=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to