public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/revolt-desktop/
Date: Mon, 18 Nov 2024 04:59:26 +0000 (UTC)	[thread overview]
Message-ID: <1731888139.8af52a35bbd71b92b1a1f6fcbf0571a7cfce4874.lanodan@gentoo> (raw)

commit:     8af52a35bbd71b92b1a1f6fcbf0571a7cfce4874
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Nov 18 00:02:19 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Nov 18 00:02:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8af52a35

net-im/revolt-desktop: new package, add 1.0.8

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 net-im/revolt-desktop/Manifest                    |  1 +
 net-im/revolt-desktop/metadata.xml                | 11 ++++
 net-im/revolt-desktop/revolt-desktop-1.0.8.ebuild | 63 +++++++++++++++++++++++
 3 files changed, 75 insertions(+)

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}"
+}


             reply	other threads:[~2024-11-18  4:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18  4:59 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19 10:46 [gentoo-commits] repo/proj/guru:master commit in: net-im/revolt-desktop/ Julien Roy
2024-11-20  9:38 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-11-20 13:05 ` [gentoo-commits] repo/proj/guru:master " David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1731888139.8af52a35bbd71b92b1a1f6fcbf0571a7cfce4874.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox