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 8D0C71581C1 for ; Thu, 4 Jul 2024 02:39:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 993722BC047; Thu, 4 Jul 2024 02:39:32 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 7FE3B2BC047 for ; Thu, 4 Jul 2024 02:39:32 +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 B46A4343007 for ; Thu, 4 Jul 2024 02:39:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9BCE1DC0 for ; Thu, 4 Jul 2024 02:39:29 +0000 (UTC) From: "Maciej Barć" 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ć" Message-ID: <1720060763.83e3f71b3f6e4728d5d28b665c3b652bef76dbfc.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.0.12.ebuild X-VCS-Directories: app-office/joplin-desktop/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 83e3f71b3f6e4728d5d28b665c3b652bef76dbfc X-VCS-Branch: master Date: Thu, 4 Jul 2024 02:39:29 +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: 8baf1532-1248-4dc5-98fd-9e134ad5a05c X-Archives-Hash: 87ccd6001f2eee8c607db91949352d4d commit: 83e3f71b3f6e4728d5d28b665c3b652bef76dbfc Author: Maciej Barć gentoo org> AuthorDate: Wed Jul 3 19:30:54 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Thu Jul 4 02:39:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e3f71b app-office/joplin-desktop: bump to 3.0.12 Signed-off-by: Maciej Barć gentoo.org> app-office/joplin-desktop/Manifest | 1 + .../joplin-desktop/joplin-desktop-3.0.12.ebuild | 103 +++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/app-office/joplin-desktop/Manifest b/app-office/joplin-desktop/Manifest index c6142d0d65c8..e08cbc651c97 100644 --- a/app-office/joplin-desktop/Manifest +++ b/app-office/joplin-desktop/Manifest @@ -1 +1,2 @@ +DIST Joplin-3.0.12.AppImage 239283737 BLAKE2B 69c18d9cd77e0352a3c21e0225f9d6b866f5d1983a66700bb4a9fcd87c0c4476dbe292f0b1a7a3b8962c9dfef1d518501933a509772cd06661991e0edddb5fc3 SHA512 e53448e5cca06a33b16bef12df447b52b00287c0c73658523a261145efb8d3877dd662ff256a96d612b82390fed9431e8377baf16a0c28d1f6fc1062c2cde06a DIST Joplin-3.0.2.AppImage 253581812 BLAKE2B aa125e8bae0af2ff2e156378d221fd09dda43452b003da36486a59abb7323f81999242475450ab7e164712a060be4f59de68cfcf0736b5237db0e6f0b2914164 SHA512 da53055e23c8bf87e630bf2546c959b2b7a97d65193893c421793259055318ef5ba72f1ca897bcd60e76cc1f060db4f2bc4a39303640872301a7984dd4d7620a diff --git a/app-office/joplin-desktop/joplin-desktop-3.0.12.ebuild b/app-office/joplin-desktop/joplin-desktop-3.0.12.ebuild new file mode 100644 index 000000000000..a9c365263d83 --- /dev/null +++ b/app-office/joplin-desktop/joplin-desktop-3.0.12.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 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/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 toremove=( + .DirIcon + @joplinapp-desktop.desktop + @joplinapp-desktop.png + AppRun + LICENSE.electron.txt + LICENSES.chromium.html + 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}/@joplinapp-desktop" "/usr/bin/${PN}" + make_desktop_entry "${PN}" Joplin @joplinapp-desktop "Office;" \ + "StartupWMClass=Joplin\nMimeType=x-scheme-handler/joplin;" +}