Gentoo Archives: gentoo-commits

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