net-im/srain: add version 1.0.2 and 9999
This commit is contained in:
parent
0ce2feccd6
commit
e0ed20a840
1
net-im/srain/Manifest
Normal file
1
net-im/srain/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST srain-1.0.2.tar.gz 939068 BLAKE2B 429ec9b7a5a1d292b564fa66a7271062dadad486875d81eb5432deadad8fd3eed0a78b3ce633cea990902814abb01a958ec5c9e811f558de0af8b2d65b2c614c SHA512 6fe895ecd30cb456beb82bff8e147d734b60c8c8e70304602e6193c2f035871ec14421f2b50cf88e851ef7b92ac2b4ccbf03f23153e6949299849b299ebf3db3
|
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>
|
63
net-im/srain/srain-1.0.2.ebuild
Normal file
63
net-im/srain/srain-1.0.2.ebuild
Normal file
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils xdg-utils
|
||||
|
||||
DESCRIPTION="Modern IRC client written in GTK"
|
||||
HOMEPAGE="https://srain.im/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SrainApp/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/SrainApp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.38:2
|
||||
>=x11-libs/gtk+-3.20.0:3
|
||||
net-libs/glib-networking
|
||||
app-crypt/libsecret
|
||||
net-libs/libsoup
|
||||
x11-libs/libnotify
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=sys-devel/gettext-0.19.8
|
||||
dev-libs/libconfig
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.rst
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
local myconf=(
|
||||
$(use_enable debug)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
63
net-im/srain/srain-9999.ebuild
Normal file
63
net-im/srain/srain-9999.ebuild
Normal file
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils xdg-utils
|
||||
|
||||
DESCRIPTION="Modern IRC client written in GTK"
|
||||
HOMEPAGE="https://srain.im/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SrainApp/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/SrainApp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.38:2
|
||||
>=x11-libs/gtk+-3.20.0:3
|
||||
net-libs/glib-networking
|
||||
app-crypt/libsecret
|
||||
net-libs/libsoup
|
||||
x11-libs/libnotify
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=sys-devel/gettext-0.19.8
|
||||
dev-libs/libconfig
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.rst
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
local myconf=(
|
||||
$(use_enable debug)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user