public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marc Schiffbauer" <mschiff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/logseq-desktop-bin/
Date: Mon,  1 Apr 2024 13:52:22 +0000 (UTC)	[thread overview]
Message-ID: <1711979533.54f19562bf0e418eb1a6de09b87adca30bd4d026.mschiff@gentoo> (raw)

commit:     54f19562bf0e418eb1a6de09b87adca30bd4d026
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  1 13:51:08 2024 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Mon Apr  1 13:52:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f19562

app-editors/logseq-desktop-bin: add 0.10.8

Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 app-editors/logseq-desktop-bin/Manifest            |  1 +
 .../logseq-desktop-bin-0.10.8.ebuild               | 91 ++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/app-editors/logseq-desktop-bin/Manifest b/app-editors/logseq-desktop-bin/Manifest
index 00ab0b7a216d..7794df6e37ac 100644
--- a/app-editors/logseq-desktop-bin/Manifest
+++ b/app-editors/logseq-desktop-bin/Manifest
@@ -1,2 +1,3 @@
 DIST logseq-desktop-bin-0.10.6.zip 189610228 BLAKE2B 96dfa264c7018d973849cc52775c8dfccf3284f0880efba596697af21b0ae949fbdf39d1a0abc4e46242f58344c93075de6320460e3518bcdcd76b74c4690dd0 SHA512 42c7823973def77484f0f3ec21a47dad4acf02d60d40c1aeae73b583b6cbae8fea911692aac069c6daa657b8849e1129f13f328a4e1f991b289e9805a612a368
 DIST logseq-desktop-bin-0.10.7.zip 189638441 BLAKE2B a2e81edca960f4efd3bd93634b57a1791a505a5aabcb43a1a551fb9270023f024cad704321c2a080af1f0e20b57848949eff2f4d7ddbcaf5a001048c7c2cec2e SHA512 c0bf76bb8ea9b58cfd229650a480b0f197c8d6c7780a146d73bcd4b439446a9bfd006154686b2e40f11d433d5f781f70f16e5b2e00fb8373c5dae57ebb679550
+DIST logseq-desktop-bin-0.10.8.zip 189513360 BLAKE2B 851b9a5b8b7a5b1c94ecc71cab87dfe6b94a55f8c320b81e80647499741661e1f220b9077acb6f1cdd61e2a6c7dc646fb832cdc80e504a8a4015531d81875cee SHA512 64a31ce323d7f0e9640a6c1b386631b0a9571bf9677effc3e0d1fd0fb8e68da3b95d37ef1db97bb2c7a12f3c1a75de7db44af566fcdfa62eb8aa76390330bf42

diff --git a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.8.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.8.ebuild
new file mode 100644
index 000000000000..bc4f1ec885d5
--- /dev/null
+++ b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.8.ebuild
@@ -0,0 +1,91 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es-419 es et fa fil fi fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw
+	ta te th tr uk ur vi zh-CN zh-TW
+"
+
+inherit chromium-2 desktop unpacker xdg
+
+DESCRIPTION="A privacy-first, open-source platform for knowledge sharing and management."
+HOMEPAGE="https://github.com/logseq/logseq"
+SRC_URI="https://github.com/logseq/logseq/releases/download/${PV}/logseq-linux-x64-${PV}.zip -> ${P}.zip"
+S="${WORKDIR}/Logseq-linux-x64"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RESTRICT="mirror splitdebug"
+
+RDEPEND="
+	dev-libs/nss
+	dev-libs/openssl:0/3
+	media-libs/alsa-lib
+	media-libs/mesa
+	net-misc/curl
+	net-print/cups
+	sys-apps/dbus
+	sys-libs/glibc
+	sys-libs/zlib
+	x11-libs/cairo
+	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
+"
+BDEPEND="
+	app-arch/unzip
+"
+
+QA_PREBUILT="*"
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	pushd locales > /dev/null || die
+	chromium_remove_language_paks
+	popd > /dev/null || die
+}
+
+src_install() {
+	exeinto /opt/logseq-desktop
+	doexe Logseq chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+
+	insinto /opt/logseq-desktop
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin version vk_swiftshader_icd.json
+	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 /opt/logseq-desktop/chrome-sandbox
+	fperms 4711 /opt/logseq-desktop/chrome-sandbox
+
+	# Crashpad is included in the package once in a while and when it does, it must be installed.
+	# See #903616 and #890595
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	dosym ../logseq-desktop/Logseq /opt/bin/logseq
+
+	make_desktop_entry "/opt/bin/logseq %U" Logseq logseq Office \
+		"StartupWMClass=logseq\nTerminal=false\nMimeType=x-scheme-handler/logseq"
+	# some releases do not have an icon included, but we dont fail if that happens
+	doicon resources/app/icons/logseq.png || true
+}


             reply	other threads:[~2024-04-01 13:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-01 13:52 Marc Schiffbauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-29 22:26 [gentoo-commits] repo/gentoo:master commit in: app-editors/logseq-desktop-bin/ Marc Schiffbauer
2024-04-01 13:52 Marc Schiffbauer
2024-03-06 17:28 Marc Schiffbauer
2024-03-06 17:28 Marc Schiffbauer
2024-02-19  8:48 Marc Schiffbauer
2024-02-16 12:01 Marc Schiffbauer
2024-01-19  0:01 Marc Schiffbauer
2023-12-28 16:23 Marc Schiffbauer
2023-12-23 22:16 Marc Schiffbauer
2023-12-16  1:51 Marc Schiffbauer
2023-12-14 13:29 Marc Schiffbauer

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=1711979533.54f19562bf0e418eb1a6de09b87adca30bd4d026.mschiff@gentoo \
    --to=mschiff@gentoo.org \
    --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