summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Cervone2021-11-16 15:40:31 +0100
committerAntonio Cervone2021-11-16 15:40:31 +0100
commit449074a6be9fee15fa1e65a54499895cbb1a03ce (patch)
tree9a181c9217ab7e3b2def03f4e7d191230531bf50 /PKGBUILD
parent4eb673af93da4f473be3bc70025412bbabd514e2 (diff)
downloadaur-449074a6be9fee15fa1e65a54499895cbb1a03ce.tar.gz
update to v4.9.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 29a5569a595..a3b7400f3a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,19 +5,19 @@
pkgname=magics++
Pkgname=Magics
-pkgver=4.8.2
+pkgver=4.9.4
_attnum=3473464
pkgrel=0
pkgdesc="Magics is the latest generation of the ECMWF's Meteorological plotting software MAGICS."
arch=('i686' 'x86_64')
url="https://software.ecmwf.int/wiki/display/MAGP"
license=('Apache')
-depends=('eccodes>=2.19.0' qt5-base pango proj python)
+depends=('eccodes>=2.19.0' libgeotiff qt6-base pango python)
optdepends=(ksh libaec odb_api)
makedepends=(cmake gcc-fortran perl-xml-parser python-jinja swig)
source=(http://software.ecmwf.int/wiki/download/attachments/${_attnum}/${Pkgname}-${pkgver}-Source.tar.gz
gcc11.patch)
-sha256sums=('2bdc36d740b8b5d9967ddd98b05b5ef0f404ef3cf8651cc66f362d4826ab32f7'
+sha256sums=('2559c2a6d6aabb8c219e7039b08f8a8108c360969c61e703d5558729f8834cdc'
'c0250ac473b4703e79c8f879f6271d1409e800a0f8a7a77b3793cc9ce9a85951')
prepare() {
@@ -33,18 +33,14 @@ build() {
cmake \
-B build \
-S "${Pkgname}-${pkgver}-Source" \
- -DCMAKE_LINKER_FLAGS="-pthread" \
-DCMAKE_SHARED_LINKER_FLAGS="-pthread" \
-DCMAKE_EXE_LINKER_FLAGS="-pthread" \
- -DENABLE_ODB=${has_odb} \
- -DGEOTIFF_PATH=/usr \
- -Dodb_api_DIR=/usr/share/odb_api/cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=production \
-DCMAKE_INSTALL_DATADIR=/usr/share \
- -DENABLE_METVIEW=1 \
- -DENABLE_QT5=1 \
- -DPYTHON_EXECUTABLE=/usr/bin/python3
+ -DENABLE_METVIEW=ON \
+ -DENABLE_GEOTIFF=ON \
+ -DENABLE_ODB=${has_odb}
make -C build
}