1 |
commit: 59559fd230babde48e08401fe12b601604b42937 |
2 |
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
3 |
AuthorDate: Sun Oct 16 18:09:36 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 29 18:33:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59559fd2 |
7 |
|
8 |
app-office/planner: add live ebuild, use meson |
9 |
|
10 |
This ebuild already drops the gnome-base/gconf dep, |
11 |
once there is a new release from upstream, remove the old ebuild and close |
12 |
Bug: https://bugs.gentoo.org/873853 |
13 |
|
14 |
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/27800 |
16 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
17 |
|
18 |
app-office/planner/metadata.xml | 3 ++ |
19 |
app-office/planner/planner-9999.ebuild | 71 ++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 74 insertions(+) |
21 |
|
22 |
diff --git a/app-office/planner/metadata.xml b/app-office/planner/metadata.xml |
23 |
index c6e394b17a27..3a8e42950cb7 100644 |
24 |
--- a/app-office/planner/metadata.xml |
25 |
+++ b/app-office/planner/metadata.xml |
26 |
@@ -5,4 +5,7 @@ |
27 |
<email>gnome@g.o</email> |
28 |
<name>Gentoo GNOME Desktop</name> |
29 |
</maintainer> |
30 |
+ <use> |
31 |
+ <flag name="libgda">Database/GDA support</flag> |
32 |
+ </use> |
33 |
</pkgmetadata> |
34 |
|
35 |
diff --git a/app-office/planner/planner-9999.ebuild b/app-office/planner/planner-9999.ebuild |
36 |
new file mode 100644 |
37 |
index 000000000000..b3239ac6b40b |
38 |
--- /dev/null |
39 |
+++ b/app-office/planner/planner-9999.ebuild |
40 |
@@ -0,0 +1,71 @@ |
41 |
+# Copyright 1999-2022 Gentoo Authors |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+ |
44 |
+EAPI=8 |
45 |
+ |
46 |
+inherit gnome.org gnome2-utils meson xdg |
47 |
+ |
48 |
+DESCRIPTION="Project manager for Gnome" |
49 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Planner" |
50 |
+if [[ "${PV}" == "9999" ]] ; then |
51 |
+ EGIT_REPO_URI="https://gitlab.gnome.org/World/planner.git" |
52 |
+ inherit git-r3 |
53 |
+ SRC_URI="" |
54 |
+else |
55 |
+ KEYWORDS="~amd64" |
56 |
+fi |
57 |
+ |
58 |
+SLOT="0" |
59 |
+LICENSE="GPL-2+" |
60 |
+IUSE="examples gtk-doc libgda" # eds |
61 |
+ |
62 |
+RDEPEND=" |
63 |
+ >=dev-libs/glib-2.50:2 |
64 |
+ >=x11-libs/gtk+-3.22:3 |
65 |
+ >=dev-libs/libxml2-2.6.27:2 |
66 |
+ >=dev-libs/libxslt-1.1.23 |
67 |
+ libgda? ( >=gnome-extra/libgda-1.0:5 ) |
68 |
+" |
69 |
+ # eds support is broken for now |
70 |
+ # eds? ( |
71 |
+ # >=gnome-extra/evolution-data-server-3.6:= |
72 |
+ # ) |
73 |
+DEPEND="${RDEPEND}" |
74 |
+ |
75 |
+BDEPEND=" |
76 |
+ gtk-doc? ( |
77 |
+ dev-util/gtk-doc |
78 |
+ app-text/docbook-xml-dtd:4.1.2 |
79 |
+ ) |
80 |
+ virtual/pkgconfig |
81 |
+ sys-devel/gettext |
82 |
+" |
83 |
+ |
84 |
+src_configure() { |
85 |
+ local emesonargs=( |
86 |
+ $(meson_feature libgda database-gda) |
87 |
+ # $(meson_feature eds) |
88 |
+ -Deds=disabled # upstream says it's broken |
89 |
+ $(meson_use examples) |
90 |
+ $(meson_use gtk-doc gtk_doc) |
91 |
+ -Dsimple-priority-scheduling=false # upstream says it's experimental |
92 |
+ ) |
93 |
+ meson_src_configure |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ meson_src_install |
98 |
+ if use examples; then |
99 |
+ mv "${ED}"/usr/share/doc/planner "${ED}"/usr/share/doc/${PF} || die |
100 |
+ fi |
101 |
+} |
102 |
+ |
103 |
+pkg_postinst() { |
104 |
+ xdg_pkg_postinst |
105 |
+ gnome2_schemas_update |
106 |
+} |
107 |
+ |
108 |
+pkg_postrm() { |
109 |
+ xdg_pkg_postrm |
110 |
+ gnome2_schemas_update |
111 |
+} |