Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/geary/
Date: Mon, 16 Jul 2018 09:41:13
Message-Id: 1531733804.ba665337f736c074f036e2405243cd9156ab1254.leio@gentoo
1 commit: ba665337f736c074f036e2405243cd9156ab1254
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 16 09:26:43 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 16 09:36:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba665337
7
8 mail-client/geary: bump to 0.12.3
9
10 * Review deps and fix things up.
11 * Fix licenses.
12 * Remove questionable IUSE=nls, empty string LINGUAS should do what
13 -nls did (albeit not sure about help manual translations)
14 * Remove WITH_UNITY option, unfortunately automagic now, but not
15 worrying about it as I don't think we have the libraries available
16 anywhere.
17
18 Closes: https://bugs.gentoo.org/652278
19 Package-Manager: Portage-2.3.40, Repoman-2.3.9
20
21 mail-client/geary/Manifest | 1 +
22 mail-client/geary/geary-0.12.3.ebuild | 77 +++++++++++++++++++++++++++++++++++
23 2 files changed, 78 insertions(+)
24
25 diff --git a/mail-client/geary/Manifest b/mail-client/geary/Manifest
26 index aed6522e175..e56346295e1 100644
27 --- a/mail-client/geary/Manifest
28 +++ b/mail-client/geary/Manifest
29 @@ -1 +1,2 @@
30 DIST geary-0.12.0.tar.xz 1064064 BLAKE2B c4021a784f7704494dfcf9013e4b108d9f921d553e47f55878de30c9878852ac2c023e679c33660cfe2fb190fac56dea4976eccb15bc1a512914442564a24e48 SHA512 caaf49065181f84234bbdb3dc20808f68cb7339e7ef3e992bd83789d3a474b5f59a210d54db2b4fe5f44539a2d52ad7f328087580748c74a513cca7be31c2e52
31 +DIST geary-0.12.3.tar.xz 1069444 BLAKE2B 73f4382cd97813fcb3921daeab4338f4797bef2b5dcb1f7df1afeb75be48877109dcb15317f9bbe595326ee38f9ea3359a7d062c39ea3d83e1d36c34b680e707 SHA512 0e22b7ad8b79d17e55f6ab75a13883db04b21b1be9c2b06b08009e48fe433de323e23414ae8e47543bcb7785d6aa90bea582a2e20eaed1ce7bcb02687a69b9b6
32
33 diff --git a/mail-client/geary/geary-0.12.3.ebuild b/mail-client/geary/geary-0.12.3.ebuild
34 new file mode 100644
35 index 00000000000..6ed3152f6cc
36 --- /dev/null
37 +++ b/mail-client/geary/geary-0.12.3.ebuild
38 @@ -0,0 +1,77 @@
39 +# Copyright 1999-2018 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +# Keep cmake-utils at the end
44 +inherit gnome2 vala cmake-utils
45 +
46 +DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
47 +HOMEPAGE="https://wiki.gnome.org/Apps/Geary"
48 +
49 +LICENSE="LGPL-2.1+ BSD-2 CC-BY-3.0 CC-BY-SA-3.0" # code is LGPL-2.1+, BSD-2 for bundled snowball-stemmer, CC licenses for some icons
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +DEPEND="
54 + >=dev-libs/glib-2.42:2
55 + >=x11-libs/gtk+-3.14.0:3[introspection]
56 + >=net-libs/webkit-gtk-2.10.0:4=[introspection]
57 + app-text/iso-codes
58 + >=dev-db/sqlite-3.12:3
59 +
60 + >=net-libs/libsoup-2.48:2.4[introspection]
61 + >=dev-libs/libgee-0.8.5:0.8=[introspection]
62 + >=x11-libs/libnotify-0.7.5[introspection]
63 + >=media-libs/libcanberra-0.28
64 + >=dev-libs/gmime-2.6.17:2.6
65 + >=app-crypt/libsecret-0.11[introspection,vala]
66 + >=dev-libs/libxml2-2.7.8:2
67 + >=app-crypt/gcr-3.10.1:0=[gtk,introspection,vala]
68 + >=app-text/enchant-1.6:0
69 +"
70 +RDEPEND="${DEPEND}
71 + gnome-base/dconf
72 + gnome-base/gsettings-desktop-schemas
73 +" # org.gnome.desktop.interface clock-format global setting usage
74 +# gnome-doc-utils for xml2po for TRANSLATE_HELP option
75 +DEPEND="${DEPEND}
76 + sys-devel/gettext
77 + app-text/gnome-doc-utils
78 + dev-util/desktop-file-utils
79 + virtual/pkgconfig
80 + $(vala_depend)
81 +"
82 +
83 +src_prepare() {
84 + # https://bugzilla.gnome.org/show_bug.cgi?id=751557
85 + sed -i -e 's/vapigen --library/${VAPIGEN} --library/' src/CMakeLists.txt || die
86 +
87 + local i
88 + if [[ -n "${LINGUAS+x}" ]] ; then
89 + for i in $(cd po ; echo *.po) ; do
90 + if ! has ${i%.po} ${LINGUAS} ; then
91 + sed -i -e "/^${i%.po}$/d" po/LINGUAS || die
92 + fi
93 + done
94 + fi
95 +
96 + cmake-utils_src_prepare
97 + gnome2_src_prepare
98 + vala_src_prepare
99 +}
100 +
101 +src_configure() {
102 + local mycmakeargs=(
103 + -DICON_UPDATE=OFF
104 + -DDESKTOP_UPDATE=OFF
105 + -DDESKTOP_VALIDATE=OFF
106 + -DTRANSLATE_HELP=ON
107 +
108 + -DNO_FATAL_WARNINGS=ON
109 + -DGSETTINGS_COMPILE=OFF
110 + -DVALA_EXECUTABLE="${VALAC}"
111 + -DVAPIGEN="${VAPIGEN}"
112 + )
113 +
114 + cmake-utils_src_configure
115 +}