From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4649815806E for ; Thu, 18 May 2023 01:47:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D615E07D0; Thu, 18 May 2023 01:47:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B4E4E07D0 for ; Thu, 18 May 2023 01:46:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BD1D7335D50 for ; Thu, 18 May 2023 01:46:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 183D81D for ; Thu, 18 May 2023 01:46:57 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1684374387.6bb208f349e407f9f5335b61a924cc2fa18f6513.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-office/obsidian/Manifest app-office/obsidian/metadata.xml app-office/obsidian/obsidian-1.2.8.ebuild X-VCS-Directories: app-office/obsidian/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: 6bb208f349e407f9f5335b61a924cc2fa18f6513 X-VCS-Branch: dev Date: Thu, 18 May 2023 01:46:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 35041b8a-c2e6-41e9-86d7-1534e4db937b X-Archives-Hash: b632bc7a3e0356b9de5ab88b8fae0b8a commit: 6bb208f349e407f9f5335b61a924cc2fa18f6513 Author: Lucio Sauer posteo net> AuthorDate: Thu May 18 01:46:27 2023 +0000 Commit: Lucio Sauer posteo net> CommitDate: Thu May 18 01:46:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6bb208f3 app-office/obsidian: add 1.2.8 Signed-off-by: Lucio Sauer posteo.net> app-office/obsidian/Manifest | 1 + app-office/obsidian/metadata.xml | 3 +- app-office/obsidian/obsidian-1.2.8.ebuild | 68 +++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) 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 @@ rahul@sandhuservices.dev Rahul Sandhu - A second brain, for you, forever. + Obsidian is a powerful and extensible knowledge base +that works on top of your local folder of plain text files. obsidianmd/obsidian-releases 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 +}