net-irc/srain: version bump to 1.2.4

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-07-27 10:26:20 +05:00
parent 32d3f8cdfa
commit dbcc266959
3 changed files with 49 additions and 36 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}