Gentoo Archives: gentoo-commits

From: Stefan Strogin <steils@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/matrix:master commit in: net-im/element-desktop/
Date: Tue, 18 Aug 2020 11:57:06
Message-Id: 1597751768.ff94a884764fdcb40ea112008715c56bd4f5c1a2.steils@gentoo
1 commit: ff94a884764fdcb40ea112008715c56bd4f5c1a2
2 Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 18 11:56:08 2020 +0000
4 Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 18 11:56:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/matrix.git/commit/?id=ff94a884
7
8 net-im/element-desktop: drop old 1.7.2
9
10 Package-Manager: Portage-3.0.3, Repoman-3.0.0
11 Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
12
13 net-im/element-desktop/Manifest | 2 -
14 .../element-desktop-1.7.2-r1.ebuild | 116 ---------------------
15 2 files changed, 118 deletions(-)
16
17 diff --git a/net-im/element-desktop/Manifest b/net-im/element-desktop/Manifest
18 index 1a64624..84a0b27 100644
19 --- a/net-im/element-desktop/Manifest
20 +++ b/net-im/element-desktop/Manifest
21 @@ -1,8 +1,6 @@
22 DIST element-desktop-1.6.8.tar.gz 405372 BLAKE2B 58a6c47db3d082b27459bf7194891e3f6f2244885381bbce85f564e7af65b4a591fafee183c50e66f61a5f1d4036bd89e7b277a385c0df03651602a01a668057 SHA512 1d8bb1205299b5025251ac0aaba1111a5d669ed706e3862258197ba0073a1609abf48e144e53a6a302910f6c797003219562443ea9512e3ed12f878ffff04d19
23 -DIST element-desktop-1.7.2.tar.gz 1881611 BLAKE2B e5a83dcc1517768e217864c495645160a5f300d205e526e98f73fb7398dbba3772168977103cc89bd78e2dfa5a13c196cf9a3af04c389678da9653433ee85024 SHA512 10855fea225f7c92d1b1c5752806f61254d41672cf100b77c56a3b9c09c0ed9c101019cd0535afc8485a33508a91259546ad32367a3ea7a84e2d355fb50fe91c
24 DIST element-desktop-1.7.3.tar.gz 1879639 BLAKE2B 1089c502882ff4eb60f9a73a302d46eb56a4a56ba23a48e3457e974a460963dbcd7c5d04e63c68291492b2954eeb56ca73f7d697394afec02173b41af4efd267 SHA512 4f9c34ecc1a4dcdb0dfe2eac7542eb6db43674e25d69e7099f7a6fcacb84b2977748abd8ca9b43d518365b07abeb793b481765c2e82ab486f20014489e8daf80
25 DIST element-desktop-1.7.4.tar.gz 1879906 BLAKE2B e9a9db7716965abea27d3673f5d69b45adb6ef705be8cc8dbc0b418172b397f976a22ea5af625737225c375a26df6a16cc2dc7b01d9d06cea0214f2b10571709 SHA512 cbfb7c6bc56683f5fe8028852aec471a681929f186e4a980170636bbdf48ebc06255800e6d2b7502cfe9197e68f5cb203377ed21843974ba0ac6e371499588b7
26 DIST element-web-1.6.8.tar.gz 1157496 BLAKE2B a80fac49fbe9096b7ac6ec2111aab5ca9eeb9a1a91ad4395df0a3bc0bd5210dd960018e6e960bf8d3e14d6f272a045765afa08eb43bb57d72b71b52038e8ee4b SHA512 cf5b42e1ebe93ffc7cccc32d6c2e495c664f1253223c1643e73d37210f0556abbf9c0135e82673767aa690be168ccbb68341353cc346cd3e5f453183909a1de0
27 -DIST element-web-1.7.2.tar.gz 1177096 BLAKE2B f1ebff4fc7099ca89b0c81afc9628eadf21fcfa4d2696d4ef0a45712e34936c92a6bbcb72640ff1ee678a231f65f07aca545ac1d01bd07274fd55e8ff8ed3d98 SHA512 02849c20598f97123b34efacfa54fa90618964f31ab79dc0b49116a18abfad8ccb9148f2e42b8de6fddb355422e69a9138bf59de6d18627a9dfb1d877859692a
28 DIST element-web-1.7.3.tar.gz 1177183 BLAKE2B 918321344b6c5e9bdcb704bd054b1b2322f9bb0cec1654659f3238007b9562aa23f4524b86ad1deced8e58cc207f1dd53722df7fcb88b8a6e5728994885e5c14 SHA512 88cc870abdff5f674e2d8f172ee175c267a78e116d0b02103c397854b971f97e4489d64bf8b58b3764aeb526a055e7b52fb71f9ac1bba84871c5de1393f7edd7
29 DIST element-web-1.7.4.tar.gz 1176618 BLAKE2B 47ae0ee666d7b92413e4ce2e1d31863eafc296ee162a189704f1936a08769c61008ea0768d4e83686b7c985aa182dc839f2abdb63ca8ac17fb77a7dc735af86f SHA512 9b24517ace1ca9fed72251b262d6bcb8fb90d9dee57072c23a4f2c337eda29cef720087511bf4896f153ce8d3635842c119daaa9e1552f9dde1e5a4d4a3e915b
30
31 diff --git a/net-im/element-desktop/element-desktop-1.7.2-r1.ebuild b/net-im/element-desktop/element-desktop-1.7.2-r1.ebuild
32 deleted file mode 100644
33 index d9a8053..0000000
34 --- a/net-im/element-desktop/element-desktop-1.7.2-r1.ebuild
35 +++ /dev/null
36 @@ -1,116 +0,0 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -inherit unpacker xdg-utils
43 -
44 -DESCRIPTION="A glossy Matrix collaboration client for desktop"
45 -HOMEPAGE="https://element.io"
46 -SRC_URI="https://github.com/vector-im/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
47 - https://github.com/vector-im/element-web/archive/v${PV}.tar.gz -> element-web-${PV}.tar.gz"
48 -
49 -LICENSE="Apache-2.0"
50 -SLOT="0"
51 -KEYWORDS="~amd64"
52 -IUSE="+emoji"
53 -
54 -RESTRICT="network-sandbox"
55 -
56 -RDEPEND="app-accessibility/at-spi2-atk:2
57 - app-crypt/libsecret
58 - dev-db/sqlcipher
59 - dev-libs/atk
60 - dev-libs/expat
61 - dev-libs/nspr
62 - dev-libs/nss
63 - >=net-libs/nodejs-12.14.0
64 - net-print/cups
65 - x11-libs/cairo
66 - x11-libs/gdk-pixbuf:2
67 - x11-libs/gtk+:3
68 - x11-libs/libxcb
69 - x11-libs/libX11
70 - x11-libs/libXcomposite
71 - x11-libs/libXcursor
72 - x11-libs/libXdamage
73 - x11-libs/libXext
74 - x11-libs/libXfixes
75 - x11-libs/libXi
76 - x11-libs/libXrandr
77 - x11-libs/libXrender
78 - x11-libs/libXtst
79 - x11-libs/libXScrnSaver
80 - x11-libs/pango
81 - emoji? ( media-fonts/noto-emoji )"
82 -DEPEND="${RDEPEND}"
83 -BDEPEND="sys-apps/yarn
84 - virtual/rust"
85 -
86 -QA_PREBUILT="
87 - /opt/Element/chrome-sandbox
88 - /opt/Element/element-desktop
89 - /opt/Element/libEGL.so
90 - /opt/Element/libGLESv2.so
91 - /opt/Element/libffmpeg.so
92 - /opt/Element/libvk_swiftshader.so
93 - /opt/Element/swiftshader/libEGL.so
94 - /opt/Element/swiftshader/libGLESv2.so"
95 -
96 -ELEMENT_WEB_S="${WORKDIR}/element-web-${PV}"
97 -
98 -src_prepare() {
99 - default
100 - pushd "${ELEMENT_WEB_S}" >/dev/null || die
101 - yarn install || die
102 - cp config.sample.json config.json || die
103 -
104 - popd || die
105 - yarn install || die
106 -}
107 -
108 -src_compile() {
109 - pushd "${ELEMENT_WEB_S}" >/dev/null || die
110 - yarn build || die
111 -
112 - popd || die
113 - ln -s "${ELEMENT_WEB_S}"/webapp ./ || die
114 - yarn build:native || die
115 - yarn build || die
116 -}
117 -
118 -src_install() {
119 - unpack dist/${PN}_${PV}_amd64.deb
120 - tar -xvf data.tar.xz || die
121 -
122 - ./node_modules/asar/bin/asar.js p webapp opt/Element/resources/webapp.asar || die
123 - mv usr/share/doc/${PN} usr/share/doc/${PF} || die
124 - gunzip usr/share/doc/${PF}/changelog.gz || die
125 -
126 - insinto /
127 - doins -r usr
128 - doins -r opt
129 - local f
130 - for f in ${QA_PREBUILT}; do
131 - fperms +x "${f}"
132 - done
133 - dosym ../../opt/Element/${PN} /usr/bin/${PN}
134 - dosym ${PN} /usr/bin/riot-desktop
135 -}
136 -
137 -pkg_postinst() {
138 - xdg_desktop_database_update
139 - xdg_icon_cache_update
140 -
141 - elog "Since upgrading Element to Electron 8 it uses StatusNotifierItem"
142 - elog "for displaying the tray icon."
143 - elog "Some popular status bars do not support the new API."
144 - elog
145 - elog "If you have problems with showing the tray icon, consider installing"
146 - elog "x11-misc/snixembed."
147 -}
148 -
149 -pkg_postrm() {
150 - xdg_desktop_database_update
151 - xdg_icon_cache_update
152 -}