Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/gnote/
Date: Sun, 19 Mar 2023 23:38:32
Message-Id: 1679269099.c75e325431fd0d042b729db169fcadab60c9dbce.mattst88@gentoo
1 commit: c75e325431fd0d042b729db169fcadab60c9dbce
2 Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 19 20:51:04 2023 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 23:38:19 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75e3254
7
8 app-misc/gnote: Version bump to 44.0
9
10 Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/30248
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 app-misc/gnote/Manifest | 1 +
15 app-misc/gnote/gnote-44.0.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 67 insertions(+)
17
18 diff --git a/app-misc/gnote/Manifest b/app-misc/gnote/Manifest
19 index 6b8d4b763029..9f7c2dcb3081 100644
20 --- a/app-misc/gnote/Manifest
21 +++ b/app-misc/gnote/Manifest
22 @@ -1,2 +1,3 @@
23 DIST gnote-43.0.tar.xz 3325232 BLAKE2B 9e56aa164262b710aab872be48fded2a6c70a062ddfe7c95ae633c38269390a6b3c3143c788f0ee43fb37d0229443a600d71e5edfbab1aa387a20e135210a0dc SHA512 34133ba1cef12c02a6518017f6b5b07b6781f05af787034ceb3dd8bc4d59fff2a7cdc17615511e7008c39bebf52e6b78a973840bdd5b6b1e5199226fdd12d91c
24 DIST gnote-43.1.tar.xz 3329384 BLAKE2B 0e871797160a45d07ec17d9fbfeaaf159b755bdf373480ac47ac03b966b87510d0d721fdc581da76c0f7e3b1098964d926122f0aeb36c4a44597b137fe41ccf2 SHA512 7b007e325634371deee99e09230f4f2427a072e203d6086a91888ed3be69b54b22bfc9e49010a43a09c134f0d4de9d510fd1a370e2432f9542241d9f37e05921
25 +DIST gnote-44.0.tar.xz 3330052 BLAKE2B 5b8a45de08419cdc8b22596fc4019ddd18edf7103dda5d51fe87153e624a3623a3b5af1e65ee15bc0afbefc13400ceddebc740fc34ff3675f4e0fa3a68ae87d5 SHA512 95299d811372f9c011e2966cd0fcb770830d691a85e390fbeb0500ff2db394301d0aeb478c622af1a8caf54d07cb15243c65e73809e02ae36407ef5006e636bb
26
27 diff --git a/app-misc/gnote/gnote-44.0.ebuild b/app-misc/gnote/gnote-44.0.ebuild
28 new file mode 100644
29 index 000000000000..2575f11ea220
30 --- /dev/null
31 +++ b/app-misc/gnote/gnote-44.0.ebuild
32 @@ -0,0 +1,66 @@
33 +# Copyright 1999-2023 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit gnome2 meson readme.gentoo-r1
39 +
40 +DESCRIPTION="Desktop note-taking application"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
42 +
43 +LICENSE="GPL-3+ FDL-1.1"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +
49 +DEPEND="
50 + >=dev-libs/glib-2.62:2[dbus]
51 + >=dev-cpp/glibmm-2.62.0:2
52 + >=dev-cpp/gtkmm-3.22.20:3.0
53 + >=app-crypt/libsecret-0.8
54 + >=dev-libs/libxml2-2:2
55 + dev-libs/libxslt
56 + >=sys-apps/util-linux-2.16
57 + >=app-text/gspell-1.6.0:=
58 + test? ( dev-libs/unittest++ )
59 +"
60 +RDEPEND="${DEPEND}
61 + gnome-base/gsettings-desktop-schemas
62 +"
63 +BDEPEND="
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 + default
72 +
73 + # Build system requires UnitTest++ >=1.5.1, but the .pc file doesn't
74 + # specify a version
75 + sed -i -e "/UnitTest++/ s/version: [^,]*,//" meson.build || die
76 + if ! use test; then
77 + sed -i -e "/unit_test_pp/ s/ = .*/ = disabler()/" meson.build || die
78 + fi
79 +
80 + if has_version net-fs/wdfs; then
81 + DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
82 + synchronize notes."
83 + else
84 + DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
85 + If you want to use that functionality just emerge net-fs/wdfs.
86 + Gnote will automatically detect that you did and let you use it."
87 + fi
88 +}
89 +
90 +src_install() {
91 + meson_src_install
92 + readme.gentoo_create_doc
93 +}
94 +
95 +pkg_postinst() {
96 + gnome2_pkg_postinst
97 + readme.gentoo_print_elog
98 +}