Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-office/gnome-todo/
Date: Sat, 29 Dec 2018 12:38:14
Message-Id: 1546087069.4a052dc3eac6d1353928074dabd2b3bd31685db5.eva@gentoo
1 commit: 4a052dc3eac6d1353928074dabd2b3bd31685db5
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 29 12:30:24 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 29 12:37:49 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=4a052dc3
7
8 app-office/gnome-todo: 3.26.2 → 3.28.1
9
10 Made introspection optional. Switch to meson eclass so it is suitable
11 for ::gentoo. Add missing libxml2 and glib-utils to DEPEND.
12
13 Package-Manager: Portage-2.3.53, Repoman-2.3.12
14 Manifest-Sign-Key: 0x5A56C8CD0C13248A
15 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
16
17 app-office/gnome-todo/gnome-todo-3.28.1.ebuild | 63 ++++++++++++++++++++++++++
18 1 file changed, 63 insertions(+)
19
20 diff --git a/app-office/gnome-todo/gnome-todo-3.28.1.ebuild b/app-office/gnome-todo/gnome-todo-3.28.1.ebuild
21 new file mode 100644
22 index 00000000..98a79d2a
23 --- /dev/null
24 +++ b/app-office/gnome-todo/gnome-todo-3.28.1.ebuild
25 @@ -0,0 +1,63 @@
26 +# Copyright 1999-2018 Gentoo Authors
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=6
30 +
31 +inherit gnome.org gnome2-utils meson xdg
32 +
33 +DESCRIPTION="Personal task manager"
34 +HOMEPAGE="https://wiki.gnome.org/Apps/Todo"
35 +
36 +LICENSE="GPL-3+"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +IUSE="gtk-doc +introspection"
40 +
41 +RDEPEND="
42 + >=dev-libs/glib-2.43.4:2
43 + >=x11-libs/gtk+-3.22.0:3[introspection?]
44 + >=net-libs/gnome-online-accounts-3.25.3
45 + >=dev-libs/libpeas-1.17
46 + >=gnome-extra/evolution-data-server-3.17.1:=[gtk]
47 + >=dev-libs/libical-0.43
48 + introspection? ( >=dev-libs/gobject-introspection-1.42:= )
49 +"
50 +DEPEND="${RDEPEND}
51 + dev-libs/libxml2:2
52 + dev-util/glib-utils
53 + gtk-doc? ( dev-util/gtk-doc )
54 + >=sys-devel/gettext-0.19.8
55 + virtual/pkgconfig
56 +"
57 +
58 +src_configure() {
59 + # TODO: There aren't any consumers of the introspection outside gnome-todo's own plugins, so maybe we
60 + # TODO: should just always build introspection support as an application that needs it for full functionality?
61 + # Todoist plugin requires 3.25.3 GOA for being able to add a Todoist account
62 + local emesonargs=(
63 + -Dbackground_plugin=true
64 + -Ddark_theme_plugin=true
65 + -Dscheduled_panel_plugin=true
66 + -Dscore_plugin=true
67 + -Dtoday_panel_plugin=true
68 + -Dunscheduled_panel_plugin=true
69 + -Dtodo_txt_plugin=true
70 + -Dtodoist_plugin=true
71 + -Dtracing=false
72 + $(meson_use gtk-doc gtk_doc)
73 + $(meson_use introspection)
74 + )
75 + meson_src_configure
76 +}
77 +
78 +pkg_postinst() {
79 + xdg_pkg_postinst
80 + gnome2_schemas_update
81 + gnome2_icon_cache_update
82 +}
83 +
84 +pkg_postrm() {
85 + xdg_pkg_postrm
86 + gnome2_schemas_update
87 + gnome2_icon_cache_update
88 +}