From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1730925-garchives=archives.gentoo.org@lists.gentoo.org>
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 finch.gentoo.org (Postfix) with ESMTPS id 6B5701581EE
	for <garchives@archives.gentoo.org>; Mon, 24 Mar 2025 10:30:03 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 5682E343521
	for <garchives@archives.gentoo.org>; Mon, 24 Mar 2025 10:30:03 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id F1A2B1104B0;
	Mon, 24 Mar 2025 10:29:54 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id EB18F1104B0
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 Mar 2025 10:29:54 +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 9F5953434F1
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 Mar 2025 10:29:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 368F9284E
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 Mar 2025 10:29:53 +0000 (UTC)
From: "Maciej Barć" <xgqt@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, "Maciej Barć" <xgqt@gentoo.org>
Message-ID: <1742812189.692e39472a773c49d5136e11977e2883fa68debb.xgqt@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/joplin-desktop/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-office/joplin-desktop/Manifest app-office/joplin-desktop/joplin-desktop-3.3.3.ebuild
X-VCS-Directories: app-office/joplin-desktop/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: 692e39472a773c49d5136e11977e2883fa68debb
X-VCS-Branch: master
Date: Mon, 24 Mar 2025 10:29:53 +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: 75755f6d-4ebd-439a-b859-a5d3a16c4762
X-Archives-Hash: 67526787a93d4c95fe9ec889692a1ee5

commit:     692e39472a773c49d5136e11977e2883fa68debb
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 09:40:13 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 10:29:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=692e3947

app-office/joplin-desktop: bump to 3.3.3

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-office/joplin-desktop/Manifest                 |   1 +
 .../joplin-desktop/joplin-desktop-3.3.3.ebuild     | 105 +++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/app-office/joplin-desktop/Manifest b/app-office/joplin-desktop/Manifest
index b410418f26e0..55f509548041 100644
--- a/app-office/joplin-desktop/Manifest
+++ b/app-office/joplin-desktop/Manifest
@@ -1,3 +1,4 @@
 DIST Joplin-3.2.11.AppImage 226032261 BLAKE2B 8c0907f19e884343511ee6fd4544e8174b8fe58276e4903f4033f25b2f96e435e53eb8aeebdac4c4e57ab1353dcfd9007095bf7f682c41815644ffc2d1035f61 SHA512 c818b0ad9540e3af6c7295c6b19dba18bb2dfb19fe69bb78d63f0f2318b5d1f95dde99e86e74f693afa4f1535fce04f769ca5870d4bc00e1854025e63bc36309
 DIST Joplin-3.2.12.AppImage 226036685 BLAKE2B f4bcbf71774c41c8b01850c14a67ce8f4ebdf2e964c45c4741a0f1808283f9d50b9904a420e640abf038d6aee79f3a7cdc49ff0d3ac8d35b28204df4a303390a SHA512 aecdda99475f0d37e5647bd7a270f0554afa8e626e78f2494aa24a0303a8d9061c49e495fc7750aca7700c489ff98090934f8f1d78327e2c91582a95a4824313
 DIST Joplin-3.3.2.AppImage 224805353 BLAKE2B 9192d5c3cecc909d185aa4a58b534dd074a265519c755ac35a4e86461f23625a244f4e9af82051246b65d6c600362c75fe5aece2cf6833d72cf3da9d1c6a0bc7 SHA512 2224246266507f01f5e03e4c87e90364cf27edc83f21e1c20d592e8a35339f63032127813407d12dfc30b822ab7bfa9b01bc63e4eed396e83242f7bb3b23be99
+DIST Joplin-3.3.3.AppImage 229190060 BLAKE2B 6eae7bf970dc20cf87dbea8db45c9f9a1b554035177e3a9ddf482b42a44f5f1ad10d904b2f2565db94f78f7eefca106f644103cde2b3605e9ff0439f9ab71b53 SHA512 4aec5a90d5a90555280cfb2eb0c979416bb106bc661108d691e44535db6bb4b988442af1351f78abb1a0e4df3cc0db47c53244129a41b0fb6f1cae8d857e150f

diff --git a/app-office/joplin-desktop/joplin-desktop-3.3.3.ebuild b/app-office/joplin-desktop/joplin-desktop-3.3.3.ebuild
new file mode 100644
index 000000000000..e512dc366a9a
--- /dev/null
+++ b/app-office/joplin-desktop/joplin-desktop-3.3.3.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# NOTICE: This is a Electron app (oh my) and the upstream only provides AppImages.
+
+EAPI=8
+
+APPIMAGE="Joplin-${PV}.AppImage"
+
+inherit desktop xdg
+
+DESCRIPTION="Secure note taking and to-do app with synchronization capabilities"
+HOMEPAGE="https://joplinapp.org/
+	https://github.com/laurent22/joplin/"
+SRC_URI="https://github.com/laurent22/joplin/releases/download/v${PV}/${APPIMAGE}"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	app-misc/ca-certificates
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	|| (
+		media-libs/libcanberra-gtk3
+		media-libs/libcanberra[gtk3(-)]
+	)
+	media-libs/libglvnd
+	media-libs/mesa
+	net-misc/curl
+	net-print/cups
+	sys-apps/dbus
+	sys-libs/zlib
+	sys-process/lsof
+	x11-libs/cairo
+	x11-libs/gtk+:3
+	x11-libs/libdrm
+	x11-libs/libnotify
+	x11-libs/libX11
+	x11-libs/libxcb
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libxkbcommon
+	x11-libs/libxkbfile
+	x11-libs/libXrandr
+	x11-libs/libXScrnSaver
+	x11-libs/pango
+	x11-misc/xdg-utils
+"
+
+QA_PREBUILT="*"
+
+src_unpack() {
+	mkdir -p "${S}" || die
+	cp "${DISTDIR}/${APPIMAGE}" "${S}" || die
+
+	cd "${S}" || die         # "appimage-extract" unpacks to current directory.
+	chmod +x "${S}/${APPIMAGE}" || die
+	"${S}/${APPIMAGE}" --appimage-extract || die
+}
+
+src_prepare() {
+	# Fix permissions.
+	find "${S}" -type d -exec chmod a+rx {} + || die
+	find "${S}" -type f -exec chmod a+r {} + || die
+
+	default
+}
+
+src_install() {
+	cd "${S}/squashfs-root" || die
+
+	insinto /usr/share
+	doins -r ./usr/share/icons
+
+	local apphome="/opt/${PN}"
+	local -a toremove=(
+		.DirIcon
+		AppRun
+		LICENSE.electron.txt
+		LICENSES.chromium.html
+		joplin.png
+		resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm
+		resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm64
+		resources/app.asar.unpacked/node_modules/node-notifier
+		usr
+	)
+	rm -f -r "${toremove[@]}" || die
+
+	mkdir -p "${ED}/${apphome}" || die
+	cp -r . "${ED}/${apphome}" || die
+
+	dosym -r "${apphome}/joplin" "/usr/bin/${PN}"
+	make_desktop_entry "${PN}" Joplin joplin "Office;" \
+		"StartupWMClass=Joplin\nMimeType=x-scheme-handler/joplin;"
+}