summaryrefslogtreecommitdiff
path: root/app-office
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-17 18:49:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-17 18:49:32 +0000
commit5c94a4b3d11ad7b169e23bd604cf403c96bf4f1c (patch)
tree51700ddb4327326dcc3f915423b58b3842fef379 /app-office
parentd1ad4013179c639433bdbfa5025ca403aac0767b (diff)
gentoo auto-resync : 17:03:2024 - 18:49:32
Diffstat (limited to 'app-office')
-rw-r--r--app-office/Manifest.gzbin8429 -> 8434 bytes
-rw-r--r--app-office/drawio-desktop-bin/Manifest4
-rw-r--r--app-office/drawio-desktop-bin/drawio-desktop-bin-24.0.4.ebuild112
3 files changed, 116 insertions, 0 deletions
diff --git a/app-office/Manifest.gz b/app-office/Manifest.gz
index 83c01862b5ad..13cb251cd775 100644
--- a/app-office/Manifest.gz
+++ b/app-office/Manifest.gz
Binary files differ
diff --git a/app-office/drawio-desktop-bin/Manifest b/app-office/drawio-desktop-bin/Manifest
index cc0cf371f1fc..6655ac811803 100644
--- a/app-office/drawio-desktop-bin/Manifest
+++ b/app-office/drawio-desktop-bin/Manifest
@@ -1,9 +1,13 @@
DIST drawio-22.1.21-icon-r1.svg 1194 BLAKE2B 624a024e95ff1a68ac298b64d0e633f46411f7ec142d8b2a7d639c7e6a66a1f7c695f67b28a64e323ec1dea36ec4d657e2ee9119cd58f1c84f0d9cb9b5d9755d SHA512 ce010d61c5de3322d4e3c66c87ae199b7d15e68ee7253078f001eccb3b725c0290426978cfd81a4d06276b8b50ea8bd650213a50eb72432451afe536790eb39e
DIST drawio-23.1.5-icon-r1.svg 1194 BLAKE2B 624a024e95ff1a68ac298b64d0e633f46411f7ec142d8b2a7d639c7e6a66a1f7c695f67b28a64e323ec1dea36ec4d657e2ee9119cd58f1c84f0d9cb9b5d9755d SHA512 ce010d61c5de3322d4e3c66c87ae199b7d15e68ee7253078f001eccb3b725c0290426978cfd81a4d06276b8b50ea8bd650213a50eb72432451afe536790eb39e
+DIST drawio-24.0.4-icon-r1.svg 1194 BLAKE2B 624a024e95ff1a68ac298b64d0e633f46411f7ec142d8b2a7d639c7e6a66a1f7c695f67b28a64e323ec1dea36ec4d657e2ee9119cd58f1c84f0d9cb9b5d9755d SHA512 ce010d61c5de3322d4e3c66c87ae199b7d15e68ee7253078f001eccb3b725c0290426978cfd81a4d06276b8b50ea8bd650213a50eb72432451afe536790eb39e
DIST drawio-desktop-bin-amd64-22.1.21.deb 96067454 BLAKE2B 4359f16e9932bd0b356cb8e800dab018462f943c81f604cc32837c6fcf1d1eda051380a0efdb122cf08d38d6f9ea6d87fa89de41d11ff33fd132fec037d0ff25 SHA512 2c99cefeb9a483e9a687eb1d3945549dda932303e8e7d45e80cc37103659c88e9eaba33b5b663fb96c331800424d24c16e11d670231f04d42dc30119db731ee5
DIST drawio-desktop-bin-amd64-23.1.5.deb 96278524 BLAKE2B 589cb585a687d40d2ae763492f0478ad6ee8acd642ecd00a9cd129c0e68bb297477c6b7709de13186d5ad643ee2ddb5d19c2e5d95574bfe49152958de02e44cf SHA512 9ae538f079a4eaa6c191270ed6f3ffc506a5921df109dbedfb7d9e3a4b2b61ebc884a33aca2f894bb0fe532e0069df62e267284250349facfd1d6e5bde7b824c
+DIST drawio-desktop-bin-amd64-24.0.4.deb 96112610 BLAKE2B 0cc189f9eb22d0995f15b38dde45a37c4ab5cefc0eeefa02398a263b74d1a8ac1bf7ec3a7d29e4a91a91f0481c1c59670238489bdf34500163ae7c9a7995189d SHA512 0fae62cfcd89c2233e5d149b37b122f0a362a8a3753e824d766768aec94ceefbb2d458016c402f1e5c43663b10fdda5a0db65fbe8194f103dbae974520c32b57
DIST drawio-desktop-bin-arm64-22.1.21.deb 91108260 BLAKE2B ff13736806866249ef55ff7dabed173996b910d25f31f72e9755ef22f3e67162aa080046e4fb5af9801b8ddaefe19cdae578ce6a9d314013b01211832b71ded2 SHA512 5d273b55839858ab4afb18f9ceab1a8004af7843e73a15944be5991d09b821dc4f9fcf46a8dfca6b1a47d7d6e70e4e905e4dfe13e03fe842b6c1b40fc92164d7
DIST drawio-desktop-bin-arm64-23.1.5.deb 90820726 BLAKE2B e937b1fa7675b3ed895776fbbf5b97c2d96d9fdc658789cad6fa7c2633af5257c61850c1e1f3537b4f3b47261f781dcadb316100b53101e1f5979bf6e9572c76 SHA512 94608a667a55f6e82321d2fd0e668e88dc27a74e7bd8fbd65317fdb02cd11fb4c0d990d3dc513a9a7584d69204a8d7e7f1b842a3c46938ad38671b44da68d399
+DIST drawio-desktop-bin-arm64-24.0.4.deb 91106114 BLAKE2B 6e55db288b503af9ca68a5011126bd026c925f96008b3224965f4e4b5a855ef335ad806524f1c8d196dc6690fbf31b0adb669a5a88523a6586c4aad95bb53bb9 SHA512 032fadbb00fc31d5e1723612fc33e27573f1aa86c0d3d6bc4ec15ea964db8b81737c0d4c8dcf39e529e9fbda8753221014020e189a449a7c7c280d049dab46e1
EBUILD drawio-desktop-bin-22.1.21.ebuild 3163 BLAKE2B e1db8729fa8a6801cf9598035f0b493e786d3e7854bafc0aade2e26cea6e1f5f5cd44abb3c8357104c82526802045b69b23d090ff47c9357a6c37013ff39a792 SHA512 935e726fad572aee18c73e2de0a64c347b71e14ccfd3dd0355bb9cd69a4592291bde451eca49845c6af536db87629e5a8f60b4e5153a488778fa3bee39faaa6c
EBUILD drawio-desktop-bin-23.1.5.ebuild 3163 BLAKE2B e1db8729fa8a6801cf9598035f0b493e786d3e7854bafc0aade2e26cea6e1f5f5cd44abb3c8357104c82526802045b69b23d090ff47c9357a6c37013ff39a792 SHA512 935e726fad572aee18c73e2de0a64c347b71e14ccfd3dd0355bb9cd69a4592291bde451eca49845c6af536db87629e5a8f60b4e5153a488778fa3bee39faaa6c
+EBUILD drawio-desktop-bin-24.0.4.ebuild 3164 BLAKE2B 8270e3cbff84651a25879d381be785d249929a104daee46457a82a2cadb79b0245487607e558a1751af8f7a9f558cf9a382aae64a04836cc18c8313d6c4d86c8 SHA512 9a67fbeb3efe63b39fc987949ba3da4a9c214b9a413a84f836550addb67c0ca2adc7a2e140a2ae108fd53cbae19a67b983b955cfa62a685b7caace910d45a4f3
MISC metadata.xml 555 BLAKE2B 258a9fc60050bc19713173448b3d10d74bd2b8cec26a4f6f2b0dc3e7306311b702d487e60b9eff8f4bb53b34577ecefab6acd49f5e1375e9de1b2cc967977e68 SHA512 f69146abbdd622e0499a985a8ab23c4c3a614c718e85cd5d9f85d7041b165aa60dc8bc3363cdccd2d5836feda1af21824fdd75cb1c63b1ded7987302021731c9
diff --git a/app-office/drawio-desktop-bin/drawio-desktop-bin-24.0.4.ebuild b/app-office/drawio-desktop-bin/drawio-desktop-bin-24.0.4.ebuild
new file mode 100644
index 000000000000..d4950afc3ba9
--- /dev/null
+++ b/app-office/drawio-desktop-bin/drawio-desktop-bin-24.0.4.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="
+ af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he
+ hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
+ sv sw ta te th tr uk ur vi zh-CN zh-TW
+"
+
+inherit chromium-2 desktop unpacker xdg
+
+DESCRIPTION="draw.io diagramming and whiteboarding desktop app"
+HOMEPAGE="https://www.drawio.com/"
+
+SRC_URI="
+ amd64? ( https://github.com/jgraph/drawio-desktop/releases/download/v${PV}/drawio-amd64-${PV}.deb
+ -> ${PN}-amd64-${PV}.deb )
+ arm64? ( https://github.com/jgraph/drawio-desktop/releases/download/v${PV}/drawio-arm64-${PV}.deb
+ -> ${PN}-arm64-${PV}.deb )
+ https://raw.githubusercontent.com/jgraph/drawio-desktop/2c47e92b36155bf4109a4fbe83410be8acb70a3b/build/icon.svg
+ -> drawio-${PV}-icon-r1.svg
+"
+S="${WORKDIR}"
+
+KEYWORDS="-* ~amd64"
+
+# These are the licenses used by node_modules packages, drawio and drawio-desktop repositories
+LICENSE="
+ 0BSD Apache-2.0 BSD BSD-2 CC0-1.0 GPL-2 ISC PYTHON WTFPL-2 MIT ZLIB
+"
+
+SLOT="0"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ >=dev-libs/nss-3
+ media-libs/alsa-lib
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libXrandr
+ x11-libs/pango
+"
+
+QA_PREBUILT="opt/drawio/*"
+
+pkg_pretend() {
+ chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+ default
+ # cleanup languages
+ pushd "opt/drawio/locales" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ #Fix mimetype
+ sed -i \
+ -e 's*<icon name="x-office-document" />*<icon name="application-vnd.jgraph.mxfile"/>*g' \
+ -e '4 i <sub-class-of type="text/xml"/>' \
+ "usr/share/mime/packages/drawio.xml" || die "couldn't modify drawio.xml"
+}
+
+src_install() {
+ local destdir="/opt/drawio"
+
+ # Copy icons
+ local IC_SIZE
+ for IC_SIZE in 16 32 48 64 96 128 192 256 512 1024
+ do
+ newicon -s "${IC_SIZE}" "usr/share/icons/hicolor/${IC_SIZE}x${IC_SIZE}/apps/drawio.png" drawio.png
+ newicon -s "${IC_SIZE}" -c mimetypes "usr/share/icons/hicolor/${IC_SIZE}x${IC_SIZE}/apps/drawio.png" \
+ application-vnd.jgraph.mxfile.png
+ done
+ newicon -s scalable "${DISTDIR}/drawio-${PV}-icon-r1.svg" drawio.svg
+ newicon -s scalable -c mimetypes "${DISTDIR}/drawio-${PV}-icon-r1.svg" application-vnd.jgraph.mxfile.svg
+
+ # Create a desktop entry and associate it with the drawio mime type
+ domenu usr/share/applications/drawio.desktop
+
+ # MIME descriptor for .drawio and .vsdx files
+ insinto /usr/share/mime/packages
+ doins "usr/share/mime/packages/drawio.xml"
+
+ exeinto "${destdir}"
+ doexe opt/drawio/chrome-sandbox opt/drawio/chrome_crashpad_handler opt/drawio/drawio opt/drawio/*.so*
+
+ insinto "${destdir}"
+ insopts -m0644
+ doins opt/drawio/*.pak opt/drawio/*.bin opt/drawio/*.json opt/drawio/*.dat
+ insopts -m0755
+ doins -r opt/drawio/locales opt/drawio/resources
+
+ dosym "${destdir}"/drawio /usr/bin/drawio
+}