mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-07 00:04:45 +03:00
app-office/joplin-desktop: bump to 3.5.7
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
38bf898e30
commit
20e4c79d5a
@ -1,2 +1,3 @@
|
||||
DIST Joplin-3.5.5.AppImage 157791294 BLAKE2B 0189710bc82ccfa7e4fe4b98634fd4b39f1ffbb773a98997df54d2577ccec6eaa67cc073ecf00cf322fc6748c01d7f15abe8fdef8263bcac4c954c39866bb1d4 SHA512 b2a72e397e70b91bb950773e517d8aae25b338a6ab80c602b54b2705006753a5b7c1ea13ef1403fdb267b0cc98dc040d80c98c6e34ff82f243452a6037d781ad
|
||||
DIST Joplin-3.5.6.AppImage 157804096 BLAKE2B 02fda1b7daa59b2efbf21503e62d5a5fd06d9b653f50d57c167dd3c8efde9ad91d5991965c23ad5ece43cb856088b9de3e335cb7b581cdfa0a2b7de6217efb0a SHA512 bab8c39e0f25e63d3777f87460a53888ed573af244073487105be96ba2d04ceb802722c84ad75ef27234f14475280a139970a6736ffc76321b9f305da026ca18
|
||||
DIST Joplin-3.5.7.AppImage 157779846 BLAKE2B 4bac75c46c7a43060cf4f3d092df0a1a63a603148108fbc368a50b2ef9f7f81251ddef329373560561bb556064ab2a7bbf42abfad71264fc0a744bf79b852e5c SHA512 1dea8e2334d7dda066d13438237bf92d3c4d623c0cb69816561008f2ad1ba31c3ba1e6045cb987bc0dd7b4e9ce591161fd8df41f9d7be91dd44d74b18a2d9ea5
|
||||
|
||||
105
app-office/joplin-desktop/joplin-desktop-3.5.7.ebuild
Normal file
105
app-office/joplin-desktop/joplin-desktop-3.5.7.ebuild
Normal file
@ -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
|
||||
virtual/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;"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user