summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-03-23 22:58:45 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-03-23 22:58:45 +0000
commit64d0a90f41dcaf9947c7853f14c1d61ef6d0a827 (patch)
treeb8c15845c882df9ce50c929d4ee519136c62f56c /mail-client
parentDon't use forking running audio-entropyd with proper option. (diff)
downloadgentoo-2-64d0a90f41dcaf9947c7853f14c1d61ef6d0a827.tar.gz
gentoo-2-64d0a90f41dcaf9947c7853f14c1d61ef6d0a827.tar.bz2
gentoo-2-64d0a90f41dcaf9947c7853f14c1d61ef6d0a827.zip
version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/geary/ChangeLog8
-rw-r--r--mail-client/geary/files/geary-0.6.0-desktopfile.patch12
-rw-r--r--mail-client/geary/geary-0.6.0.ebuild99
3 files changed, 118 insertions, 1 deletions
diff --git a/mail-client/geary/ChangeLog b/mail-client/geary/ChangeLog
index c6f00b1001da..2d46727b8bba 100644
--- a/mail-client/geary/ChangeLog
+++ b/mail-client/geary/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-client/geary
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/geary/ChangeLog,v 1.14 2014/03/05 23:50:06 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/geary/ChangeLog,v 1.15 2014/03/23 22:58:44 hasufell Exp $
+
+*geary-0.6.0 (23 Mar 2014)
+
+ 23 Mar 2014; Julian Ospald <hasufell@gentoo.org>
+ +files/geary-0.6.0-desktopfile.patch, +geary-0.6.0.ebuild:
+ version bump
05 Mar 2014; Julian Ospald <hasufell@gentoo.org>
-files/geary-0.3.1-ayatana.patch, -files/geary-0.3.1-cflags.patch,
diff --git a/mail-client/geary/files/geary-0.6.0-desktopfile.patch b/mail-client/geary/files/geary-0.6.0-desktopfile.patch
new file mode 100644
index 000000000000..3ba892f0bb3d
--- /dev/null
+++ b/mail-client/geary/files/geary-0.6.0-desktopfile.patch
@@ -0,0 +1,12 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Mar 23 22:56:46 UTC 2014
+Subject: fix desktop file
+
+--- a/desktop/geary.desktop.in
++++ b/desktop/geary.desktop.in
+@@ -17,5 +17,3 @@
+ [Desktop Action Compose]
+ _Name=Compose Message
+ Exec=geary mailto:
+-OnlyShowIn=X-Messaging Menu;Unity;
+-
diff --git a/mail-client/geary/geary-0.6.0.ebuild b/mail-client/geary/geary-0.6.0.ebuild
new file mode 100644
index 000000000000..8b4e448e6614
--- /dev/null
+++ b/mail-client/geary/geary-0.6.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/geary/geary-0.6.0.ebuild,v 1.1 2014/03/23 22:58:44 hasufell Exp $
+
+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="ftp://ftp.gnome.org/pub/GNOME/sources/geary/${PV:0:3}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+DEPEND="
+ 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,cflags,vapigen}.patch \
+ "${FILESDIR}"/${P}-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
+}