# Maintainer: Natanael Copa setglobal pkgname = 'geary' setglobal pkgver = '0.11.3' setglobal pkgrel = '0' setglobal pkgdesc = '"A lightweight email program designed around conversations'" setglobal url = '"http://yorba.org/geary/'" setglobal arch = '"all !ppc64le !s390x'" setglobal license = '"LGPLv2+'" setglobal depends = '"hicolor-icon-theme gsettings-desktop-schemas'" setglobal depends_dev = ''"" setglobal makedepends = $depends_dev setglobal makedepends = ""$depends_dev cmake vala gtk+3.0-dev gmime-dev libgee-dev desktop-file-utils libunique3-dev libcanberra-dev libsecret-dev webkitgtk-dev libnotify-dev gobject-introspection-dev gtk-doc paxmark gcr-dev"" setglobal install = ''"" setglobal subpackages = ""$pkgname-lang"" setglobal source = ""https://download.gnome.org/sources/geary/$(pkgver%.*)/geary-$pkgver.tar.xz fix-compilation-with-valac-git-master.patch fix-build-with-new-vala.patch int-fixes.patch "" setglobal builddir = ""$srcdir"/geary-$pkgver" proc build { cd $builddir mkdir build && cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DGSETTINGS_COMPILE=OFF \ -DGSETTINGS_COMPILE_IN_PLACE=OFF \ -DICON_UPDATE=OFF \ -DDESKTOP_UPDATE=OFF \ || return 1 make || return 1 } proc package { cd "$builddir"/build make DESTDIR="$pkgdir" install || return 1 # webkit JIT has problems with hardened kernel paxmark -m "$pkgdir"/usr/bin/geary || return 1 } setglobal sha512sums = '"dee389384b6bab25f939f0f40525670c27e3687cdfdfbc0c5632ccb2e9e189be3902aedb4fb37affb67c8b149e40ff78e41efbf8a754d76dcd405c8295be0d4b geary-0.11.3.tar.xz 6b04c90ed6fa25fdb2593c679606be573663f349591038e2313208c64c6dd4b572fe2ebc7fd9d5742e8833f607b993d45d247a64b13efc1bb2a37fca671ec488 fix-compilation-with-valac-git-master.patch a5bbe5bd97f6d10d6444fe34e406e45e8500f5d039a913746978b678ae6fb351f76299121bc14d00a971c34066a2a7419444aed0c1da38ba13de882db1e1394a fix-build-with-new-vala.patch 87dc83c44d41668ab51e7c12bf041cf915f8148f6831f59cf149dfd6b13ffb1c62bd1df6b7d00d20129efdd56244329f07cd05344fef78c7c29212aef3561fe1 int-fixes.patch'"