Gentoo Archives: gentoo-commits

From: Haelwenn Monnier <contact@×××××××××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/srain/
Date: Sun, 24 May 2020 07:58:11
Message-Id: 1590303859.694079fc31b81158de74f7a38ace1a8ce36b6dd2.lanodan@gentoo
1 commit: 694079fc31b81158de74f7a38ace1a8ce36b6dd2
2 Author: David Heidelberg <david <AT> ixit <DOT> cz>
3 AuthorDate: Sun May 24 07:04:19 2020 +0000
4 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
5 CommitDate: Sun May 24 07:04:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=694079fc
7
8 net-im/srain: New package.
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: David Heidelberg <david <AT> ixit.cz>
12
13 net-im/srain/Manifest | 1 +
14 net-im/srain/metadata.xml | 7 ++++++
15 net-im/srain/srain-1.1.0.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++
16 3 files changed, 56 insertions(+)
17
18 diff --git a/net-im/srain/Manifest b/net-im/srain/Manifest
19 new file mode 100644
20 index 0000000..f56bd1c
21 --- /dev/null
22 +++ b/net-im/srain/Manifest
23 @@ -0,0 +1 @@
24 +DIST srain-1.1.0.tar.gz 941873 BLAKE2B db8039b4fa5f6ae31dba24cd6274608c994e85fffc237d12cdde7b4d3b47d94fd88d8ae4ace828dffb3eb76d6c1e05a797eabaca2caa31c09cb3f938fab33039 SHA512 0303d1734840c9af81f786da405617392570c2f34a9098fe7d1148f63642fb034877549477a8b52add8f1da7dc4ac38474a1cf3e42e51cc443b06b50c765b02a
25
26 diff --git a/net-im/srain/metadata.xml b/net-im/srain/metadata.xml
27 new file mode 100644
28 index 0000000..29caf58
29 --- /dev/null
30 +++ b/net-im/srain/metadata.xml
31 @@ -0,0 +1,7 @@
32 +<?xml version='1.0' encoding='UTF-8'?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <upstream>
36 + <remote-id type="github">SrainApp/srain</remote-id>
37 + </upstream>
38 +</pkgmetadata>
39
40 diff --git a/net-im/srain/srain-1.1.0.ebuild b/net-im/srain/srain-1.1.0.ebuild
41 new file mode 100644
42 index 0000000..a641b64
43 --- /dev/null
44 +++ b/net-im/srain/srain-1.1.0.ebuild
45 @@ -0,0 +1,48 @@
46 +# Copyright 1999-2020 Gentoo Authors
47 +# Distributed under the terms of the GNU General Public License v2
48 +
49 +EAPI=7
50 +
51 +inherit eutils xdg-utils
52 +
53 +DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3"
54 +HOMEPAGE="https://github.com/SrainApp/srain"
55 +
56 +if [[ ${PV} == 9999 ]]; then
57 + inherit git-r3
58 + EGIT_REPO_URI="https://github.com/SrainApp/${PN}.git"
59 + KEYWORDS=""
60 +else
61 + MY_PV="${PV/_rc/rc}"
62 + MY_P="${PN}-${MY_PV}"
63 + SRC_URI="https://github.com/SrainApp/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
64 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
65 + S="${WORKDIR}/${MY_P}"
66 +fi
67 +
68 +LICENSE="GPL-3"
69 +SLOT="0"
70 +IUSE="debug"
71 +
72 +DEPEND="
73 + dev-libs/libconfig
74 + net-libs/libsoup
75 +"
76 +RDEPEND="${DEPEND}
77 + >=x11-libs/gtk+-3.22.0
78 + x11-libs/libnotify
79 +"
80 +
81 +src_configure(){
82 + econf $(use_enable debug)
83 +}
84 +
85 +pkg_postinst() {
86 + xdg_desktop_database_update
87 + xdg_icon_cache_update
88 +}
89 +
90 +pkg_postrm() {
91 + xdg_desktop_database_update
92 + xdg_icon_cache_update
93 +}