diff --git a/net-im/srain/Manifest b/net-im/srain/Manifest new file mode 100644 index 0000000000..f56bd1ccae --- /dev/null +++ b/net-im/srain/Manifest @@ -0,0 +1 @@ +DIST srain-1.1.0.tar.gz 941873 BLAKE2B db8039b4fa5f6ae31dba24cd6274608c994e85fffc237d12cdde7b4d3b47d94fd88d8ae4ace828dffb3eb76d6c1e05a797eabaca2caa31c09cb3f938fab33039 SHA512 0303d1734840c9af81f786da405617392570c2f34a9098fe7d1148f63642fb034877549477a8b52add8f1da7dc4ac38474a1cf3e42e51cc443b06b50c765b02a diff --git a/net-im/srain/metadata.xml b/net-im/srain/metadata.xml new file mode 100644 index 0000000000..29caf58803 --- /dev/null +++ b/net-im/srain/metadata.xml @@ -0,0 +1,7 @@ + + + + + SrainApp/srain + + diff --git a/net-im/srain/srain-1.1.0.ebuild b/net-im/srain/srain-1.1.0.ebuild new file mode 100644 index 0000000000..a641b64118 --- /dev/null +++ b/net-im/srain/srain-1.1.0.ebuild @@ -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 +}