mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
net-im/revolt-desktop: new package, add 1.0.8
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
1
net-im/revolt-desktop/Manifest
Normal file
1
net-im/revolt-desktop/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST revolt-desktop-1.0.8.gh.tar.gz 278018852 BLAKE2B 4c2f7a27a3e78c8a647d0ec2732adea34f1cd60f7fd3d32a6312747175214bec49f6ab518fb378e537ec5944b981d24c51e9fbfbffa16c8153bac0bb7dbd4728 SHA512 58b8082bcb918435a07f5b933b34d5af01ada86adab2b777d20fe11b703a6a02e517a8d2f8a2ebe6ae6da87266fb5f8d4001f247a07e02ea5a8423559caf7bb6
|
||||
11
net-im/revolt-desktop/metadata.xml
Normal file
11
net-im/revolt-desktop/metadata.xml
Normal file
@@ -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>
|
||||
63
net-im/revolt-desktop/revolt-desktop-1.0.8.ebuild
Normal file
63
net-im/revolt-desktop/revolt-desktop-1.0.8.ebuild
Normal file
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user