summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2023-12-09 02:18:05 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2023-12-09 02:18:58 +0100
commite7c33972bf57742646bb007c6254702088616ee0 (patch)
treed955a75b43c513e88f07e95930db5726061601eb /app-editors/logseq-desktop-bin
parentgames-simulation/flightgear: version bump, remove old (diff)
downloadgentoo-e7c33972bf57742646bb007c6254702088616ee0.tar.gz
gentoo-e7c33972bf57742646bb007c6254702088616ee0.tar.bz2
gentoo-e7c33972bf57742646bb007c6254702088616ee0.zip
app-editors/logseq-desktop-bin: new package, add 0.10.1
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-editors/logseq-desktop-bin')
-rw-r--r--app-editors/logseq-desktop-bin/Manifest1
-rw-r--r--app-editors/logseq-desktop-bin/files/logseq-desktop.desktop10
-rw-r--r--app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild36
-rw-r--r--app-editors/logseq-desktop-bin/metadata.xml11
4 files changed, 58 insertions, 0 deletions
diff --git a/app-editors/logseq-desktop-bin/Manifest b/app-editors/logseq-desktop-bin/Manifest
new file mode 100644
index 000000000000..90583fd4023f
--- /dev/null
+++ b/app-editors/logseq-desktop-bin/Manifest
@@ -0,0 +1 @@
+DIST logseq-desktop-bin-0.10.1.zip 190660046 BLAKE2B d9f781518220ecddb176e5c89948803ab73b6376aa5b165fd3ec2235a291022b88e99dce03190d80688a40a6bf55d3e699264f1420f346a222ea4346ba7d8000 SHA512 21f11c7b1ea5fde4f07dfec676fe05556040dd3fae84340bbe9cc1447556fc0ad1f10d53ee94a4ade7e93f0358fbc5386297605b28c0320e6ad25dc572055909
diff --git a/app-editors/logseq-desktop-bin/files/logseq-desktop.desktop b/app-editors/logseq-desktop-bin/files/logseq-desktop.desktop
new file mode 100644
index 000000000000..16562511f8ec
--- /dev/null
+++ b/app-editors/logseq-desktop-bin/files/logseq-desktop.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Logseq
+Exec=/opt/bin/logseq %U
+MimeType=x-scheme-handler/logseq
+Terminal=false
+Type=Application
+Icon=logseq
+StartupWMClass=logseq
+Comment=Open Source platform for knowledge sharing and management
+Categories=Office
diff --git a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild
new file mode 100644
index 000000000000..fb0bea383361
--- /dev/null
+++ b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker
+
+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"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RESTRICT="mirror splitdebug"
+
+DEPEND=""
+RDEPEND=">=dev-libs/openssl-3"
+BDEPEND="app-arch/unzip"
+
+QA_PREBUILT="*"
+S="${WORKDIR}/Logseq-linux-x64"
+
+src_install() {
+ domenu "${FILESDIR}/logseq-desktop.desktop"
+ doicon "${S}/resources/app/icons/logseq.png"
+ mkdir -p "${D}/opt/logseq-desktop" || die
+ cp -r "${S}"/* "${D}/opt/logseq-desktop/" || die
+ dosym ../logseq-desktop/Logseq /opt/bin/logseq
+}
+
+pkg_postinst() {
+ update-desktop-database
+}
diff --git a/app-editors/logseq-desktop-bin/metadata.xml b/app-editors/logseq-desktop-bin/metadata.xml
new file mode 100644
index 000000000000..0a67e594f20b
--- /dev/null
+++ b/app-editors/logseq-desktop-bin/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>mschiff@gentoo.org</email>
+ <name>Marc Schiffbauer</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">logseq/logseq</remote-id>
+ </upstream>
+</pkgmetadata>