commit: f87b8e189b3e57297ea9242b8808cd8d0d613c06 Author: Filip Kobierski <fkobi <AT> pm <DOT> me> AuthorDate: Tue Feb 25 17:59:05 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Apr 24 23:53:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87b8e18
net-p2p/nicotine+: add 3.3.10 with some improvements - remove src_prepare -- upstream disabled network tests by default - DOCS - made them more concise - moved above distutils_enable_testing Signed-off-by: Filip Kobierski <fkobi <AT> pm.me> Part-of: https://github.com/gentoo/gentoo/pull/40755 Closes: https://github.com/gentoo/gentoo/pull/40755 Signed-off-by: Sam James <sam <AT> gentoo.org> net-p2p/nicotine+/Manifest | 1 + net-p2p/nicotine+/nicotine+-3.3.10.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/net-p2p/nicotine+/Manifest b/net-p2p/nicotine+/Manifest index 851fe9827fdd..1be5a15b0a7f 100644 --- a/net-p2p/nicotine+/Manifest +++ b/net-p2p/nicotine+/Manifest @@ -1 +1,2 @@ +DIST nicotine+-3.3.10.tar.gz 3870694 BLAKE2B 3a2ee3b6f2dcd1622b8474323181fe4141c2dc132101075b675d9ae6eb19911fdb0ced255c3cde69e6910c07f2497c651220c91471635b63dd412be70af52f82 SHA512 f4f6c36278f323cb4864a86ca1f8e9e47170cc7cd185c3318d099d6e5f049a7a3b0c7cbb9b24800075fe39e1f69146c8c8b224438ec694f16b14d4a7ad53cc97 DIST nicotine+-3.3.7.tar.gz 3756968 BLAKE2B 0029804c9cce04af6a2c5ec1370afe1d72f44a640e091f2444920e93a466ac30996c4ffaa19cb3686d9a7c22fc380174622f308752568204fb5c327e1af6be51 SHA512 484b5cbb6f572b0c168f1d9771e901b6eb38639acb6d563ffec1e621cdc5630f720a6e4a31a59b8d9043dc83d98be377479bf065058fdd1a112a23012366ef02 diff --git a/net-p2p/nicotine+/nicotine+-3.3.10.ebuild b/net-p2p/nicotine+/nicotine+-3.3.10.ebuild new file mode 100644 index 000000000000..d3ef51299d61 --- /dev/null +++ b/net-p2p/nicotine+/nicotine+-3.3.10.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 optfeature xdg + +DESCRIPTION="Graphical client for the Soulseek peer to peer network written in Python" +HOMEPAGE="https://nicotine-plus.org/" +SRC_URI="https://github.com/Nicotine-Plus/nicotine-plus/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/nicotine-plus-${PV}" + +LICENSE="GPL-3+ MIT CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# NOTE: good link - https://github.com/nicotine-plus/nicotine-plus/blob/master/doc/DEPENDENCIES.md +BDEPEND=" + sys-devel/gettext + test? ( + || ( + >=gui-libs/gtk-4.6.9[broadway] + >=x11-libs/gtk+-3.22.30:3[broadway] + ) + ) +" +RDEPEND=" + dev-python/pygobject:3[${PYTHON_USEDEP}] + || ( + >=gui-libs/gtk-4.6.9[introspection] + >=x11-libs/gtk+-3.22.30:3[introspection] + ) +" +DOCS=( {AUTHORS.NEWS,README}.md ) + +distutils_enable_tests pytest + +pkg_postinst() { + xdg_pkg_postinst + + elog "Nicotine can work with both gtk3+ and gtk4." + elog "The newer version is preferred but it has worse screen reader support" + elog "If you need it you can switch to gtk3+ by running nicotine" + elog "with an environmental variable like this:" + elog " $ NICOTINE_GTK_VERSION=3 nicotine" + + optfeature "Adwaita theme on GNOME (GTK 4)" gui-libs/libadwaita + optfeature "Chat spellchecking (GTK 3)" app-text/gspell +}
