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 BD51B15800A for ; Thu, 13 Jul 2023 09:42:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09EF0E08BB; Thu, 13 Jul 2023 09:42:25 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3623E08BB for ; Thu, 13 Jul 2023 09:42:24 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76124340C33 for ; Thu, 13 Jul 2023 09:42:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D32E3B07 for ; Thu, 13 Jul 2023 09:42:20 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1689241069.e1d9d5b1cda59af6b7d0af82b640e44cb9bc771d.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-office/obsidian/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-office/obsidian/Manifest app-office/obsidian/obsidian-1.3.5.ebuild X-VCS-Directories: app-office/obsidian/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: e1d9d5b1cda59af6b7d0af82b640e44cb9bc771d X-VCS-Branch: master Date: Thu, 13 Jul 2023 09:42:20 +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: 7e26e7ed-f373-47a4-aae4-bb6118696b22 X-Archives-Hash: fa0e050850271f1e85af03964a7ba2e6 Message-ID: <20230713094220.dPBoALCElQh4qHddcZW5XXp7Fmqv-O2sLfyNBW6aON4@z> commit: e1d9d5b1cda59af6b7d0af82b640e44cb9bc771d Author: David Roman gmail com> AuthorDate: Thu Jul 13 09:37:49 2023 +0000 Commit: David Roman gmail com> CommitDate: Thu Jul 13 09:37:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1d9d5b1 app-office/obsidian: add 1.3.5 Signed-off-by: David Roman gmail.com> app-office/obsidian/Manifest | 1 + app-office/obsidian/obsidian-1.3.5.ebuild | 68 +++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest index c8728ad42..6ef1a4202 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.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe diff --git a/app-office/obsidian/obsidian-1.3.5.ebuild b/app-office/obsidian/obsidian-1.3.5.ebuild new file mode 100644 index 000000000..7c6ac6f33 --- /dev/null +++ b/app-office/obsidian/obsidian-1.3.5.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 +}