Files
guru/net-im/srain/srain-1.1.0.ebuild
Haelwenn (lanodan) Monnier d9f94c8a2c net-im/srain: Use xdg instead of xdg-utils
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-05-24 09:55:55 +02:00

39 lines
754 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils xdg
DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3"
HOMEPAGE="https://github.com/SrainApp/srain"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SrainApp/${PN}.git"
KEYWORDS=""
else
MY_PV="${PV/_rc/rc}"
MY_P="${PN}-${MY_PV}"
SRC_URI="https://github.com/SrainApp/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
S="${WORKDIR}/${MY_P}"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="debug"
DEPEND="
dev-libs/libconfig
net-libs/libsoup
"
RDEPEND="${DEPEND}
>=x11-libs/gtk+-3.22.0
x11-libs/libnotify
"
src_configure(){
econf $(use_enable debug)
}