public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/joplin-desktop/
Date: Sat, 24 Aug 2024 15:44:20 +0000 (UTC)	[thread overview]
Message-ID: <1724514219.47e85cc5038d9d105aa58a66c38ccf1724ee26bf.xgqt@gentoo> (raw)

commit:     47e85cc5038d9d105aa58a66c38ccf1724ee26bf
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 24 12:22:26 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 15:43:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e85cc5

app-office/joplin-desktop: bump to 3.0.15

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

 app-office/joplin-desktop/Manifest                 |   1 +
 .../joplin-desktop/joplin-desktop-3.0.15.ebuild    | 103 +++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/app-office/joplin-desktop/Manifest b/app-office/joplin-desktop/Manifest
index f38717c1d524..e26ce944f1f7 100644
--- a/app-office/joplin-desktop/Manifest
+++ b/app-office/joplin-desktop/Manifest
@@ -1,2 +1,3 @@
 DIST Joplin-3.0.13.AppImage 239287815 BLAKE2B 0766d60d974698758872c046046b133629583f06cbc3b4fd33d0f4886bc7eba3188a47ec5205b5396dbe7a4bd537c0c9ec9677ace97a03dc0d0087c540bb1dd9 SHA512 f96ca6dfb18a5794236e16fd0c0e0c851af2cc20ecfd6095ebbdbf74bd29888726676744196927f84f5f03518ad2bb3960bb599c149b480b8a2383e936eb4a30
 DIST Joplin-3.0.14.AppImage 239287839 BLAKE2B 3aedf934239f2f20da76a7a59e1e11587a7ad7aadbab3718be79d62100c5b98560c9856a16948dea4f0f2f2a1c3e412dadb27d5c88b5f4c23be922775d611b08 SHA512 27e44ae52c9954f5ce1b2cb96e2287725d1371262c645eb73953cbe4de9e1ce875211842a666153b8e4820e3117f91249f2e9ee7770e24b15383a269ce6829ce
+DIST Joplin-3.0.15.AppImage 239276178 BLAKE2B 749095fd4e89a876155b4f83b87ec461df3054d75b81eb13c62383d6ba43fb7e846f9d48a855a14d6a4b8cb26e6660e28d08dca5e5f9a7191d21c29982ad250e SHA512 ace649b9e4c4039e0e85f6fee6a9e39b850601ae493a4b98451f651ca24fd9177fad89b5b81cb116b3b41c82b7ccd76f870f0293ca8398d20cdb74e992b9b0c8

diff --git a/app-office/joplin-desktop/joplin-desktop-3.0.15.ebuild b/app-office/joplin-desktop/joplin-desktop-3.0.15.ebuild
new file mode 100644
index 000000000000..a9c365263d83
--- /dev/null
+++ b/app-office/joplin-desktop/joplin-desktop-3.0.15.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;"
+}


             reply	other threads:[~2024-08-24 15:44 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-24 15:44 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-27 14:51 [gentoo-commits] repo/gentoo:master commit in: app-office/joplin-desktop/ Maciej Barć
2025-01-27 14:51 Maciej Barć
2025-01-22 19:46 Sam James
2025-01-21 23:04 Maciej Barć
2025-01-06 23:12 Maciej Barć
2025-01-06 23:12 Maciej Barć
2025-01-06 23:12 Maciej Barć
2025-01-06 22:18 Maciej Barć
2025-01-06 22:18 Maciej Barć
2024-12-28 15:59 Sam James
2024-12-14 13:05 Sam James
2024-12-11  0:28 Maciej Barć
2024-12-06  8:31 Maciej Barć
2024-12-06  7:49 Sam James
2024-11-13 18:16 Maciej Barć
2024-11-08 19:34 Maciej Barć
2024-10-25 18:52 Maciej Barć
2024-10-25 18:52 Maciej Barć
2024-10-24  7:45 Arthur Zamarin
2024-10-23 16:12 Andreas Sturmlechner
2024-09-27 21:53 Sam James
2024-09-17 21:09 Andreas Sturmlechner
2024-09-03 18:44 Maciej Barć
2024-09-03 18:32 Jakov Smolić
2024-08-24 15:44 Maciej Barć
2024-08-24 15:44 Maciej Barć
2024-08-10 18:55 Arthur Zamarin
2024-07-31  0:03 Maciej Barć
2024-07-08 18:22 Maciej Barć
2024-07-04  2:39 Maciej Barć
2024-05-01 17:01 Sam James
2024-04-23  8:50 Sam James
2024-04-11  4:55 Arthur Zamarin
2024-04-11  1:38 Maciej Barć
2024-04-04  9:01 Jakov Smolić
2024-03-30 23:09 Maciej Barć
2024-03-20 19:30 Maciej Barć
2024-03-11 11:21 Maciej Barć
2024-03-11 11:21 Maciej Barć
2024-03-08 12:09 Arthur Zamarin
2024-03-04  1:03 Maciej Barć
2024-03-04  1:03 Maciej Barć
2024-03-04  1:03 Maciej Barć
2024-02-19 22:06 Sam James
2024-02-15 13:56 Sam James
2024-02-03 13:00 Maciej Barć
2024-01-18 17:25 Sam James
2024-01-18  9:43 Maciej Barć
2024-01-12 23:22 Maciej Barć
2024-01-05 20:58 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1724514219.47e85cc5038d9d105aa58a66c38ccf1724ee26bf.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox