commit: dbcc26695945d7f726c3bf04b4990697842446e8 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Tue Jul 27 05:26:20 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Jul 27 05:34:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dbcc2669
net-irc/srain: version bump to 1.2.4 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> net-irc/srain/Manifest | 2 +- net-irc/srain/srain-1.1.3.ebuild | 35 ----------------------------- net-irc/srain/srain-1.2.4.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 36 deletions(-) diff --git a/net-irc/srain/Manifest b/net-irc/srain/Manifest index 3339c7b3c..6dd8ea916 100644 --- a/net-irc/srain/Manifest +++ b/net-irc/srain/Manifest @@ -1,2 +1,2 @@ -DIST srain-1.1.3.tar.gz 944319 BLAKE2B 74beb34a8e10716392aaaf07586c399f7a66601015c7761c116a3dcf822d6f9c69d3bc3e40b1b5ed780aed24ce1b2fa8496f2c8f4a77484acce294edfb653d00 SHA512 ad1c47bb249dae27cea3d4a044bbd10c034f2bb44fbec34053eeb878405caf9cf6236a03a7ff922f4eb4c189e5ccab4a307c208569bf0fdeb654a9de03a6d4fe DIST srain-1.2.1.tar.gz 954668 BLAKE2B 20beb88761a387a041659ea11f852655daab9fdcd4b1d2f2b080bfa4dd9c19a61c12ebba9a581a10355d9249a6063dcdfea486dccb625622e68b57a4445afae7 SHA512 594cb65827ba3f4cf99820640103bdd1d67577df31e1fcb27f98722e243bcbab68420aff0c3f26cc7d0c149a4a8c256fc386709b8ff86d6b617c170f00c076f3 +DIST srain-1.2.4.tar.gz 954684 BLAKE2B 9989715380f0fb702a8f43be77ee5cd6360f2e8ddb2d21e8f1e0741fe6aabe3869b42e9e1f36c642b8cbfb6e2419f14d4ccc682f7fd7b1dda0f3b1af5b69e59f SHA512 96d15f9d8bccc197b1bcda2c4707bdeea8e5cb33e3a8ad88ea5431b059c64e2ccb2e82897fcb1c02198420fed2c59148ff1c32f5f305cfffa88f096e41b42cb4 diff --git a/net-irc/srain/srain-1.1.3.ebuild b/net-irc/srain/srain-1.1.3.ebuild deleted file mode 100644 index eb3b3c464..000000000 --- a/net-irc/srain/srain-1.1.3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs xdg - -DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3" -HOMEPAGE="https://github.com/SrainApp/srain" -SRC_URI="https://github.com/SrainApp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="debug" - -RDEPEND=" - >=x11-libs/gtk+-3.22.0 - x11-libs/libnotify -" -DEPEND=" - ${RDEPEND} - app-crypt/libsecret - dev-libs/libconfig - net-libs/libsoup -" - -src_configure() { - econf $(use_enable debug) -} - -src_compile() { - tc-export CC - default -} diff --git a/net-irc/srain/srain-1.2.4.ebuild b/net-irc/srain/srain-1.2.4.ebuild new file mode 100644 index 000000000..a1091c151 --- /dev/null +++ b/net-irc/srain/srain-1.2.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +DOCS_BUILDER="sphinx" +DOCS_DIR="doc" +DOCS_AUTODOC=0 + +inherit python-any-r1 docs meson xdg + +DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3" +HOMEPAGE="https://github.com/SrainApp/srain" +SRC_URI="https://github.com/SrainApp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+man" + +RDEPEND=" + app-crypt/libsecret + >=dev-libs/glib-2.39.3 + >=dev-libs/libconfig-1.5 + dev-libs/openssl + net-libs/libsoup:2.4 + >=x11-libs/gtk+-3.22.15 +" +DEPEND="${RDEPEND}" +BDEPEND="man? ( ${DOCS_DEPEND} )" + +src_prepare() { + sed -i "s/\('doc', meson.project_name()\)/\1 + '-${PF}'/" \ + meson.build || die + + xdg_src_prepare +} + +src_configure() { + use man && emesonargs=( -Ddoc_builders='["man"]' ) + meson_src_configure +} + +src_compile() { + docs_compile + meson_src_compile +}
