commit:     b40320dab40fa1f14a391a952eca746683930401
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 14 16:03:32 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 16:03:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b40320da

app-misc/gnote: add 49.1

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-misc/gnote/Manifest          |  1 +
 app-misc/gnote/gnote-49.1.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/app-misc/gnote/Manifest b/app-misc/gnote/Manifest
index aa59767dfaf5..e00eaa6a2a41 100644
--- a/app-misc/gnote/Manifest
+++ b/app-misc/gnote/Manifest
@@ -1,3 +1,4 @@
 DIST gnote-47.2.tar.xz 3839184 BLAKE2B 
66e2daa127d2b169767d007d66ebd833163883441065638eb84ed5aa9ec17c0026bfb97d8cac6a4c28294eb273c44e43d6030663a59775f0c7d379528f268319
 SHA512 
eb8938e3d62b12edf869ce10292032a3c6f63af36bfeef704ed0cd769f906e637d0e8738c0bebb8a22e5367e70042a2faabaf5bb1388020f9e6bd55e94442b6c
 DIST gnote-48.1.tar.xz 4352988 BLAKE2B 
a6a4722ddec161d4d4dc337fb24d9b59463fb6e7118883a88b5966df1e9e67e3b126bb6657c356375287c5cc77f45c6264544d66383584282ed01d0ef28fae16
 SHA512 
1f7c43437f9d6cf0c29d1fd5b8ec1aadd7dee7947b962704275b75769565b438f083f914def609fe159d6626269f0fdc4a1cf53dc2f58446ea9b39b533695a5a
 DIST gnote-48.2.tar.xz 4354000 BLAKE2B 
5264cba07079b10060de4ab4aaa75d76b69bbb00cba4ea5832ca43bf863609807d38e542a9a63a665f1b13cf1893e918995ce5977deafec733b488a326c47082
 SHA512 
a4500abb066c39aa0126ba9a922fe406b09cd06bad63519796d4adb2e88ae2461b964377134b042fb93fc549acf0ea1a7a2464cf81f61ae9a0d9c045285edb1a
+DIST gnote-49.1.tar.xz 4359104 BLAKE2B 
bd3e8d0ce44b0df2213ee70dccd63e0a5e1d81371812839fdf95d22b40d1e3692f9793284635e93d2e92aaf03742da2e3a66b39d72cd53e702838ceca99fb18c
 SHA512 
0b1f14bb9629c61b08d764c84fa932143d1128ed92e668be22dd7f4f7641582de345bac2355272ff754e3d59f2cefec08eec3f0eff21456c0c62c5a4e5ca2086

diff --git a/app-misc/gnote/gnote-49.1.ebuild b/app-misc/gnote/gnote-49.1.ebuild
new file mode 100644
index 000000000000..d9412264b674
--- /dev/null
+++ b/app-misc/gnote/gnote-49.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2 meson readme.gentoo-r1
+
+DESCRIPTION="Desktop note-taking application"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnote";
+
+LICENSE="GPL-3+ FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+       >=dev-libs/glib-2.74:2[dbus]
+       >=dev-cpp/glibmm-2.74:2.68
+       >=dev-cpp/gtkmm-4.10.0:4.0
+       >=gui-libs/libadwaita-1
+       >=app-crypt/libsecret-0.8
+       >=dev-libs/libxml2-2:2=
+       dev-libs/libxslt
+       >=sys-apps/util-linux-2.16
+       test? ( dev-libs/unittest++ )
+"
+RDEPEND="${DEPEND}
+       gnome-base/gsettings-desktop-schemas
+"
+BDEPEND="
+       dev-util/itstool
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       default
+
+       if ! use test; then
+               sed -i -e "/unit_test_pp/ s/ = .*/ = disabler()/" meson.build 
|| die
+       fi
+
+       if has_version net-fs/wdfs; then
+               DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote 
will use it to
+               synchronize notes."
+       else
+               DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
+               If you want to use that functionality just emerge net-fs/wdfs.
+               Gnote will automatically detect that you did and let you use 
it."
+       fi
+}
+
+src_install() {
+       meson_src_install
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       gnome2_pkg_postinst
+       readme.gentoo_print_elog
+}

Reply via email to