From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1508565-garchives=archives.gentoo.org@lists.gentoo.org>
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 CF1F915ACFB
	for <garchives@archives.gentoo.org>; Mon, 17 Apr 2023 09:22:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2CEB4E0918;
	Mon, 17 Apr 2023 09:22:28 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 63A3EE091A
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Apr 2023 09:22:27 +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 70A83340D65
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Apr 2023 09:22:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 16304A46
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Apr 2023 09:22:24 +0000 (UTC)
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" <flow@gentoo.org>
Message-ID: <1681636330.0a9316ef0ebc53300338b04925c6a163238fd532.flow@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/metadata.xml app-office/obsidian/obsidian-1.1.16.ebuild
X-VCS-Directories: app-office/obsidian/
X-VCS-Committer: flow
X-VCS-Committer-Name: Florian Schmaus
X-VCS-Revision: 0a9316ef0ebc53300338b04925c6a163238fd532
X-VCS-Branch: master
Date: Mon, 17 Apr 2023 09:22:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1d2e1133-92ac-4614-b099-d45879999a84
X-Archives-Hash: 000ed9d31f15010dca8779c05591eecc

commit:     0a9316ef0ebc53300338b04925c6a163238fd532
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Sun Apr 16 09:12:10 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 09:12:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a9316ef

app-office/obsidian: new package, add 1.1.16

Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>

 app-office/obsidian/Manifest               |  1 +
 app-office/obsidian/metadata.xml           |  9 +++++++++
 app-office/obsidian/obsidian-1.1.16.ebuild | 32 ++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
new file mode 100644
index 000000000..9f265465d
--- /dev/null
+++ b/app-office/obsidian/Manifest
@@ -0,0 +1 @@
+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
new file mode 100644
index 000000000..6c1e2f683
--- /dev/null
+++ b/app-office/obsidian/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>rahul@sandhuservices.dev</email>
+		<name>Rahul Sandhu</name>
+	</maintainer>
+	<longdescription lang="en">A second brain, for you, forever.</longdescription>
+</pkgmetadata>

diff --git a/app-office/obsidian/obsidian-1.1.16.ebuild b/app-office/obsidian/obsidian-1.1.16.ebuild
new file mode 100644
index 000000000..db9d93c65
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.1.16.ebuild
@@ -0,0 +1,32 @@
+# 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}/${PN}_${PV}_amd64.deb"
+
+LICENSE="Obsidian-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}"
+
+src_install() {
+	insinto /opt/Obsidian
+	doins -r opt/Obsidian/*
+
+	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 /opt/Obsidian/chrome-sandbox || die
+	fperms +x  /opt/Obsidian/obsidian || die
+
+	dosym ../../opt/Obsidian/obsidian /usr/bin/obsidian
+}