1 |
commit: 8cd6f5153e287ea4fb6a52823273b6a0f57a5017 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 23 20:18:30 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 23 20:18:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=8cd6f515 |
7 |
|
8 |
gnome-extra/gnome-contacts-9999: blind sync live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
.../gnome-contacts/gnome-contacts-9999.ebuild | 68 +++++++++++----------- |
14 |
gnome-extra/gnome-contacts/metadata.xml | 3 + |
15 |
2 files changed, 36 insertions(+), 35 deletions(-) |
16 |
|
17 |
diff --git a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild |
18 |
index e68bf5bb..871df7cb 100644 |
19 |
--- a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild |
20 |
+++ b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild |
21 |
@@ -1,78 +1,76 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
-VALA_USE_DEPEND="vapigen" |
28 |
-VALA_MIN_API_VERSION="0.24" |
29 |
|
30 |
-inherit git-r3 gnome-meson vala |
31 |
+inherit gnome.org gnome2-utils meson vala xdg |
32 |
|
33 |
DESCRIPTION="GNOME contact management application" |
34 |
HOMEPAGE="https://wiki.gnome.org/Design/Apps/Contacts" |
35 |
-SRC_URI="" |
36 |
-EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gnome-contacts.git" |
37 |
|
38 |
LICENSE="GPL-2+" |
39 |
SLOT="0" |
40 |
-IUSE="v4l" |
41 |
+IUSE="telepathy v4l" |
42 |
if [[ ${PV} = 9999 ]]; then |
43 |
- KEYWORDS="" |
44 |
+ inherit git-r3 |
45 |
+ SRC_URI="" |
46 |
+ EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gnome-contacts.git" |
47 |
else |
48 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
49 |
fi |
50 |
|
51 |
VALA_DEPEND=" |
52 |
$(vala_depend) |
53 |
- >=dev-libs/gobject-introspection-0.9.6:= |
54 |
+ >=dev-libs/gobject-introspection-1.54 |
55 |
dev-libs/folks[vala(+)] |
56 |
- gnome-base/gnome-desktop:3=[introspection] |
57 |
+ net-libs/gnome-online-accounts[vala] |
58 |
gnome-extra/evolution-data-server[vala] |
59 |
net-libs/telepathy-glib[vala] |
60 |
" |
61 |
# Configure is wrong; it needs cheese-3.5.91, not 3.3.91 |
62 |
RDEPEND=" |
63 |
- >=dev-libs/folks-0.11.4:=[eds,telepathy] |
64 |
+ >=gnome-extra/evolution-data-server-3.13.90:=[gnome-online-accounts] |
65 |
+ >=dev-libs/folks-0.11.4:=[eds,telepathy?] |
66 |
>=dev-libs/glib-2.44:2 |
67 |
>=dev-libs/libgee-0.10:0.8 |
68 |
- >=gnome-extra/evolution-data-server-3.13.90:=[gnome-online-accounts] |
69 |
>=gnome-base/gnome-desktop-3.0:3= |
70 |
- media-libs/clutter:1.0 |
71 |
- media-libs/clutter-gtk:1.0 |
72 |
- media-libs/libchamplain:0.12 |
73 |
- net-libs/gnome-online-accounts:=[vala] |
74 |
- >=net-libs/telepathy-glib-0.22 |
75 |
- >=sci-geosciences/geocode-glib-3.15.3 |
76 |
- x11-libs/cairo:= |
77 |
- x11-libs/gdk-pixbuf:2 |
78 |
+ net-libs/gnome-online-accounts:= |
79 |
>=x11-libs/gtk+-3.22:3 |
80 |
- x11-libs/pango |
81 |
v4l? ( >=media-video/cheese-3.5.91:= ) |
82 |
+ telepathy? ( >=net-libs/telepathy-glib-0.22 ) |
83 |
" |
84 |
DEPEND="${RDEPEND} |
85 |
${VALA_DEPEND} |
86 |
app-text/docbook-xml-dtd:4.2 |
87 |
app-text/docbook-xsl-stylesheets |
88 |
+ dev-libs/appstream-glib |
89 |
+ dev-libs/libxml2:2 |
90 |
dev-libs/libxslt |
91 |
- >=sys-devel/gettext-0.17 |
92 |
+ >=sys-devel/gettext-0.19.8 |
93 |
virtual/pkgconfig |
94 |
" |
95 |
|
96 |
-src_unpack() { |
97 |
- git-r3_src_unpack |
98 |
-} |
99 |
- |
100 |
src_prepare() { |
101 |
- # Regenerate the pre-generated C sources, bug #471628 |
102 |
- if ! use v4l; then |
103 |
- touch src/*.vala |
104 |
- fi |
105 |
- |
106 |
+ xdg_src_prepare |
107 |
vala_src_prepare |
108 |
- gnome-meson_src_prepare |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
- gnome-meson_src_configure \ |
113 |
- -Dwith-manpage=true \ |
114 |
- $(meson_use v4l with-cheese) |
115 |
+ local emesonargs=( |
116 |
+ $(meson_use v4l cheese) |
117 |
+ $(meson_use telepathy) |
118 |
+ -Dmanpage=true |
119 |
+ -Ddocs=false |
120 |
+ ) |
121 |
+ meson_src_configure |
122 |
+} |
123 |
+ |
124 |
+pkg_postinst() { |
125 |
+ xdg_pkg_postinst |
126 |
+ gnome2_schemas_update |
127 |
+} |
128 |
+ |
129 |
+pkg_postrm() { |
130 |
+ xdg_pkg_postrm |
131 |
+ gnome2_schemas_update |
132 |
} |
133 |
|
134 |
diff --git a/gnome-extra/gnome-contacts/metadata.xml b/gnome-extra/gnome-contacts/metadata.xml |
135 |
index 39980802..03d1d32c 100644 |
136 |
--- a/gnome-extra/gnome-contacts/metadata.xml |
137 |
+++ b/gnome-extra/gnome-contacts/metadata.xml |
138 |
@@ -5,4 +5,7 @@ |
139 |
<email>gnome@g.o</email> |
140 |
<name>Gentoo GNOME Desktop</name> |
141 |
</maintainer> |
142 |
+<use> |
143 |
+ <flag name="telepathy">Start chat from contact details</flag> |
144 |
+</use> |
145 |
</pkgmetadata> |