mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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:
1
net-im/srain/Manifest
Normal file
1
net-im/srain/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST srain-1.1.0.tar.gz 941873 BLAKE2B db8039b4fa5f6ae31dba24cd6274608c994e85fffc237d12cdde7b4d3b47d94fd88d8ae4ace828dffb3eb76d6c1e05a797eabaca2caa31c09cb3f938fab33039 SHA512 0303d1734840c9af81f786da405617392570c2f34a9098fe7d1148f63642fb034877549477a8b52add8f1da7dc4ac38474a1cf3e42e51cc443b06b50c765b02a
|
||||
7
net-im/srain/metadata.xml
Normal file
7
net-im/srain/metadata.xml
Normal 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>
|
||||
48
net-im/srain/srain-1.1.0.ebuild
Normal file
48
net-im/srain/srain-1.1.0.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user