app-editors/marktext-bin: add arm64 support

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-10-22 23:01:06 +11:00
1 parent 95b9722a55
commit 3df82cd085
2 files changed
+14 -2

No files matched your search

+1
View File
@@ -1 +1,2 @@
DIST marktext-bin-0.23.0-arm64.deb 121073212 BLAKE2B 6aea96404cbbbc86b241ffb9eb43beb116d0bef20f30893092c5ee03cf1b0c6a88f8d227ebc864217445e2f1880738ab3c9be2fee49fddad15f79348f08c964d SHA512 5aeb88c2ddd685d1bfce8c8a2abb3f7c01a292d95c3e57c198344323d4ed5cb027a26105fd44aa7d80d36b350b3b4eae3e04ebeae4bebbdc5353f76e15db1845
DIST marktext-bin-0.23.0.deb 126657272 BLAKE2B 675e022726fbae4e40c548b6228fbbac93354336ef17645a201acb49b6d27e99fd294fe1c6501baf505c83cbc000aa204cd2a773ea4ac72314d99146ed9116de SHA512 9011f2fbf6c96d12d222c21d681aef96facc6cc7a45726d81477d7ab3b6e5f9bed3e815e0e451f6f39e37de6329dcd2e7afe5f32dea1ba072c1235cd8866209a
@@ -7,12 +7,21 @@ inherit desktop xdg unpacker
DESCRIPTION="A simple and elegant markdown editor, available for Linux, macOS and Windows"
HOMEPAGE="https://github.com/marktext/marktext"
SRC_URI="https://github.com/marktext/marktext/releases/download/v${PV}/${PN%-bin}-linux-${PV}.deb -> ${P}.deb"
SRC_URI="
amd64? (
https://github.com/marktext/marktext/releases/download/v${PV}/${PN%-bin}-linux-${PV}.deb
-> ${P}.deb
)
arm64? (
https://github.com/marktext/marktext/releases/download/v${PV}/${PN%-bin}-linux-arm64-${PV}.deb
-> ${P}-arm64.deb
)
"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
app-accessibility/at-spi2-core:2
@@ -54,6 +63,8 @@ QA_PREBUILT="
opt/MarkText/resources/app.asar.unpacked/node_modules/*
"
QA_PRESTRIPPED="opt/MarkText/chrome-sandbox"
src_prepare(){
default
sed -i 's|^MimeType=.*|MimeType=text/markdown;|' usr/share/applications/${PN%-bin}.desktop || die