aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2023-05-18 03:46:27 +0200
committerLucio Sauer <watermanpaint@posteo.net>2023-05-18 03:46:27 +0200
commit6bb208f349e407f9f5335b61a924cc2fa18f6513 (patch)
treea1c90f7a7ac5d9adb4b9a76ca36f25a355da9598 /app-office
parentapp-text/mandown: drop 0.1.2 (diff)
downloadguru-6bb208f349e407f9f5335b61a924cc2fa18f6513.tar.gz
guru-6bb208f349e407f9f5335b61a924cc2fa18f6513.tar.bz2
guru-6bb208f349e407f9f5335b61a924cc2fa18f6513.zip
app-office/obsidian: add 1.2.8
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/obsidian/Manifest1
-rw-r--r--app-office/obsidian/metadata.xml3
-rw-r--r--app-office/obsidian/obsidian-1.2.8.ebuild68
3 files changed, 71 insertions, 1 deletions
diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 9f265465d..4dae9fadf 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1 +1,2 @@
+DIST obsidian-1.2.8.gh.deb 71750440 BLAKE2B ea3194205dae9d9e9a3575cfc3a77db7932be02d3ca07df9e3de56346c7bae2ee66d67a4861896506bd80245b54966fdfabbc511973ef491b115fd4cfa7d5d2a SHA512 514706b51908355317982324391e115df1a24ba29a94a177ae465c83b45d239f59c97cac6a26c72b1705a2d7a74bba71f3869ae4170798840556c8324d8eaba3
DIST obsidian_1.1.16_amd64.deb 69117356 BLAKE2B 3ae0d9bd36e2048ff55e0a8757668e7e8b4de43dd3c658d263345181030f89bcbb3ddb005c317c432771f8d4f38185693ea30206e579612b99fde3c761b31352 SHA512 09f203890b1a445051dd4f7a18584a78b30e6083101ec660b63dff01ab4b6c2ab57fb2665e36cd4ddf5534f31afbb32bb9fd718dc76df5778b11038a09c0170f
diff --git a/app-office/obsidian/metadata.xml b/app-office/obsidian/metadata.xml
index 7b24a7996..ea4fe5bcb 100644
--- a/app-office/obsidian/metadata.xml
+++ b/app-office/obsidian/metadata.xml
@@ -5,7 +5,8 @@
<email>rahul@sandhuservices.dev</email>
<name>Rahul Sandhu</name>
</maintainer>
- <longdescription lang="en">A second brain, for you, forever.</longdescription>
+ <longdescription lang="en">Obsidian is a powerful and extensible knowledge base
+that works on top of your local folder of plain text files.</longdescription>
<upstream>
<remote-id type="github">obsidianmd/obsidian-releases</remote-id>
</upstream>
diff --git a/app-office/obsidian/obsidian-1.2.8.ebuild b/app-office/obsidian/obsidian-1.2.8.ebuild
new file mode 100644
index 000000000..62932b991
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.2.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb"
+
+LICENSE="Obsidian-EULA"
+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/fontconfig
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ 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
+"
+
+DIR="/opt/${PN^}"
+S="${WORKDIR}"
+
+QA_PREBUILT="${DIR#/}/chrome-sandbox
+ ${DIR#/}/chrome_crashpad_handler
+ ${DIR#/}/libGLESv2.so
+ ${DIR#/}/libEGL.so
+ ${DIR#/}/libffmpeg.so
+ ${DIR#/}/libvk_swiftshader.so
+ ${DIR#/}/libvulkan.so.1
+ ${DIR#/}/obsidian
+ ${DIR#/}/resources/app.asar.unpacked/node_modules/*
+"
+
+src_install() {
+ insinto ${DIR}
+ doins -r ${DIR#/}/*
+
+ domenu usr/share/applications/obsidian.desktop
+
+ for size in 16 32 48 64 128 256 512; do
+ doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+ done
+
+ fperms 4755 ${DIR}/chrome-sandbox
+ fperms +x ${DIR}/obsidian
+
+ dosym -r ${DIR}/obsidian /usr/bin/obsidian
+}