1 # Copyright 2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit desktop xdg unpacker
8 DESCRIPTION
="A simple and elegant markdown editor, available for Linux, macOS and Windows."
9 HOMEPAGE
="https://marktext.app/ https://github.com/marktext/marktext"
10 SRC_URI
="https://github.com/marktext/marktext/releases/download/v${PV}/${PN%-bin}-amd64.deb -> ${P}.deb"
18 app-accessibility/at-spi2-atk:2
19 app-accessibility/at-spi2-core:2
32 x11-libs/libXcomposite
45 opt/MarkText/resources/app.asar.unpacked/node_modules/*
46 opt/MarkText/swiftshader/libEGL.so
47 opt/MarkText/swiftshader/libGLESv2.so
48 opt/MarkText/chrome-sandbox
49 opt/MarkText/chrome_crashpad_handler
50 opt/MarkText/libEGL.so
51 opt/MarkText/libffmpeg.so
52 opt/MarkText/libGLESv2.so
53 opt/MarkText/libvk_swiftshader.so
54 opt/MarkText/libvulkan.so.1
60 unpack usr
/share
/doc
/${PN%-bin}/changelog.gz
68 doins
-r usr
/share
/icons
71 domenu usr
/share
/applications
/${PN%-bin}.desktop
74 for f
in ${QA_PREBUILT}; do
77 fperms u
+s
/opt
/MarkText
/chrome-sandbox
79 dosym ..
/..
/opt
/MarkText
/${PN%-bin} /usr
/bin
/${PN%-bin}