diff options
Diffstat (limited to 'net-im/element-desktop-bin')
-rw-r--r-- | net-im/element-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/element-desktop-bin/element-desktop-bin-1.10.9.ebuild | 83 |
2 files changed, 85 insertions, 0 deletions
diff --git a/net-im/element-desktop-bin/Manifest b/net-im/element-desktop-bin/Manifest index d75052236f6d..ad9810bd7e6b 100644 --- a/net-im/element-desktop-bin/Manifest +++ b/net-im/element-desktop-bin/Manifest @@ -1,3 +1,5 @@ DIST element-desktop_1.10.7_amd64.deb 95797406 BLAKE2B bf189092b2c008d53e7f77aea8cb846c77b20f66110876ac83c7105f3c3a44edd759ffeb2d0a8e027ca4bccbb0ed3b225d3d2ac139a378a462a25a74b1c4dc62 SHA512 72bb749498e95920933156a27d0bd547cfe8ab02b9aa976fdc7574501a7e77d9f6af47e2a951c121251a313d621c32150631ece6aaf3ec0a0856363d482fbd5a +DIST element-desktop_1.10.9_amd64.deb 96015622 BLAKE2B 49045e4feae24a3cd369266885253f5c2ad861e3089d8bd3ce72070e60653cd959a92ebd98e2668f6fedfa3e2da722895f9091ab8418df15fe52a99c2c88133b SHA512 47281a5013165cb642c6bad35f68df3be00e9d2a8397098668429afed49513b8aa09f9adace12b4625bf958ce41250b0cee570bf500875ce5b0cba1b6dac283a EBUILD element-desktop-bin-1.10.7.ebuild 1775 BLAKE2B 538cb846a6fbb501186d3c5702d546988283c5debd6c27adf03764055bc3f00358c59e2c6dcfbc5a5391523f405e11194914a271a1d60c7e13ad0d78525da031 SHA512 1163d5a9a56b17b7e2966bb95c3ca1c40c1ba7a06f7a63c88c419050d323fef34d8175d5acf7faa1abd350be61277c75adde37bbe11e9ead85d76f171b2f9991 +EBUILD element-desktop-bin-1.10.9.ebuild 1820 BLAKE2B 13fa4f92e62134412d6d1b5d29094a3cc60f3b5f2706b3f03ac6b6b64a40a0c6a4b0cce746e88db9893350b700ec262e93bdce708c5d77eb5ec298bcf0f26a1a SHA512 21efffbc1e6ad228ac3ce6693609ede28538ad923ae283b24df82135aa6a2685a8440b6971570f71e5e8193c083dbe348429513f5bcdfc65cee66769fceae8e1 MISC metadata.xml 350 BLAKE2B 050eceeb985e81547b5f0c590916c9f8bdb33558e0adfbd4f3a648abafcf12e07e1942be0151b1ac1dd1e637cfb6fd5ba68e549ed1982e044896e07c18522917 SHA512 55e9b181e332a870595c816bea6093007d60642b0271a88e047cc85e820311340d609618070643accd77cfb5df335b90187a01c15c349cb65e9d96b6f188978c diff --git a/net-im/element-desktop-bin/element-desktop-bin-1.10.9.ebuild b/net-im/element-desktop-bin/element-desktop-bin-1.10.9.ebuild new file mode 100644 index 000000000000..82b460c20465 --- /dev/null +++ b/net-im/element-desktop-bin/element-desktop-bin-1.10.9.ebuild @@ -0,0 +1,83 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature unpacker xdg + +MY_PN="${PN/-bin}" + +DESCRIPTION="A glossy Matrix collaboration client for desktop (binary package)" +HOMEPAGE="https://element.io" +SRC_URI="https://packages.riot.im/debian/pool/main/e/element-desktop/${MY_PN}_${PV}_amd64.deb" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="splitdebug" + +RDEPEND="app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + app-crypt/libsecret + dev-db/sqlcipher + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango" + +QA_PREBUILT="opt/Element/chrome-sandbox + opt/Element/chrome_crashpad_handler + 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" + +src_prepare() { + default + rm opt/Element/{LICENSE.electron.txt,LICENSES.chromium.html} || die +} + +src_install() { + mv usr/share/doc/${MY_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/${MY_PN} /usr/bin/${MY_PN} + dosym ${MY_PN} /usr/bin/riot-desktop +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "emojis" media-fonts/noto-emoji +} |