Gentoo Archives: gentoo-commits

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