net-im/srain: New package.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
David Heidelberg
2020-05-24 09:04:19 +02:00
parent a71e8a1c65
commit 694079fc31
3 changed files with 56 additions and 0 deletions

1
net-im/srain/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST srain-1.1.0.tar.gz 941873 BLAKE2B db8039b4fa5f6ae31dba24cd6274608c994e85fffc237d12cdde7b4d3b47d94fd88d8ae4ace828dffb3eb76d6c1e05a797eabaca2caa31c09cb3f938fab33039 SHA512 0303d1734840c9af81f786da405617392570c2f34a9098fe7d1148f63642fb034877549477a8b52add8f1da7dc4ac38474a1cf3e42e51cc443b06b50c765b02a

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">SrainApp/srain</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils xdg-utils
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)
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}