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: Wed, 13 Nov 2024 18:16:00 +0000 (UTC)	[thread overview]
Message-ID: <1731521226.e266009a18d5503c66d8b9fc1580c20f025cfaaf.xgqt@gentoo> (raw)

commit:     e266009a18d5503c66d8b9fc1580c20f025cfaaf
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 15:25:18 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 18:07:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e266009a

app-office/joplin-desktop: bump to 3.1.24

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

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

diff --git a/app-office/joplin-desktop/Manifest b/app-office/joplin-desktop/Manifest
index 9956fde3c6a1..4bd0166880df 100644
--- a/app-office/joplin-desktop/Manifest
+++ b/app-office/joplin-desktop/Manifest
@@ -1,3 +1,4 @@
 DIST Joplin-3.1.20.AppImage 244577745 BLAKE2B b0d0ad00cd1967669a75428090d0fbd8f6dd0aeda68f3d21c03d72264c2cdb6c3a7429db886c76ee00ba608a806512accbd2a6bf5e0b57e36e10b854ba693d14 SHA512 f078d7df5c3733b54aa6d35a8f77b4c4edc06149deebae0bd97d398721afde69f841f7d039e4d069642aa8c461366c26561a978934c9be232464dfc4501332b2
 DIST Joplin-3.1.23.AppImage 244602125 BLAKE2B b344accd0fa80240c11074acab90c46b91d4e9c294087663d8cd0f4353649cf1631828cf2ba7d89b5156cfdc80bbee3e37d4dc988359ff3c4f2ea6cbc52f607e SHA512 ec917be832a7c0c33033a4ee1a7f85cefdaa6f07ab735af54689fd4ffc70477c6b4a8e31add3b1c85ccff6df7e613b338bf1d67c395dfd113948f594b2da34fe
+DIST Joplin-3.1.24.AppImage 244603841 BLAKE2B 2175019cbcca58473fb9b7f6157f001ca3c36ede16cc62191c165c3852496dfabb811fc3507ab2e0c5981959e9be50bc8836d0108cc9c80969f6ce0f511f130a SHA512 e286186c07f64ca70f13a95584fa49b7c8ac97bb025c288ca5b15b8334f9ea52ed758cc272c3e6c277544785b02f24423f8af9191973245faef1974791a7366c
 DIST Joplin-3.1.3.AppImage 241399868 BLAKE2B a8a6960788dd0e703387fa3e88722513d6a394d4b347b6a69e0cf0079c2e4ce276e21fac60fe9a7a8f573259cdce5dc19dd871c06b6faffeedf5f6ded874a930 SHA512 b49bfed97bcc2210ef6c74d5a431d0620fe43332418486cc854e2f525c9e93d62682a732a03e977ed42ca55eabcde5e897406c3ecf4cc6d86fa6e333a71b9345

diff --git a/app-office/joplin-desktop/joplin-desktop-3.1.24.ebuild b/app-office/joplin-desktop/joplin-desktop-3.1.24.ebuild
new file mode 100644
index 000000000000..64c2fd46b4e0
--- /dev/null
+++ b/app-office/joplin-desktop/joplin-desktop-3.1.24.ebuild
@@ -0,0 +1,106 @@
+# 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/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-11-13 18:16 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13 18:16 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 19:34 [gentoo-commits] repo/gentoo:master commit in: app-office/joplin-desktop/ 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-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=1731521226.e266009a18d5503c66d8b9fc1580c20f025cfaaf.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