extra/calligra to 3.2.1-19

This commit is contained in:
Kevin Mihelich 2021-08-03 12:29:31 +00:00
parent 758de6d1d6
commit cb11c19d27
2 changed files with 6 additions and 6 deletions

View file

@ -9,12 +9,12 @@
pkgname=calligra
pkgdesc='A set of applications for productivity and creative usage'
pkgver=3.2.1
pkgrel=18
pkgrel=19
arch=(x86_64)
url='https://www.calligra-suite.org/'
license=(FDL1.2 GPL2 LGPL)
depends=(kcmutils knotifyconfig kross kactivities kdiagram libspnav kdelibs4support
gsl openexr kcontacts qca-qt5 poppler-qt5 libodfgen khtml kinit cauchy)
gsl imath kcontacts qca-qt5 poppler-qt5 libodfgen khtml kinit cauchy)
makedepends=(extra-cmake-modules kdoctools kdesignerplugin libwpg okular eigen marble-common
boost pstoedit libvisio libetonyek libwps libgit2 kcalendarcore akonadi)
optdepends=('libwpg: Corel WordPerfect Graphics image importer'
@ -32,7 +32,7 @@ source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
62f51070.patch)
sha256sums=('b1f8a6eb8208543a2f908caa83d089075fcd1e530d00e19f5362b2f9cc371147'
'SKIP'
'0dec106deff4cff342021da4ca4e9759f0bbe5707ea2d4ee8536eaf863409cec'
'73367d2791f41abe93a28bc8e32fca4f213a876ec6fb332180abbd9892fe9702'
'9e2a0797ce0667212ec07a3056435a4550e07371ff1f6eefdf65dc3642d24165')
validpgpkeys=(05D00A8B73A686789E0A156858B9596C722EA3BD # Boudewijn Rempt <foundation@krita.org>
42A60D06F449E895F40F09C01638B8A616108B8A) # Dag Andersen <danders@get2net.dk>

View file

@ -8,9 +8,9 @@ index 8955357ff97..ea56c84bb11 100644
-macro_optional_find_package(OpenEXR)
-macro_bool_to_01(OPENEXR_FOUND HAVE_OPENEXR)
+macro_optional_find_package(OpenEXR 3.0 CONFIG QUIET)
+if(TARGET OpenEXR::OpenEXR)
+ set(OPENEXR_LIBRARIES OpenEXR::OpenEXR)
+macro_optional_find_package(Imath 3.0 CONFIG QUIET)
+if(TARGET Imath::Imath)
+ set(OPENEXR_LIBRARIES Imath::Imath)
+else()
+ macro_optional_find_package(OpenEXR)
+endif()