aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Schollmeyer <nex+b-g-o@nexadn.de>2023-12-28 21:40:47 +0100
committerAdrian Schollmeyer <nex+b-g-o@nexadn.de>2023-12-28 21:43:09 +0100
commit8e26bfad20318de9eb7eaf4da8427f5af08d759b (patch)
tree3b88bc439caa8fe0c0b3fb17518a71e44f91d70a /app-office
parentmedia-video/wl-screenrec: Correct deps (diff)
downloadguru-8e26bfad20318de9eb7eaf4da8427f5af08d759b.tar.gz
guru-8e26bfad20318de9eb7eaf4da8427f5af08d759b.tar.bz2
guru-8e26bfad20318de9eb7eaf4da8427f5af08d759b.zip
app-office/drawio-desktop-bin: add 22.1.15
Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/drawio-desktop-bin/Manifest2
-rw-r--r--app-office/drawio-desktop-bin/drawio-desktop-bin-22.1.15.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/app-office/drawio-desktop-bin/Manifest b/app-office/drawio-desktop-bin/Manifest
index da785569c..6076dd18f 100644
--- a/app-office/drawio-desktop-bin/Manifest
+++ b/app-office/drawio-desktop-bin/Manifest
@@ -1 +1,3 @@
+DIST drawio-desktop-bin-22.1.15.tar.gz 454755 BLAKE2B 3fcdb54bd397919f21145d6912091d84baa5d55731babcc70a3d9a7a7c4db67eed2ff7fd62660e1915721e856d09244ef05bf6135bb00039f8b998f94986ae75 SHA512 164d18b723c65aa095dc71dab75b886cf99ef6a462dce1440c8547063658c3063cc0951dad6552fd01edaa3c1a41002b184d4e2fe7ec87f0c31dfc6fd25643c9
DIST drawio-x86_64-21.6.5.AppImage 163718032 BLAKE2B 04a9a0b0a19442110eecf199bb92d3f4f98d218abc6873c59fa2539c3c661de1e78137edab614a198d36f93e4f09ba47c185e8bb3b859d1d37f71f9cdefb2048 SHA512 eb3e998d7ef430fd38d9f6aaa3c625766637615bec5f735e2e9740c16dcbbcd6d671c619f7dac8ae5cd2ee9a4618c23d00bdf34c6d8a21b463c4fdcb95b5b7f2
+DIST drawio-x86_64-22.1.15.AppImage 199610803 BLAKE2B aa443e2177c7230d322f9db50a2e5315ae43ae4f44fd5e9bbcfd372288276716222fc24e2f513cbbc9180d44871c654dd75016672ef64e602ecfbfc1c5d0865a SHA512 2ee285ad6ac6295f319b8dc5503610a6965a230d5f8d7348811b1d81319fdc784db974d31ccb4253061ba9474659ac1fb6a39f6e6784dc58bb4908027b329c8f
diff --git a/app-office/drawio-desktop-bin/drawio-desktop-bin-22.1.15.ebuild b/app-office/drawio-desktop-bin/drawio-desktop-bin-22.1.15.ebuild
new file mode 100644
index 000000000..aee43d3bd
--- /dev/null
+++ b/app-office/drawio-desktop-bin/drawio-desktop-bin-22.1.15.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+MY_PN="${PN/-bin/}"
+
+DESCRIPTION="Diagram drawing application built on web technologies"
+HOMEPAGE="https://github.com/jgraph/drawio-desktop"
+
+SRC_URI="
+ https://github.com/jgraph/${MY_PN}/releases/download/v${PV}/drawio-x86_64-${PV}.AppImage
+ https://github.com/jgraph/drawio-desktop/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+KEYWORDS="-* ~amd64"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+RESTRICT="strip"
+
+RDEPEND="sys-fs/fuse:0"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="*"
+
+src_install() {
+ newbin "${DISTDIR}/drawio-x86_64-${PV}.AppImage" drawio-appimage
+
+ pushd "${MY_PN}-${PV}/build" || die
+ for f in *x*.png; do
+ case "${f}" in
+ # not all icon sizes are supported
+ 720x720.png)
+ continue
+ ;;
+ *)
+ newicon -s "${f%.png}" "${f}" "drawio.png"
+ ;;
+ esac
+ done
+ popd || die
+
+ make_desktop_entry \
+ "/usr/bin/drawio-appimage" \
+ "draw.io" \
+ "drawio" \
+ "Graphics;Office"
+}