diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-04 12:28:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-04 12:28:34 +0100 |
commit | 518b45bffd19d0b75715f338985f96c459f9d129 (patch) | |
tree | 948dfe5d479374fd6b85fe72ff2570e8a4af47ff /app-office/joplin-desktop | |
parent | 3f559ef486314f9b3b48d48eb303d6be68463af9 (diff) |
gentoo auto-resync : 04:09:2024 - 12:28:34
Diffstat (limited to 'app-office/joplin-desktop')
-rw-r--r-- | app-office/joplin-desktop/Manifest | 4 | ||||
-rw-r--r-- | app-office/joplin-desktop/joplin-desktop-3.0.14.ebuild | 2 | ||||
-rw-r--r-- | app-office/joplin-desktop/joplin-desktop-3.1.3.ebuild | 103 |
3 files changed, 107 insertions, 2 deletions
diff --git a/app-office/joplin-desktop/Manifest b/app-office/joplin-desktop/Manifest index 49944a05b3d2..78eff70335c3 100644 --- a/app-office/joplin-desktop/Manifest +++ b/app-office/joplin-desktop/Manifest @@ -1,7 +1,9 @@ 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 +DIST Joplin-3.1.3.AppImage 241399868 BLAKE2B a8a6960788dd0e703387fa3e88722513d6a394d4b347b6a69e0cf0079c2e4ce276e21fac60fe9a7a8f573259cdce5dc19dd871c06b6faffeedf5f6ded874a930 SHA512 b49bfed97bcc2210ef6c74d5a431d0620fe43332418486cc854e2f525c9e93d62682a732a03e977ed42ca55eabcde5e897406c3ecf4cc6d86fa6e333a71b9345 EBUILD joplin-desktop-3.0.13.ebuild 2370 BLAKE2B c31b3c291b6f68af1e6fc7857d696c0fb887fbb0a569351bd988e3aed51fc53649df0adb6ec74df71632dcbad718f36be945097507ed4003f2102d7f619e8a3f SHA512 6091bf7ca2898bf48bc15a9e4f004ff39c5b4546c3f39c390aa6a026603c1ac51d53568f71bc4df13252ebee23f7d8ef99da51013edaaeeec0bf03ba692d0eec -EBUILD joplin-desktop-3.0.14.ebuild 2371 BLAKE2B 75f8638b02d789e48e0ab968aa862886478dfb8da8025ce1bb5ed014e6b0076c2dd1228c048ed0ee784310549a688096060446c7063e61a3057ef5d1a1ea7833 SHA512 f745f089a455cc3cf92a2ab4a1c443727002666ec951d0d47341899e852ec3c90334a1645a21d866ec105f9a953f2a8bab99c8f4b591ce577a6ecb55d11d782a +EBUILD joplin-desktop-3.0.14.ebuild 2370 BLAKE2B c31b3c291b6f68af1e6fc7857d696c0fb887fbb0a569351bd988e3aed51fc53649df0adb6ec74df71632dcbad718f36be945097507ed4003f2102d7f619e8a3f SHA512 6091bf7ca2898bf48bc15a9e4f004ff39c5b4546c3f39c390aa6a026603c1ac51d53568f71bc4df13252ebee23f7d8ef99da51013edaaeeec0bf03ba692d0eec EBUILD joplin-desktop-3.0.15.ebuild 2371 BLAKE2B 75f8638b02d789e48e0ab968aa862886478dfb8da8025ce1bb5ed014e6b0076c2dd1228c048ed0ee784310549a688096060446c7063e61a3057ef5d1a1ea7833 SHA512 f745f089a455cc3cf92a2ab4a1c443727002666ec951d0d47341899e852ec3c90334a1645a21d866ec105f9a953f2a8bab99c8f4b591ce577a6ecb55d11d782a +EBUILD joplin-desktop-3.1.3.ebuild 2371 BLAKE2B 75f8638b02d789e48e0ab968aa862886478dfb8da8025ce1bb5ed014e6b0076c2dd1228c048ed0ee784310549a688096060446c7063e61a3057ef5d1a1ea7833 SHA512 f745f089a455cc3cf92a2ab4a1c443727002666ec951d0d47341899e852ec3c90334a1645a21d866ec105f9a953f2a8bab99c8f4b591ce577a6ecb55d11d782a MISC metadata.xml 755 BLAKE2B 2f95bccd9fb7bf21b253a524950c4775273c2d1911ebf4b90a392f8c2c7f38e986af0fbd217287595ba39a684609d8df6f275e146388aa0331169e51ba6fc823 SHA512 b62f1dfc822413386115305900866f6cf16fc2071425d2f0f515f537a29bf282d65c31b7f59ccf9187280456eb759a5fcce7340fb983ff0f50413c649c8fc1d0 diff --git a/app-office/joplin-desktop/joplin-desktop-3.0.14.ebuild b/app-office/joplin-desktop/joplin-desktop-3.0.14.ebuild index a9c365263d83..8178f87f501f 100644 --- a/app-office/joplin-desktop/joplin-desktop-3.0.14.ebuild +++ b/app-office/joplin-desktop/joplin-desktop-3.0.14.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/laurent22/joplin/releases/download/v${PV}/${APPIMAGE LICENSE="AGPL-3+" SLOT="0" -KEYWORDS="-* ~amd64" +KEYWORDS="-* amd64" RESTRICT="bindist" RDEPEND=" diff --git a/app-office/joplin-desktop/joplin-desktop-3.1.3.ebuild b/app-office/joplin-desktop/joplin-desktop-3.1.3.ebuild new file mode 100644 index 000000000000..a9c365263d83 --- /dev/null +++ b/app-office/joplin-desktop/joplin-desktop-3.1.3.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;" +} |