Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/tootle/
Date: Tue, 02 Feb 2021 17:02:52
Message-Id: 1612284920.1d67425b35f8dd13057e5adaf36e392356792097.xgqt@gentoo
1 commit: 1d67425b35f8dd13057e5adaf36e392356792097
2 Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
3 AuthorDate: Tue Feb 2 16:55:20 2021 +0000
4 Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com>
5 CommitDate: Tue Feb 2 16:55:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d67425b
7
8 net-misc/tootle: bump to 1.0
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
12
13 net-misc/tootle/Manifest | 1 +
14 net-misc/tootle/tootle-1.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/net-misc/tootle/Manifest b/net-misc/tootle/Manifest
18 index 7f182e5d..3c8d70d4 100644
19 --- a/net-misc/tootle/Manifest
20 +++ b/net-misc/tootle/Manifest
21 @@ -1 +1,2 @@
22 +DIST tootle-1.0.tar.gz 795812 BLAKE2B 6e0125d37646f39a5b0e26cb28080bc4b79cf50dfa805940359fcfe98156020106b309cb553a6844a0a4bff51298117e43805675159786a3d6af83e20098eb1b SHA512 31eadfcc27cff26e8c84ecc56209e8bc9e0f616a9ab32a63208a89875597ecc668ac856a6044533b718c90f4acd286b7f07ca1386d6bb8d259a793e339a3f79d
23 DIST tootle-1.0_alpha2.tar.gz 794059 BLAKE2B 7dd03b8bdb3f8b9ae3758fc8c3e7f1fa3529ddc61cf3e281ed92330b89c99651e860d213cf1a3818abff24853b20a9562f46ac1c601e94537bf45940166a17aa SHA512 cb51fce1b439a0703be5e0c755aaebd4ad81b87252f19784cbec80ce3c43e94bfc72c5e205e9a016706a8edd4dfffc9ce0ecfddae4fc45f0edec85f5fca9dfcf
24
25 diff --git a/net-misc/tootle/tootle-1.0.ebuild b/net-misc/tootle/tootle-1.0.ebuild
26 new file mode 100644
27 index 00000000..60d58c45
28 --- /dev/null
29 +++ b/net-misc/tootle/tootle-1.0.ebuild
30 @@ -0,0 +1,57 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit vala meson gnome2-utils xdg
37 +
38 +DESCRIPTION="Mastodon client written in GTK3"
39 +HOMEPAGE="https://github.com/bleakgrey/tootle"
40 +
41 +if [[ "${PV}" == *9999* ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/bleakgrey/${PN}.git"
44 +else
45 + MY_PV="${PV/_/-}"
46 + SRC_URI="https://github.com/bleakgrey/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
47 + KEYWORDS="~amd64 ~arm64"
48 + S="${WORKDIR}/${PN}-${MY_PV}"
49 +fi
50 +
51 +LICENSE="GPL-3"
52 +SLOT="0"
53 +
54 +RDEPEND="
55 + dev-libs/glib:2
56 + dev-libs/json-glib
57 + dev-libs/libgee:0.8
58 + gui-libs/libhandy:1
59 + net-libs/libsoup:2.4
60 + x11-libs/gtk+:3
61 +"
62 +DEPEND="
63 + ${RDEPEND}
64 +"
65 +
66 +src_prepare() {
67 + xdg_src_prepare
68 + vala_src_prepare
69 + default
70 +}
71 +
72 +pkg_preinst() {
73 + gnome2_schemas_savelist
74 + xdg_pkg_preinst
75 +}
76 +
77 +pkg_postinst() {
78 + gnome2_gconf_install
79 + gnome2_schemas_update
80 + xdg_pkg_postinst
81 +}
82 +
83 +pkg_postrm() {
84 + gnome2_gconf_uninstall
85 + gnome2_schemas_update
86 + xdg_pkg_postrm
87 +}