1 |
commit: 658a88e31e09c23c5b499ffdaa96421d31411d50 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 5 17:56:56 2022 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 6 08:44:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658a88e3 |
7 |
|
8 |
www-apps/element: add 1.11.2 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
www-apps/element/Manifest | 1 + |
13 |
www-apps/element/element-1.11.2.ebuild | 35 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/www-apps/element/Manifest b/www-apps/element/Manifest |
17 |
index ee57d7d0da35..a28f7eb227d8 100644 |
18 |
--- a/www-apps/element/Manifest |
19 |
+++ b/www-apps/element/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST element-v1.11.0.tar.gz 17131153 BLAKE2B 59685357871de8778a0e84d57938476e22bd1757d7abcea718b044a2edd1bf41e22494c8e416c3c48c3277a4c3ce109d5d38c209e0a47c53f6abb584bb4b5fea SHA512 8cdfaef81e825d6849bd6371fb167d2178a091f4c5b7fa1787464dd3b979b2b4402fb327e52d9c46244fc02172878c5ad1ae954c32f0c491c11a5f9822a456d7 |
22 |
+DIST element-v1.11.2.tar.gz 17496640 BLAKE2B 3c7792ae0b891987b860b0b85992c1ad5148e3faef8de55f4bd01575203b959a8b82ab7a98053b2adca6d2433af6d3f94ea2dd68005c1a05eafa605e43564134 SHA512 2942ca28d882203b8996460bd2be57e188093f58ae854a73be96616a233b150e8623aced2a9687ae7878707a8750d56b2a65d4a3fc6d2339a5b74f275ee0e274 |
23 |
|
24 |
diff --git a/www-apps/element/element-1.11.2.ebuild b/www-apps/element/element-1.11.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..bdccc2ddf91f |
27 |
--- /dev/null |
28 |
+++ b/www-apps/element/element-1.11.2.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit webapp |
36 |
+ |
37 |
+DESCRIPTION="A glossy Matrix collaboration client for the web" |
38 |
+HOMEPAGE="https://element.io/" |
39 |
+SRC_URI="https://github.com/vector-im/element-web/releases/download/v${PV}/${PN}-v${PV}.tar.gz" |
40 |
+ |
41 |
+LICENSE="Apache-2.0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+ |
44 |
+DEPEND="" |
45 |
+RDEPEND="${DEPEND}" |
46 |
+need_httpd |
47 |
+ |
48 |
+S=${WORKDIR}/${PN}-v${PV} |
49 |
+ |
50 |
+src_install() { |
51 |
+ webapp_src_preinst |
52 |
+ |
53 |
+ insinto "${MY_HTDOCSDIR}" |
54 |
+ doins -r . |
55 |
+ |
56 |
+ dodir "${MY_HTDOCSDIR}"/home |
57 |
+ dodir "${MY_HTDOCSDIR}"/sites |
58 |
+ |
59 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/home |
60 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites |
61 |
+ #webapp_configfile "${MY_HTDOCSDIR}"/config.json |
62 |
+ |
63 |
+ webapp_src_install |
64 |
+} |