diff options
author | 2020-09-15 19:26:39 +0300 | |
---|---|---|
committer | 2020-09-15 19:26:39 +0300 | |
commit | 44f5e9cbd8344ebbc17a9531f4cd8030733a2f0d (patch) | |
tree | 418306734414397139bdccaec948a18a6b6fbbaa | |
parent | net-im/fractal: add missing dep (diff) | |
download | matrix-44f5e9cbd8344ebbc17a9531f4cd8030733a2f0d.tar.gz matrix-44f5e9cbd8344ebbc17a9531f4cd8030733a2f0d.tar.bz2 matrix-44f5e9cbd8344ebbc17a9531f4cd8030733a2f0d.zip |
net-im/element-desktop: upgrade to 1.7.7
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Stefan Strogin <steils@gentoo.org>
-rw-r--r-- | net-im/element-desktop/Manifest | 2 | ||||
-rw-r--r-- | net-im/element-desktop/element-desktop-1.7.7.ebuild | 101 |
2 files changed, 103 insertions, 0 deletions
diff --git a/net-im/element-desktop/Manifest b/net-im/element-desktop/Manifest index 84a0b27..5952012 100644 --- a/net-im/element-desktop/Manifest +++ b/net-im/element-desktop/Manifest @@ -1,6 +1,8 @@ DIST element-desktop-1.6.8.tar.gz 405372 BLAKE2B 58a6c47db3d082b27459bf7194891e3f6f2244885381bbce85f564e7af65b4a591fafee183c50e66f61a5f1d4036bd89e7b277a385c0df03651602a01a668057 SHA512 1d8bb1205299b5025251ac0aaba1111a5d669ed706e3862258197ba0073a1609abf48e144e53a6a302910f6c797003219562443ea9512e3ed12f878ffff04d19 DIST element-desktop-1.7.3.tar.gz 1879639 BLAKE2B 1089c502882ff4eb60f9a73a302d46eb56a4a56ba23a48e3457e974a460963dbcd7c5d04e63c68291492b2954eeb56ca73f7d697394afec02173b41af4efd267 SHA512 4f9c34ecc1a4dcdb0dfe2eac7542eb6db43674e25d69e7099f7a6fcacb84b2977748abd8ca9b43d518365b07abeb793b481765c2e82ab486f20014489e8daf80 DIST element-desktop-1.7.4.tar.gz 1879906 BLAKE2B e9a9db7716965abea27d3673f5d69b45adb6ef705be8cc8dbc0b418172b397f976a22ea5af625737225c375a26df6a16cc2dc7b01d9d06cea0214f2b10571709 SHA512 cbfb7c6bc56683f5fe8028852aec471a681929f186e4a980170636bbdf48ebc06255800e6d2b7502cfe9197e68f5cb203377ed21843974ba0ac6e371499588b7 +DIST element-desktop-1.7.7.tar.gz 1879724 BLAKE2B 8fd89acb827ac4da8bef12dafaac12149477ff528f14a15fc1ce9c4a659b72577681cd3de3af667538a48528233e4bc4a93d6f904a6e7d2b8645b8f0a151d595 SHA512 772e9bf85d962c338f682245e2939c2a051bdb0a20b402e6f659d1df119b173ef86fd259ed2749f797aba2435a88b11106f03020ce5f2973347441af07580da2 DIST element-web-1.6.8.tar.gz 1157496 BLAKE2B a80fac49fbe9096b7ac6ec2111aab5ca9eeb9a1a91ad4395df0a3bc0bd5210dd960018e6e960bf8d3e14d6f272a045765afa08eb43bb57d72b71b52038e8ee4b SHA512 cf5b42e1ebe93ffc7cccc32d6c2e495c664f1253223c1643e73d37210f0556abbf9c0135e82673767aa690be168ccbb68341353cc346cd3e5f453183909a1de0 DIST element-web-1.7.3.tar.gz 1177183 BLAKE2B 918321344b6c5e9bdcb704bd054b1b2322f9bb0cec1654659f3238007b9562aa23f4524b86ad1deced8e58cc207f1dd53722df7fcb88b8a6e5728994885e5c14 SHA512 88cc870abdff5f674e2d8f172ee175c267a78e116d0b02103c397854b971f97e4489d64bf8b58b3764aeb526a055e7b52fb71f9ac1bba84871c5de1393f7edd7 DIST element-web-1.7.4.tar.gz 1176618 BLAKE2B 47ae0ee666d7b92413e4ce2e1d31863eafc296ee162a189704f1936a08769c61008ea0768d4e83686b7c985aa182dc839f2abdb63ca8ac17fb77a7dc735af86f SHA512 9b24517ace1ca9fed72251b262d6bcb8fb90d9dee57072c23a4f2c337eda29cef720087511bf4896f153ce8d3635842c119daaa9e1552f9dde1e5a4d4a3e915b +DIST element-web-1.7.7.tar.gz 1180689 BLAKE2B f601317f2443e891bab674d577d8643720353ada6cce14e7f575c618859235d04d5817509a427f23edbfe373d2eb29e8cb95b79180d8f0143f6a874adbbf53fc SHA512 baadd95cef09d955623ec46de9446e4b3ab3a23ff6956f63ce44d483b310ce4686a10e482f4a9f11735a86607a7b1637e7bb89f7af10e068dd8174c19bc4ad92 diff --git a/net-im/element-desktop/element-desktop-1.7.7.ebuild b/net-im/element-desktop/element-desktop-1.7.7.ebuild new file mode 100644 index 0000000..8b150ab --- /dev/null +++ b/net-im/element-desktop/element-desktop-1.7.7.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker xdg + +DESCRIPTION="A glossy Matrix collaboration client for desktop" +HOMEPAGE="https://element.io" +SRC_URI="https://github.com/vector-im/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/vector-im/element-web/archive/v${PV}.tar.gz -> element-web-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+emoji" + +RESTRICT="network-sandbox" + +RDEPEND="!net-im/element-desktop-bin + app-accessibility/at-spi2-atk:2 + app-crypt/libsecret + dev-db/sqlcipher + dev-libs/atk + dev-libs/expat + dev-libs/nspr + dev-libs/nss + >=net-libs/nodejs-12.14.0 + net-print/cups + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libxcb + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXScrnSaver + x11-libs/pango + emoji? ( media-fonts/noto-emoji )" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/yarn + virtual/rust" + +QA_PREBUILT=" + /opt/Element/chrome-sandbox + /opt/Element/element-desktop + /opt/Element/libEGL.so + /opt/Element/libGLESv2.so + /opt/Element/libffmpeg.so + /opt/Element/libvk_swiftshader.so + /opt/Element/libvulkan.so + /opt/Element/swiftshader/libEGL.so + /opt/Element/swiftshader/libGLESv2.so" + +ELEMENT_WEB_S="${WORKDIR}/element-web-${PV}" + +src_prepare() { + default + pushd "${ELEMENT_WEB_S}" >/dev/null || die + yarn install || die + cp config.sample.json config.json || die + + popd || die + yarn install || die +} + +src_compile() { + pushd "${ELEMENT_WEB_S}" >/dev/null || die + yarn build || die + + popd || die + ln -s "${ELEMENT_WEB_S}"/webapp ./ || die + yarn build:native || die + yarn build || die +} + +src_install() { + unpack dist/${PN}_${PV}_amd64.deb + tar -xvf data.tar.xz || die + + ./node_modules/asar/bin/asar.js p webapp opt/Element/resources/webapp.asar || die + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + gunzip usr/share/doc/${PF}/changelog.gz || die + + insinto / + doins -r usr + doins -r opt + local f + for f in ${QA_PREBUILT}; do + fperms +x "${f}" + done + dosym ../../opt/Element/${PN} /usr/bin/${PN} + dosym ${PN} /usr/bin/riot-desktop +} |