summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-07-02 16:51:02 +0200
committerPacho Ramos <pacho@gentoo.org>2016-07-02 19:10:07 +0200
commit634f9bf567d19ab7a1dc72c7aba324de13029fd1 (patch)
tree3f831528948025c271a0549278d3b710a19e62af
parentmail-client/geary: Drop old (diff)
downloadgentoo-634f9bf567d19ab7a1dc72c7aba324de13029fd1.tar.gz
gentoo-634f9bf567d19ab7a1dc72c7aba324de13029fd1.tar.bz2
gentoo-634f9bf567d19ab7a1dc72c7aba324de13029fd1.zip
mail-client/geary: Version bump
Package-Manager: portage-2.3.0_rc1
-rw-r--r--mail-client/geary/Manifest1
-rw-r--r--mail-client/geary/geary-0.11.1.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/mail-client/geary/Manifest b/mail-client/geary/Manifest
index 560f7a4f53f..7cb25b04191 100644
--- a/mail-client/geary/Manifest
+++ b/mail-client/geary/Manifest
@@ -1 +1,2 @@
DIST geary-0.11.0.tar.xz 945188 SHA256 c947bb1e70bd3d3f4799e59ddd05b27b08a8132674f64c68c919974595bdcd9f SHA512 2baaea15941d7baa31ed545cd0763576a1b2b46ab0ccbe10316f7ca2a0b77523a6c76949de27c1910a3f1c7d13e34f5c6baf29427b0c3e668df8ba7d5ef10f3c WHIRLPOOL 29716c835c0701aefe77f2b114f39631fa6d65e885cb9c71ce069c166030eb8a5bdab98e4f2f86a30c372c26a5be014a732ba9a182a7f5f59c96e6cf971204df
+DIST geary-0.11.1.tar.xz 958616 SHA256 6efc5e1a944ca1c1a991d50d558fbe46ed58763b3f8b7bcd451b15078a9b2eb2 SHA512 5dc50c2c004a48d1df6c17ba492f24a27c51fa1ab2ea01c77d633611783781e9714aeec9bd6dad58856675c3d10d8223d5c75800a32676d7425e896d8479e4ad WHIRLPOOL 3cf0efd34fb4a97a0fb99fe118d6b34d20489a3bae7cd967e833327650596bfa0d49464601dd9cc1ff7d43fd94ee21a4e28726ecdba5c42e9dded724d72e90ea
diff --git a/mail-client/geary/geary-0.11.1.ebuild b/mail-client/geary/geary-0.11.1.ebuild
new file mode 100644
index 00000000000..3cace210e04
--- /dev/null
+++ b/mail-client/geary/geary-0.11.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+# Keep cmake-utils at the end
+inherit eutils gnome2 vala cmake-utils
+
+DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
+HOMEPAGE="https://wiki.gnome.org/Apps/Geary"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+DEPEND="
+ >=app-crypt/gcr-3.10.1[gtk,introspection,vala]
+ app-crypt/libsecret
+ dev-db/sqlite:3
+ dev-libs/glib:2[dbus]
+ >=dev-libs/libgee-0.8.5:0.8
+ dev-libs/libxml2:2
+ dev-libs/gmime:2.6
+ media-libs/libcanberra
+ >=net-libs/webkit-gtk-1.10.0:3[introspection]
+ >=x11-libs/gtk+-3.10.0:3[introspection]
+ x11-libs/libnotify
+"
+RDEPEND="${DEPEND}
+ gnome-base/gsettings-desktop-schemas
+ nls? ( virtual/libintl )
+"
+DEPEND="${DEPEND}
+ app-text/gnome-doc-utils
+ dev-util/desktop-file-utils
+ nls? ( sys-devel/gettext )
+ $(vala_depend)
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # https://bugzilla.gnome.org/show_bug.cgi?id=751556
+ eapply "${FILESDIR}"/${PN}-0.7.2-cflags.patch
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=751557
+ eapply "${FILESDIR}"/${PN}-0.5.3-vapigen.patch
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=751558
+ eapply "${FILESDIR}"/${PN}-0.6.0-desktopfile.patch
+
+ local i
+ if use nls ; then
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd po ; echo *.po) ; do
+ if ! has ${i%.po} ${LINGUAS} ; then
+ sed -i -e "/^${i%.po}$/d" po/LINGUAS || die
+ fi
+ done
+ fi
+ else
+ sed -i -e 's#add_subdirectory(po)##' CMakeLists.txt || die
+ fi
+
+ cmake-utils_src_prepare
+ gnome2_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDESKTOP_UPDATE=OFF
+ -DGSETTINGS_COMPILE=OFF
+ -DICON_UPDATE=OFF
+ -DVALA_EXECUTABLE="${VALAC}"
+ -DWITH_UNITY=OFF
+ -DDESKTOP_VALIDATE=OFF
+ )
+
+ cmake-utils_src_configure
+}