summaryrefslogtreecommitdiff
path: root/user/libkexiv2
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-12 04:23:28 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commit229100ecde79f6f3d031eb618acccb5aa6195b22 (patch)
treef97440428c3a2112044ff8814cf03cb7002a117a /user/libkexiv2
parentb05ce5add8948fa72697935d192aa78b5205cce4 (diff)
downloadpackages-229100ecde79f6f3d031eb618acccb5aa6195b22.tar.gz
packages-229100ecde79f6f3d031eb618acccb5aa6195b22.tar.bz2
packages-229100ecde79f6f3d031eb618acccb5aa6195b22.tar.xz
packages-229100ecde79f6f3d031eb618acccb5aa6195b22.zip
user/[KDE Apps]: Update to 22.04.2
Diffstat (limited to 'user/libkexiv2')
-rw-r--r--user/libkexiv2/APKBUILD9
-rw-r--r--user/libkexiv2/backport.patch31
2 files changed, 37 insertions, 3 deletions
diff --git a/user/libkexiv2/APKBUILD b/user/libkexiv2/APKBUILD
index 6549cf034..5d61e8726 100644
--- a/user/libkexiv2/APKBUILD
+++ b/user/libkexiv2/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libkexiv2
-pkgver=20.08.1
+pkgver=22.04.2
pkgrel=0
pkgdesc="KDE integration with Exiv2 EXIF data library"
url="https://www.KDE.org/"
@@ -11,7 +11,9 @@ depends=""
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev cmake extra-cmake-modules exiv2-dev"
subpackages="$pkgname-dev"
-source="https://download.kde.org/stable/release-service/$pkgver/src/libkexiv2-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/libkexiv2-$pkgver.tar.xz
+ backport.patch
+ "
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -36,4 +38,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="b112661c00cbcf24d26d0ffa1fa62d9593651b59dd7cd374c66215dfefacab36c63afb6a21d97af3063c7c9f6fe8bf47bfb59391391d5003d2d9b63f85779338 libkexiv2-20.08.1.tar.xz"
+sha512sums="b0698d268a88cf546a4cb028adc26170297e5c79e63e5d6cfcb1500292e7f73697b322055e31594c218b037db33447b68613c128a8c0baca0779fc973a5f6c8e libkexiv2-22.04.2.tar.xz
+b2623cd9ff92b7a86a4e9e1fbb691c1d548482a32e568e06936de48703ff80d927fa3b25779f63530875388c4e7fb94d6045beabae9ac043c652fc8826d3250c backport.patch"
diff --git a/user/libkexiv2/backport.patch b/user/libkexiv2/backport.patch
new file mode 100644
index 000000000..93d27e4a8
--- /dev/null
+++ b/user/libkexiv2/backport.patch
@@ -0,0 +1,31 @@
+From 6dce742b86d6f1a42f80017868759a8dca677b1d Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Thu, 19 May 2022 22:44:12 +0200
+Subject: [PATCH] Lower C++ standard from 17 to 14
+
+exiv is not C++17 compatible
+
+It uses e.g. auto_ptr in its headers
+
+CCBUG: 454050
+---
+ CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7f5b065..48ea18b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -13,6 +13,9 @@ cmake_minimum_required(VERSION ${CMAKE_MIN_VERSION})
+
+ project(libkexiv2 VERSION "5.0.0")
+
++set(CMAKE_CXX_STANDARD 14) # exiv is not compatible with C++ > 14 yet
++set(CMAKE_CXX_STANDARD_REQUIRED ON)
++
+ message(STATUS "----------------------------------------------------------------------------------")
+ message(STATUS "Starting CMake configuration for: ${PROJECT_NAME}")
+
+--
+GitLab
+