summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJoe Kappus <joe@wt.gd>2024-11-14 23:13:56 -0500
committerJoonas Niilola <juippis@gentoo.org>2024-11-21 08:12:07 +0200
commit9a5b19588777fe7e1cf63b42e9a5c4ef7ddff9af (patch)
treee6370acd9b62123f0ef6dc1a832a13329d3a60ac /net-im
parentnet-im/mattermost-desktop-bin: add 5.10.1, drop 5.10.0 (diff)
downloadgentoo-9a5b19588777fe7e1cf63b42e9a5c4ef7ddff9af.tar.gz
gentoo-9a5b19588777fe7e1cf63b42e9a5c4ef7ddff9af.tar.bz2
gentoo-9a5b19588777fe7e1cf63b42e9a5c4ef7ddff9af.zip
net-im/element-desktop-bin: add 1.11.86
Bug: https://bugs.gentoo.org/943876 Signed-off-by: Joe Kappus <joe@wt.gd> Closes: https://github.com/gentoo/gentoo/pull/39327 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/element-desktop-bin/Manifest1
-rw-r--r--net-im/element-desktop-bin/element-desktop-bin-1.11.86.ebuild83
2 files changed, 84 insertions, 0 deletions
diff --git a/net-im/element-desktop-bin/Manifest b/net-im/element-desktop-bin/Manifest
index 4940e2e9ffd9..0b00ee7c4fa4 100644
--- a/net-im/element-desktop-bin/Manifest
+++ b/net-im/element-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST element-desktop_1.11.82_amd64.deb 99741936 BLAKE2B 32adef08ac5a970aa3e32cd743dfbeb5cf1a9b3031fe027d8a00a47665dd07c949bb7948dfa517bace856f8ef2984d1d5ccaae576d641ad1a285312273d9a81a SHA512 4bb007cfc25745f4c28ebf791f456e3864a78c89498df5e8fcfe0e8930bd3683e1f7a8791ff51e45bb906131d3cfec415e228ef533cd83446e3110e12d2700a8
+DIST element-desktop_1.11.86_amd64.deb 207032592 BLAKE2B 0549e91506d16adcdb11290b9014b38635a2ece257d8dfbcb7b983e1c4b47e7ef217bbaeedf8ff79e4a16fded29bf0d6d62869dbe358e10132ec6f005c7a7511 SHA512 a72ab302fffcf6c6d34ade6b7402d171dce933551e6ae58354c9aa4bd5755787ffe94116d3705e8d6d656f6a7dd4cd79a7ee2eebab02a2756fc94d77fea6595e
diff --git a/net-im/element-desktop-bin/element-desktop-bin-1.11.86.ebuild b/net-im/element-desktop-bin/element-desktop-bin-1.11.86.ebuild
new file mode 100644
index 000000000000..caa91e1123e0
--- /dev/null
+++ b/net-im/element-desktop-bin/element-desktop-bin-1.11.86.ebuild
@@ -0,0 +1,83 @@
+# Copyright 2020-2024 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.element.io/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-core-2.46.0:2
+ app-crypt/libsecret
+ dev-db/sqlcipher
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nettle
+ 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/resources/app.asar.unpacked/node_modules/matrix-seshat/index.node
+ opt/Element/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node"
+
+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
+}