diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2023-07-16 12:38:49 +0100 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2023-07-16 13:58:56 +0100 |
commit | e226fcc900914f82098a4be3c430a9c05d987242 (patch) | |
tree | 0b46fd74ea43acaed8100de85dc9ba89024524d3 | |
parent | www-apps/isso: add 0.13.0, drop 0.12.5 (diff) | |
download | mschiff-e226fcc900914f82098a4be3c430a9c05d987242.tar.gz mschiff-e226fcc900914f82098a4be3c430a9c05d987242.tar.bz2 mschiff-e226fcc900914f82098a4be3c430a9c05d987242.zip |
app-editors/logseq-desktop-bin: added ebuild
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
4 files changed, 61 insertions, 0 deletions
diff --git a/app-editors/logseq-desktop-bin/Manifest b/app-editors/logseq-desktop-bin/Manifest new file mode 100644 index 0000000..5b61785 --- /dev/null +++ b/app-editors/logseq-desktop-bin/Manifest @@ -0,0 +1,4 @@ +AUX logseq-desktop.desktop 235 BLAKE2B de29e2c811f2f240ab24f92873977df168d69e90e4c9721471beacdd5279b2242eca4a120356418c0009522a467c68d9189abae76c800e0c7e95b9783cd5f73c SHA512 ef58e407ff19e9da20731bdaa870472b5d38b70567927fdbdf725fa330e3d2b8f7a719215207c7193b1e4c4e0fb94485fb0c970c03b378dedaab443f266404aa +DIST logseq-desktop-bin-0.9.10.zip 175060556 BLAKE2B a369e4382ba665aa6a08d0cc502167bd44bef3e896eebe280732e45080708b2511956272b41e7d639dd3677cc7368dc354a8b18ba2a10ff1556712c9f449db5e SHA512 e887bdb5bee2f342ac56dec8d2cb2edd76d18ca0b957f29f11734e8bd2b3a422e6ca5aa659add2f2b080255bdbc3e32cbc7e6fbc3ec06a6664e3aa80141580a9 +EBUILD logseq-desktop-bin-0.9.10.ebuild 849 BLAKE2B 84568745a9c8d056389062ed7a9863a352fd27cf51be960d5067651926cc5059cdad7abbdac56d63377776a0e95f5387983086c5ac180f3800ea562173b57048 SHA512 eef1bdc0c6a2fd4edac8b246430ea66726ae386b0306b3cf5f6c7d9b8f3ec09d60d0ea39e87f8203b99ebebd2efb504826d92815551a0e26152ef269af0b1925 +MISC metadata.xml 251 BLAKE2B c4b2c58fbe476fa27226d01a46b74c9506d938c1e14fe68ccbee1383f683d357ff87a3c1aacee177b7f3908333cd58540e446bc73ed8258359481c4b507c155e SHA512 f113d652bc4a2cded17c6fc788d425f8a5d1fac17709b4f0583c7d530cbba5093c4309d2539d169f733d8e8bff3c0e71e24ffe4ba6a81ebd5bab23191c0e4278 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 0000000..1656251 --- /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.9.10.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.9.10.ebuild new file mode 100644 index 0000000..dd37b38 --- /dev/null +++ b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.9.10.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="" +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 0000000..0a67e59 --- /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> |