From c2317a8cb57765e3dc7a22a94f973e158e367cac Mon Sep 17 00:00:00 2001 From: Stefan Strogin Date: Fri, 11 Mar 2022 23:47:33 +0200 Subject: net-im/element-desktop: upgrade 1.9.8 -> 1.10.6 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Stefan Strogin --- net-im/element-desktop/Manifest | 4 +- .../element-desktop/element-desktop-1.10.6.ebuild | 105 +++++++++++++++++++++ .../element-desktop/element-desktop-1.9.8.ebuild | 105 --------------------- 3 files changed, 107 insertions(+), 107 deletions(-) create mode 100644 net-im/element-desktop/element-desktop-1.10.6.ebuild delete mode 100644 net-im/element-desktop/element-desktop-1.9.8.ebuild (limited to 'net-im') diff --git a/net-im/element-desktop/Manifest b/net-im/element-desktop/Manifest index 3c3c914..c289dfb 100644 --- a/net-im/element-desktop/Manifest +++ b/net-im/element-desktop/Manifest @@ -1,2 +1,2 @@ -DIST element-desktop-1.9.8.tar.gz 1921161 BLAKE2B e724f008165ca17ef59ef51af62f18f2d6e0ee3ec5f9586124d96892b170426f0bcba56eb36a3dbdd49a5f96dc39e76c7319515bb4575801ea05511ddb3a88a7 SHA512 be00616a164f2faa989beb1f67204a1ecb590aa1564cc444f9e87d0c6fcd2e9abc7c67bad804f05ba204f87415b7e16f2a0fd58db185a2dfffe173d162e4688c -DIST element-web-1.9.8.tar.gz 1399380 BLAKE2B baa217a0cb7e8daee5b92b2b39c5e546ffba1953b0e727a7ed51c53ef88a5192c81b08faaf12d55eae8f5fc73025a44d86696a69811b418aafe9d28142cf8f8c SHA512 a2aeadac8af6afe826225c02b73e75a96cbaf918a144be5ebcae825fbc9714355b3420478b7d832160b016a24e58d423e113f0ead2e54338dbb27f44518f9009 +DIST element-desktop-1.10.6.tar.gz 1941383 BLAKE2B 658d17c9b13c505a165a68cda451c99b7eebb58e88135953e0f5a39762f84aaec456b48b2389669c59244f68a56f29669741229e0033a6397f5609656fa14d6b SHA512 c3b037b856812c7b0e823489131b92126f7c3f1de39a84a3ca1229eb32fe6b6f76521bc524c39f8badcd6b6a6adc1963dd921f4f47c0a363fc2ec2b9cfd26f4d +DIST element-web-1.10.6.tar.gz 1413600 BLAKE2B 0b9b3e8b3824b371758f15726736ca9e4198ca4380b738995df28b8cc82d36a6f785b080c17007be8d9aca360b67d31bc8307da7577c122422f13e37a0cb87ff SHA512 b77d2adab831f0d1197a4eecccad2582935381b4a029aa00456075b8a89c396e4a17dfc8aa119dd0abda97db1add0c64de2025db7dbb5cd2891c5cbbc46468f1 diff --git a/net-im/element-desktop/element-desktop-1.10.6.ebuild b/net-im/element-desktop/element-desktop-1.10.6.ebuild new file mode 100644 index 0000000..cf87212 --- /dev/null +++ b/net-im/element-desktop/element-desktop-1.10.6.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + media-libs/alsa-lib + media-libs/mesa + net-libs/nodejs + net-print/cups + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libdrm + 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.1 + 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 + fperms u+s /opt/Element/chrome-sandbox + + dosym ../../opt/Element/${PN} /usr/bin/${PN} + dosym ${PN} /usr/bin/riot-desktop +} diff --git a/net-im/element-desktop/element-desktop-1.9.8.ebuild b/net-im/element-desktop/element-desktop-1.9.8.ebuild deleted file mode 100644 index 0c0434e..0000000 --- a/net-im/element-desktop/element-desktop-1.9.8.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 - media-libs/alsa-lib - media-libs/mesa - net-libs/nodejs - net-print/cups - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/libdrm - 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.1 - 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 - fperms u+s /opt/Element/chrome-sandbox - - dosym ../../opt/Element/${PN} /usr/bin/${PN} - dosym ${PN} /usr/bin/riot-desktop -} -- cgit v1.2.3-65-gdbad