Files
guru/net-irc/srain/srain-1.2.1.ebuild
Anna Vyalkova 3d1cc4066f move catgirl and srain to net-irc
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
2021-05-25 13:05:56 +05:00

43 lines
866 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit 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="debug doc"
RDEPEND="
>=x11-libs/gtk+-3.22.0
x11-libs/libnotify
"
DEPEND="
${RDEPEND}
app-crypt/libsecret
dev-libs/libconfig
net-libs/libsoup
"
BDEPEND="dev-python/sphinx"
src_prepare() {
sed -i "s/'doc', meson.project_name())/'doc', meson.project_name() + '-${PV}')/" \
meson.build || die
xdg_src_prepare
}
src_configure() {
local emesonargs=(
--buildtype $(usex debug 'debug' 'plain')
-Ddoc_builders="['man'$(usex doc ', "html"' '')]"
)
meson_src_configure
}