mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
app-office/joplin-desktop: drop old 3.5.12
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST Joplin-3.5.12.AppImage 158078830 BLAKE2B 90fd6c2183c08e84ecde0f586bcadb59611eed9545a99a0c9d959bfd8b6e92e0fda7ad8079f30328d824b8cb2b6304710968c620edd494930252a81f8f460544 SHA512 6ff6984c0cb7fd596406d1ef0b18046871b3cd8b0adabdf96a46febe6e4258bb05984f50ec56b84d88cdc6dcff7608c62cf7c0962dcd89c041efc35661a71512
|
||||
DIST Joplin-3.5.7.AppImage 157779846 BLAKE2B 4bac75c46c7a43060cf4f3d092df0a1a63a603148108fbc368a50b2ef9f7f81251ddef329373560561bb556064ab2a7bbf42abfad71264fc0a744bf79b852e5c SHA512 1dea8e2334d7dda066d13438237bf92d3c4d623c0cb69816561008f2ad1ba31c3ba1e6045cb987bc0dd7b4e9ce591161fd8df41f9d7be91dd44d74b18a2d9ea5
|
||||
DIST Joplin-3.5.9.AppImage 157889916 BLAKE2B c060def4e94f28531174e5f062271212c5d2dd78d6b432131ea07380e4eb52e308213b6ec85a1223b2a3651c845bea834e2feba03929a756f64200c991176c41 SHA512 ce5b51a791f46f04dc6000304a509d559d4260e1b65462ce74530e06d695ab7afcba6b201fbc9b60079c9ef5b04631f170c01dfa9898b76f5553f208eba574a5
|
||||
DIST Joplin-3.6.2.AppImage 158099534 BLAKE2B 1886cbab3c61504594e4c242a0c7ab67e7b6112941136117ab8ab8f30f0e00bad7d5f99bd4ad59ffec168710e5b4cc081258cddbcf4a7dce9c5ad00a811b2a76 SHA512 8c0413d3a2ddd56d22a8334064c0f9df93d4ea4ea0bbd7d189edc32eaf8846bbdc05a89adc8ed6ae30cba4f759adb32f83df9b7b4520ef5d208518de852a6e9d
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
DESCRIPTION="Secure note taking and to-do app with synchronization capabilities"
|
||||
HOMEPAGE="https://joplinapp.org/
|
||||
https://github.com/laurent22/joplin/"
|
||||
|
||||
# NOTICE: This is a Electron app (oh my) and the upstream only provides AppImages.
|
||||
APPIMAGE="Joplin-${PV}.AppImage"
|
||||
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;"
|
||||
}
|
||||
Reference in New Issue
Block a user