diff options
| author | Maciej Barć <xgqt@gentoo.org> | 2025-09-18 21:17:00 +0200 |
|---|---|---|
| committer | Maciej Barć <xgqt@gentoo.org> | 2025-09-18 23:50:21 +0200 |
| commit | bd889efa5388a7deacd574dc982e7a112d91ff4a (patch) | |
| tree | 6e830246e894ec7a24aab2b347801df7076623c1 | |
| parent | 39b966f23bc98a0a8762b7e539fd10393ad86c12 (diff) | |
| download | gentoo-bd889efa5388a7deacd574dc982e7a112d91ff4a.tar.gz gentoo-bd889efa5388a7deacd574dc982e7a112d91ff4a.tar.bz2 gentoo-bd889efa5388a7deacd574dc982e7a112d91ff4a.zip | |
app-office/joplin-desktop: bump to 3.4.12
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
| -rw-r--r-- | app-office/joplin-desktop/Manifest | 1 | ||||
| -rw-r--r-- | app-office/joplin-desktop/joplin-desktop-3.4.12.ebuild | 105 |
2 files changed, 106 insertions, 0 deletions
diff --git a/app-office/joplin-desktop/Manifest b/app-office/joplin-desktop/Manifest index bc3ee678acb0..844443e09799 100644 --- a/app-office/joplin-desktop/Manifest +++ b/app-office/joplin-desktop/Manifest @@ -1,4 +1,5 @@ DIST Joplin-3.3.13.AppImage 229318179 BLAKE2B 3bc647beab4ca35d810e1e4977b3105eaf1c2f7b617ca8086a2b9019cc00c100593ed287daf04d0734c420056649951122eaf865176009f07dc945772e65035b SHA512 1e9a8867766f398a4efbc7066cf7940cf3affa208e5a7ca3f240d25e57879b633e122d78ec7066c2152b21e369a313881fd0fc189a11edc7aa10d7ba6eb4984b DIST Joplin-3.4.10.AppImage 154558278 BLAKE2B 6c9be8c85c17a676e38beddcd779aba2d6fd8e907327f5364af72703cfcfa5c47ce8c0622f142111eda1761651d85c57b08ca6e6feff2b83e49ae9825f87cf3b SHA512 406030136c9f11ad308d9523e9fddfc25a9459b137c900deac1c43116d763aeee543204e5832bb018e9093fb78058ce920d985316ffe3b58eb922a502f8908a7 +DIST Joplin-3.4.12.AppImage 154561716 BLAKE2B 1bcaa6c081225b61b372fba33b3d96e329660f4ef277f3fe6d7d5ce4f4fbc97988d075b403bef4f5df4a80f7e9c1bcf6b4fe194f03ab45b891c21141ade8a980 SHA512 37914d651c822ab0af483f42fb7690d915f1fd8dad0b066d1905e88d366464c922dda2283b5b9127251ab6f851eeaf6e1b1b71613b7b0f1b05d5463cd874d72a DIST Joplin-3.4.3.AppImage 154482392 BLAKE2B 02b4552a350118386a723f6af6b37048222e4a7ed9597ce94d7b90cc603298145286a189c47d054b5778e60ee3145c6881875e5e6fafc1c1c9d7fbb46a8c2569 SHA512 a860ebe6c7b887593a57bb19125b73153aa205ee3d371200558d76e53fecb0d08c2de80f5966378328ac1cc18ad448f97c555167d238878968d2fccff69fc107 DIST Joplin-3.4.7.AppImage 154405865 BLAKE2B 5de5338ad0151080c801012d8ae41a92a944a8cef6e3ac3980044e702985c6a73432be82ed1648f0d6ff65f402fc07d99f92934317ee0d33db2c23dfd5e884b5 SHA512 3d1cd11d227bc03c5a0a3c24f6178f4768e45d7f77bc49860521273999e04ad18ea6d0260999c12e0c8e922f00df24cee4d3a56eb3400a38b6bfd9c0cc8f45dd diff --git a/app-office/joplin-desktop/joplin-desktop-3.4.12.ebuild b/app-office/joplin-desktop/joplin-desktop-3.4.12.ebuild new file mode 100644 index 000000000000..f9a05be04735 --- /dev/null +++ b/app-office/joplin-desktop/joplin-desktop-3.4.12.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 splitdebug" + +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;" +} |
