summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-08-14 22:22:51 +0200
committerJulian Ospald <hasufell@gentoo.org>2015-08-14 22:22:51 +0200
commit8082d239eaa985c1e424dadad2a8a017b47e76b6 (patch)
tree4e0bd85bef2e8fd549975a1e7c6a157107559ae8 /mail-client/geary
parentdev-python/bandit: bup (diff)
downloadgentoo-8082d239eaa985c1e424dadad2a8a017b47e76b6.tar.gz
gentoo-8082d239eaa985c1e424dadad2a8a017b47e76b6.tar.bz2
gentoo-8082d239eaa985c1e424dadad2a8a017b47e76b6.zip
mail-client/geary: version bump to 0.6.5
Diffstat (limited to 'mail-client/geary')
-rw-r--r--mail-client/geary/Manifest1
-rw-r--r--mail-client/geary/geary-0.6.5.ebuild101
2 files changed, 102 insertions, 0 deletions
diff --git a/mail-client/geary/Manifest b/mail-client/geary/Manifest
index b8246a9bf61..38709691ca1 100644
--- a/mail-client/geary/Manifest
+++ b/mail-client/geary/Manifest
@@ -1,2 +1,3 @@
DIST geary-0.10.0.tar.xz 917376 SHA256 46197a5a1b8b040adcee99082dbfd9fff9ca804e3bf0055a2e90b13214bdbca5 SHA512 9126acb3608f7aac9236f7d38f5ca549fe04427e244bbff093d06095e09d0ae642ed8e5722325f152a40d3c642a5f31035fca1685749fbe311c4bf3965ee3256 WHIRLPOOL 5d79011682cb47299a147f44380341c05b997b1c825f86df53772be8fcf3818eca85eb55aa325e8c6a6737024166d58044ab01298476a5dad5036092d5a17f74
DIST geary-0.6.3.tar.xz 791248 SHA256 2fa2612bf3821f8ff74664463a430729776f6f9bf31795156be2ca7959b52eca SHA512 4a4f26b3e88032191f2b683d8ed0d48401b278c4d1cc69c09731d9ca878450847a35c0653a8b9907ce81b989e713d1a41a40b7b6193f6e84a6e6f4eb4d5053f4 WHIRLPOOL 83e4a648a792639a10fde6eccf78db2fb582ebea4f5f0806091e4cc9f8550387e976e46b383b33819b32a25ec665116cfecfa3417acb72950f1eba3ffa48d403
+DIST geary-0.6.5.tar.xz 804988 SHA256 467d81f6037792a639df536db22b8ff21edc77c127b45897c198a79e919752d0 SHA512 2ba128233c44aa742e51dd3f2b1a235b11e06bd2cea761b6f7677b11f268f4a3cd4eeb872c09d8aeeb487bd3e36552c994741294b4615d3d44b9884c18e445fc WHIRLPOOL 512042c18f58bbb89d99f62887300ec18dd07904e1c9bbcc432a38facefb67a7611ca7c554e6b6f1dd450fb4cf489434dc195a01a5a361275aba1ead8bfc0806
diff --git a/mail-client/geary/geary-0.6.5.ebuild b/mail-client/geary/geary-0.6.5.ebuild
new file mode 100644
index 00000000000..173948f3e60
--- /dev/null
+++ b/mail-client/geary/geary-0.6.5.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+VALA_MIN_API_VERSION=0.22
+
+inherit eutils fdo-mime gnome2-utils vala cmake-utils
+
+MY_P=${P/_pre/pr}
+DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
+HOMEPAGE="http://www.yorba.org/projects/geary/"
+SRC_URI="mirror://gnome/sources/geary/${PV:0:3}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+DEPEND="
+ app-crypt/gcr[gtk,introspection,vala]
+ app-crypt/libsecret
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ >=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.6.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"
+
+DOCS=( AUTHORS MAINTAINERS README NEWS THANKS )
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.5.3-{unity,vapigen}.patch \
+ "${FILESDIR}"/${PN}-0.6.3-cflags.patch \
+ "${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
+ 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
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ elog "For libnotify sounds you will need"
+ elog "\"alsa\" or \"pulseaudio\" useflag of media-libs/libcanberra"
+ elog "enabled."
+
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}