commit: e28a56b31ec4a3ce54c6007579a6f915ad8a82ad Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> AuthorDate: Mon Dec 1 16:22:21 2025 +0000 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> CommitDate: Mon Dec 1 16:22:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28a56b3
app-editors/logseq-desktop-bin: add 0.10.15 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> app-editors/logseq-desktop-bin/Manifest | 1 + .../logseq-desktop-bin-0.10.15.ebuild | 96 ++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/app-editors/logseq-desktop-bin/Manifest b/app-editors/logseq-desktop-bin/Manifest index 30368ccf914e..29383ecaacd9 100644 --- a/app-editors/logseq-desktop-bin/Manifest +++ b/app-editors/logseq-desktop-bin/Manifest @@ -1 +1,2 @@ DIST logseq-desktop-bin-0.10.14.zip 194200191 BLAKE2B 93c46f58445e98cfe572fd2dee6c0d1eb1888272b572e7413cbbac33f494f0ed6cd8a7744afbdfa2d87233645476a75ab7b1315e2f7d21537a80e10e9c5a3c3a SHA512 5bb3dd4139dc1d26088ea3a81e49821a82f67906d1d36e7d4b09941ec9d4f28552e52df158bec8110023ad6b745f13b7bb5422ae6af4cef137aa6aefcd41f081 +DIST logseq-desktop-bin-0.10.15.zip 202116983 BLAKE2B 389a81c3f92dd80a81d0f230221d5f66ce225f19388811ea66011fc3d8c80373aa95364ec30a1827b97a19364b3577aca7c70e7eff1280c8ee3f516306240f4f SHA512 1d1b6bf2615df0ce0f731fcdcf2b452633d78af086576ce8a492860770b2e1985293d308ea849a3afa60e6aa0f7161147443e3731c596ab2c909ea28ec052d46 diff --git a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.15.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.15.ebuild new file mode 100644 index 000000000000..709983e34004 --- /dev/null +++ b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.15.ebuild @@ -0,0 +1,96 @@ +# Copyright 2023-2025 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" +IUSE="wayland" + +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 + virtual/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 + + local exec_extra_flags=() + if use wayland; then + exec_extra_flags+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" ) + fi + make_desktop_entry "/opt/bin/logseq ${exec_extra_flags[*]} %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 +}
