1 |
commit: ecb88141fa0b54e1849fbb0d807ffcd02c33c22a |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue Jan 19 20:07:07 2021 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
5 |
CommitDate: Wed Jan 20 22:15:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ecb88141 |
7 |
|
8 |
net-misc/tootle: new pkg; add version 1.0_alpha2 and live |
9 |
|
10 |
Package-Manager: Portage-3.0.12, 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/metadata.xml | 11 ++++++ |
15 |
net-misc/tootle/tootle-1.0_alpha2.ebuild | 58 ++++++++++++++++++++++++++++++++ |
16 |
net-misc/tootle/tootle-9999.ebuild | 57 +++++++++++++++++++++++++++++++ |
17 |
4 files changed, 127 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/tootle/Manifest b/net-misc/tootle/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000..7f182e5d |
22 |
--- /dev/null |
23 |
+++ b/net-misc/tootle/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST tootle-1.0_alpha2.tar.gz 794059 BLAKE2B 7dd03b8bdb3f8b9ae3758fc8c3e7f1fa3529ddc61cf3e281ed92330b89c99651e860d213cf1a3818abff24853b20a9562f46ac1c601e94537bf45940166a17aa SHA512 cb51fce1b439a0703be5e0c755aaebd4ad81b87252f19784cbec80ce3c43e94bfc72c5e205e9a016706a8edd4dfffc9ce0ecfddae4fc45f0edec85f5fca9dfcf |
26 |
|
27 |
diff --git a/net-misc/tootle/metadata.xml b/net-misc/tootle/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000..e0e9cf02 |
30 |
--- /dev/null |
31 |
+++ b/net-misc/tootle/metadata.xml |
32 |
@@ -0,0 +1,11 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>xgqt@××××××××××.com</email> |
38 |
+ <name>Maciej Barć</name> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="github">bleakgrey/tootle</remote-id> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/net-misc/tootle/tootle-1.0_alpha2.ebuild b/net-misc/tootle/tootle-1.0_alpha2.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000..e0cbe714 |
48 |
--- /dev/null |
49 |
+++ b/net-misc/tootle/tootle-1.0_alpha2.ebuild |
50 |
@@ -0,0 +1,58 @@ |
51 |
+# Copyright 1999-2021 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=7 |
55 |
+ |
56 |
+inherit vala meson gnome2-utils xdg |
57 |
+ |
58 |
+DESCRIPTION="Mastodon client written in GTK3" |
59 |
+HOMEPAGE="https://github.com/bleakgrey/tootle" |
60 |
+ |
61 |
+if [[ "${PV}" == *9999* ]]; then |
62 |
+ inherit git-r3 |
63 |
+ EGIT_REPO_URI="https://github.com/bleakgrey/${PN}.git" |
64 |
+else |
65 |
+ MY_PV="${PV/_/-}" |
66 |
+ SRC_URI="https://github.com/bleakgrey/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
67 |
+ KEYWORDS="~amd64" |
68 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
69 |
+fi |
70 |
+ |
71 |
+LICENSE="GPL-3" |
72 |
+KEYWORDS="~arm64 ~amd64" |
73 |
+SLOT="0" |
74 |
+ |
75 |
+RDEPEND=" |
76 |
+ dev-libs/glib:2 |
77 |
+ dev-libs/json-glib |
78 |
+ dev-libs/libgee:0.8 |
79 |
+ gui-libs/libhandy:1 |
80 |
+ net-libs/libsoup:2.4 |
81 |
+ x11-libs/gtk+:3 |
82 |
+" |
83 |
+DEPEND=" |
84 |
+ ${RDEPEND} |
85 |
+" |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ xdg_src_prepare |
89 |
+ vala_src_prepare |
90 |
+ default |
91 |
+} |
92 |
+ |
93 |
+pkg_preinst() { |
94 |
+ gnome2_schemas_savelist |
95 |
+ xdg_pkg_preinst |
96 |
+} |
97 |
+ |
98 |
+pkg_postinst() { |
99 |
+ gnome2_gconf_install |
100 |
+ gnome2_schemas_update |
101 |
+ xdg_pkg_postinst |
102 |
+} |
103 |
+ |
104 |
+pkg_postrm() { |
105 |
+ gnome2_gconf_uninstall |
106 |
+ gnome2_schemas_update |
107 |
+ xdg_pkg_postrm |
108 |
+} |
109 |
|
110 |
diff --git a/net-misc/tootle/tootle-9999.ebuild b/net-misc/tootle/tootle-9999.ebuild |
111 |
new file mode 100644 |
112 |
index 00000000..71270f2c |
113 |
--- /dev/null |
114 |
+++ b/net-misc/tootle/tootle-9999.ebuild |
115 |
@@ -0,0 +1,57 @@ |
116 |
+# Copyright 1999-2021 Gentoo Authors |
117 |
+# Distributed under the terms of the GNU General Public License v2 |
118 |
+ |
119 |
+EAPI=7 |
120 |
+ |
121 |
+inherit vala meson gnome2-utils xdg |
122 |
+ |
123 |
+DESCRIPTION="Mastodon client written in GTK3" |
124 |
+HOMEPAGE="https://github.com/bleakgrey/tootle" |
125 |
+ |
126 |
+if [[ "${PV}" == *9999* ]]; then |
127 |
+ inherit git-r3 |
128 |
+ EGIT_REPO_URI="https://github.com/bleakgrey/${PN}.git" |
129 |
+else |
130 |
+ MY_PV="${PV/_/-}" |
131 |
+ SRC_URI="https://github.com/bleakgrey/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
132 |
+ KEYWORDS="~amd64" |
133 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
134 |
+fi |
135 |
+ |
136 |
+LICENSE="GPL-3" |
137 |
+SLOT="0" |
138 |
+ |
139 |
+RDEPEND=" |
140 |
+ dev-libs/glib:2 |
141 |
+ dev-libs/json-glib |
142 |
+ dev-libs/libgee:0.8 |
143 |
+ gui-libs/libhandy:1 |
144 |
+ net-libs/libsoup:2.4 |
145 |
+ x11-libs/gtk+:3 |
146 |
+" |
147 |
+DEPEND=" |
148 |
+ ${RDEPEND} |
149 |
+" |
150 |
+ |
151 |
+src_prepare() { |
152 |
+ xdg_src_prepare |
153 |
+ vala_src_prepare |
154 |
+ default |
155 |
+} |
156 |
+ |
157 |
+pkg_preinst() { |
158 |
+ gnome2_schemas_savelist |
159 |
+ xdg_pkg_preinst |
160 |
+} |
161 |
+ |
162 |
+pkg_postinst() { |
163 |
+ gnome2_gconf_install |
164 |
+ gnome2_schemas_update |
165 |
+ xdg_pkg_postinst |
166 |
+} |
167 |
+ |
168 |
+pkg_postrm() { |
169 |
+ gnome2_gconf_uninstall |
170 |
+ gnome2_schemas_update |
171 |
+ xdg_pkg_postrm |
172 |
+} |