public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: net-im/revolt-desktop/
@ 2024-11-18  4:59 Haelwenn Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Haelwenn Monnier @ 2024-11-18  4:59 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: net-im/revolt-desktop/
@ 2024-11-19 10:46 Julien Roy
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-11-19 10:46 UTC (permalink / raw
  To: gentoo-commits

commit:     df75b178b33ab56d7c67103c00941b6c5d5a22e5
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 19 09:56:23 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Nov 19 09:56:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df75b178

net-im/revolt-desktop: fix broken symlink

Add missing RDEPEND
Add desktop file

Closes: https://bugs.gentoo.org/943886
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 .../revolt-desktop/revolt-desktop-1.0.8-r1.ebuild  | 67 ++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/net-im/revolt-desktop/revolt-desktop-1.0.8-r1.ebuild b/net-im/revolt-desktop/revolt-desktop-1.0.8-r1.ebuild
new file mode 100644
index 000000000..b056c6d50
--- /dev/null
+++ b/net-im/revolt-desktop/revolt-desktop-1.0.8-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop 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-lang/python
+	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
+
+	ln -sf "$(command -v python)" resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins/python3
+
+	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}"
+	make_desktop_entry revolt-desktop Revolt "" Network
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-im/revolt-desktop/
@ 2024-11-20  9:38 David Roman
  2024-11-20 13:05 ` [gentoo-commits] repo/proj/guru:master " David Roman
  0 siblings, 1 reply; 3+ messages in thread
From: David Roman @ 2024-11-20  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     85d3e49fb6524a4ce365511fcc4dab8d7ccebd4b
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Nov 20 09:37:15 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Nov 20 09:37:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85d3e49f

net-im/revolt-desktop: fix symlinks

Closes: https://bugs.gentoo.org/944087
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 ...{revolt-desktop-1.0.8-r1.ebuild => revolt-desktop-1.0.8-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/revolt-desktop/revolt-desktop-1.0.8-r1.ebuild b/net-im/revolt-desktop/revolt-desktop-1.0.8-r2.ebuild
similarity index 91%
rename from net-im/revolt-desktop/revolt-desktop-1.0.8-r1.ebuild
rename to net-im/revolt-desktop/revolt-desktop-1.0.8-r2.ebuild
index b056c6d50..7b7d4edcb 100644
--- a/net-im/revolt-desktop/revolt-desktop-1.0.8-r1.ebuild
+++ b/net-im/revolt-desktop/revolt-desktop-1.0.8-r2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="-* ~amd64"
 
 RDEPEND="
 	app-accessibility/at-spi2-core:2
-	dev-lang/python
+	dev-lang/python-exec
 	dev-libs/expat
 	dev-libs/glib:2
 	dev-libs/nspr
@@ -50,7 +50,7 @@ src_install() {
 	exeinto "${DESTDIR}"
 	doexe "${PN}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so
 
-	ln -sf "$(command -v python)" resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins/python3
+	ln -sf "$(command -v python3)" resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins/python3 || die
 
 	insinto "${DESTDIR}"
 	doins chrome_crashpad_handler chrome_{100,200}_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-20 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-18  4:59 [gentoo-commits] repo/proj/guru:master commit in: net-im/revolt-desktop/ Haelwenn Monnier
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19 10:46 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox