[arch-commits] Commit in geary/repos (3 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Jan 16 20:59:35 UTC 2018
Date: Tuesday, January 16, 2018 @ 20:59:34
Author: alucryd
Revision: 283517
archrelease: copy trunk to community-staging-x86_64
Added:
geary/repos/community-staging-x86_64/
geary/repos/community-staging-x86_64/PKGBUILD
(from rev 283516, geary/trunk/PKGBUILD)
geary/repos/community-staging-x86_64/geary-enchant2.patch
(from rev 283516, geary/trunk/geary-enchant2.patch)
----------------------+
PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++++++++++++++
geary-enchant2.patch | 24 ++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: geary/repos/community-staging-x86_64/PKGBUILD (from rev 283516, geary/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-01-16 20:59:34 UTC (rev 283517)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: sebikul <sebikul at gmail.com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=geary
+pkgver=0.12.0
+pkgrel=3
+pkgdesc='A lightweight email client for the GNOME desktop'
+arch=('x86_64')
+url='http://www.yorba.org/projects/geary/'
+license=('GPL3')
+depends=('cairo' 'enchant' 'gcr' 'gdk-pixbuf2' 'glib2' 'glibc' 'gmime'
+ 'gnome-keyring' 'gtk3' 'iso-codes' 'libcanberra' 'libgee' 'libnotify'
+ 'libsecret' 'libsoup' 'libxml2' 'pango' 'sqlite' 'webkit2gtk')
+makedepends=('cmake' 'gnome-doc-utils' 'gobject-introspection' 'intltool'
+ 'vala')
+source=("https://download.gnome.org/sources/geary/${pkgver%.*}/geary-${pkgver}.tar.xz"
+ 'geary-enchant2.patch')
+sha256sums=('cef1093033ddfb52942b45c901562539cee7a192e981c7f19e2075ecb0c22446'
+ 'd90243e5ede36399562b5c2e53350e8f0f1a6a56f8a062910a4d4e83b006acb7')
+
+prepare() {
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+
+ cd geary-${pkgver}
+
+ patch -Np1 -i ../geary-enchant2.patch
+}
+
+build() {
+ cd build
+
+ cmake ../geary-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DDESKTOP_UPDATE='FALSE' \
+ -DICON_UPDATE='FALSE' \
+ -DGSETTINGS_COMPILE='FALSE' \
+ -DGSETTINGS_COMPILE_IN_PLACE='FALSE'
+ make
+}
+
+package() {
+ cd build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: geary/repos/community-staging-x86_64/geary-enchant2.patch (from rev 283516, geary/trunk/geary-enchant2.patch)
===================================================================
--- community-staging-x86_64/geary-enchant2.patch (rev 0)
+++ community-staging-x86_64/geary-enchant2.patch 2018-01-16 20:59:34 UTC (rev 283517)
@@ -0,0 +1,24 @@
+diff -rupN geary-0.12.0.orig/CMakeLists.txt geary-0.12.0/CMakeLists.txt
+--- geary-0.12.0.orig/CMakeLists.txt 2018-01-16 21:45:14.731988942 +0100
++++ geary-0.12.0/CMakeLists.txt 2018-01-16 21:47:51.510178769 +0100
+@@ -96,7 +96,7 @@ find_package(PkgConfig)
+ pkg_check_modules(LIBUNITY QUIET unity>=5.12.0)
+ pkg_check_modules(LIBMESSAGINGMENU QUIET messaging-menu>=12.10.2)
+
+-pkg_check_modules(ENCHANT QUIET enchant)
++pkg_check_modules(ENCHANT QUIET enchant-2)
+
+ pkg_check_modules(SQLITE3 sqlite3 REQUIRED)
+ if (NOT ${SQLITE3_VERSION} VERSION_LESS 3.12)
+diff -rupN geary-0.12.0.orig/src/CMakeLists.txt geary-0.12.0/src/CMakeLists.txt
+--- geary-0.12.0.orig/src/CMakeLists.txt 2018-01-16 21:45:14.738655384 +0100
++++ geary-0.12.0/src/CMakeLists.txt 2018-01-16 21:48:40.088633141 +0100
+@@ -508,7 +508,7 @@ pkg_check_modules(DEPS REQUIRED
+ webkit2gtk-4.0>=${TARGET_WEBKIT}
+ webkit2gtk-web-extension-4.0>=${TARGET_WEBKIT}
+ javascriptcoregtk-4.0>=${TARGET_WEBKIT}
+- enchant>=1.6
++ enchant-2>=1.6
+ ${EXTRA_CLIENT_PKG_CONFIG}
+ )
+
More information about the arch-commits
mailing list