diff options
author | David Roman <davidroman96@gmail.com> | 2024-11-18 01:02:19 +0100 |
---|---|---|
committer | David Roman <davidroman96@gmail.com> | 2024-11-18 01:02:19 +0100 |
commit | 8af52a35bbd71b92b1a1f6fcbf0571a7cfce4874 (patch) | |
tree | a3f66f0f5c2aa9fc6f7f932a1b25e3d536fd99f0 /net-im | |
parent | app-misc/clipboard: drop 0.9.1-r1 (diff) | |
download | guru-8af52a35bbd71b92b1a1f6fcbf0571a7cfce4874.tar.gz guru-8af52a35bbd71b92b1a1f6fcbf0571a7cfce4874.tar.bz2 guru-8af52a35bbd71b92b1a1f6fcbf0571a7cfce4874.zip |
net-im/revolt-desktop: new package, add 1.0.8
Signed-off-by: David Roman <davidroman96@gmail.com>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/revolt-desktop/Manifest | 1 | ||||
-rw-r--r-- | net-im/revolt-desktop/metadata.xml | 11 | ||||
-rw-r--r-- | net-im/revolt-desktop/revolt-desktop-1.0.8.ebuild | 63 |
3 files changed, 75 insertions, 0 deletions
diff --git a/net-im/revolt-desktop/Manifest b/net-im/revolt-desktop/Manifest new file mode 100644 index 000000000..b76b684ed --- /dev/null +++ b/net-im/revolt-desktop/Manifest @@ -0,0 +1 @@ +DIST revolt-desktop-1.0.8.gh.tar.gz 278018852 BLAKE2B 4c2f7a27a3e78c8a647d0ec2732adea34f1cd60f7fd3d32a6312747175214bec49f6ab518fb378e537ec5944b981d24c51e9fbfbffa16c8153bac0bb7dbd4728 SHA512 58b8082bcb918435a07f5b933b34d5af01ada86adab2b777d20fe11b703a6a02e517a8d2f8a2ebe6ae6da87266fb5f8d4001f247a07e02ea5a8423559caf7bb6 diff --git a/net-im/revolt-desktop/metadata.xml b/net-im/revolt-desktop/metadata.xml new file mode 100644 index 000000000..9bf204067 --- /dev/null +++ b/net-im/revolt-desktop/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>davidroman96@gmail.com</email> + <name>David Roman</name> + </maintainer> + <upstream> + <remote-id type="github">revoltchat/desktop</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-im/revolt-desktop/revolt-desktop-1.0.8.ebuild b/net-im/revolt-desktop/revolt-desktop-1.0.8.ebuild new file mode 100644 index 000000000..854e33d99 --- /dev/null +++ b/net-im/revolt-desktop/revolt-desktop-1.0.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit wrapper xdg + +DESCRIPTION="Revolt Desktop App" +HOMEPAGE="https://github.com/revoltchat/desktop https://revolt.chat/" +SRC_URI=" + amd64? ( https://github.com/revoltchat/desktop/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz ) +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + 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 + sys-apps/systemd-utils + 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="*" + +DESTDIR="/opt/${PN}" + +src_install() { + exeinto "${DESTDIR}" + doexe "${PN}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so + + insinto "${DESTDIR}" + doins chrome_crashpad_handler chrome_{100,200}_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${DESTDIR}/chrome-sandbox" + fperms 4711 "${DESTDIR}/chrome-sandbox" + + make_wrapper "${PN}" "${DESTDIR}/${PN}" +} |