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-misc/gnote/
Date: Sat, 26 May 2018 23:45:51
Message-Id: 1527378304.38d913951bad84e36a13a2f79aed46b94cfe4fce.eva@gentoo
1 commit: 38d913951bad84e36a13a2f79aed46b94cfe4fce
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 26 22:29:19 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat May 26 23:45:04 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=38d91395
7
8 app-misc/gnote: 3.24.1 → 3.26.0
9
10 Formatting and actions menus redesigned. Translation updates.
11
12 Package-Manager: Portage-2.3.40, Repoman-2.3.9
13 Manifest-Sign-Key: 0x5A56C8CD0C13248A
14
15 app-misc/gnote/gnote-3.26.0.ebuild | 71 ++++++++++++++++++++++++++++++++++++++
16 1 file changed, 71 insertions(+)
17
18 diff --git a/app-misc/gnote/gnote-3.26.0.ebuild b/app-misc/gnote/gnote-3.26.0.ebuild
19 new file mode 100644
20 index 00000000..45ad245e
21 --- /dev/null
22 +++ b/app-misc/gnote/gnote-3.26.0.ebuild
23 @@ -0,0 +1,71 @@
24 +# Copyright 1999-2018 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=6
28 +GNOME2_LA_PUNT="yes"
29 +
30 +inherit gnome2 readme.gentoo-r1
31 +
32 +DESCRIPTION="Desktop note-taking application"
33 +HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
34 +
35 +LICENSE="GPL-3+ FDL-1.1"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +IUSE="debug"
39 +
40 +# Automagic:
41 +# glib-2.32 dep
42 +# >=dev-libs/unittest++-1.5.1 (but not detected due to missing .pc)
43 +COMMON_DEPEND="
44 + >=app-crypt/libsecret-0.8
45 + >=app-text/gtkspell-3.0:3
46 + >=dev-cpp/glibmm-2.32:2
47 + >=dev-cpp/gtkmm-3.18:3.0
48 + >=dev-libs/glib-2.32:2[dbus]
49 + >=dev-libs/libxml2-2:2
50 + dev-libs/libxslt
51 + >=sys-apps/util-linux-2.16:=
52 + >=x11-libs/gtk+-3.20:3
53 +"
54 +RDEPEND="${COMMON_DEPEND}
55 + gnome-base/gsettings-desktop-schemas
56 +"
57 +DEPEND="${DEPEND}
58 + app-text/docbook-xml-dtd:4.1.2
59 + >=dev-util/intltool-0.35.0
60 + dev-util/itstool
61 + virtual/pkgconfig
62 +"
63 +
64 +src_prepare() {
65 + # Do not alter CFLAGS
66 + sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
67 +
68 + gnome2_src_prepare
69 +
70 + if has_version net-fs/wdfs; then
71 + DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
72 + synchronize notes."
73 + else
74 + DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
75 + If you want to use that functionality just emerge net-fs/wdfs.
76 + Gnote will automatically detect that you did and let you use it."
77 + fi
78 +}
79 +
80 +src_configure() {
81 + gnome2_src_configure \
82 + --disable-static \
83 + $(use_enable debug)
84 +}
85 +
86 +src_install() {
87 + gnome2_src_install
88 + readme.gentoo_create_doc
89 +}
90 +
91 +pkg_postinst() {
92 + gnome2_pkg_postinst
93 + readme.gentoo_print_elog
94 +}