From e8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Sep 2024 12:32:28 +0100 Subject: gentoo auto-resync : 14:09:2024 - 12:32:27 --- app-office/Manifest.gz | Bin 8603 -> 8602 bytes app-office/drawio-desktop-bin/Manifest | 14 +-- .../drawio-desktop-bin-23.1.5.ebuild | 112 --------------------- .../drawio-desktop-bin-24.0.4.ebuild | 112 --------------------- .../drawio-desktop-bin-24.1.0.ebuild | 112 --------------------- .../drawio-desktop-bin-24.7.8.ebuild | 111 ++++++++++++++++++++ 6 files changed, 114 insertions(+), 347 deletions(-) delete mode 100644 app-office/drawio-desktop-bin/drawio-desktop-bin-23.1.5.ebuild delete mode 100644 app-office/drawio-desktop-bin/drawio-desktop-bin-24.0.4.ebuild delete mode 100644 app-office/drawio-desktop-bin/drawio-desktop-bin-24.1.0.ebuild create mode 100644 app-office/drawio-desktop-bin/drawio-desktop-bin-24.7.8.ebuild (limited to 'app-office') diff --git a/app-office/Manifest.gz b/app-office/Manifest.gz index 9250bab1084c..e829fba6e98b 100644 Binary files a/app-office/Manifest.gz and b/app-office/Manifest.gz differ diff --git a/app-office/drawio-desktop-bin/Manifest b/app-office/drawio-desktop-bin/Manifest index 96ff9cc9bc32..8782a328ca67 100644 --- a/app-office/drawio-desktop-bin/Manifest +++ b/app-office/drawio-desktop-bin/Manifest @@ -1,16 +1,8 @@ -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-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-amd64-24.1.0.deb 96075818 BLAKE2B d71fd7dba2dab1d94ff7fdada4e5ed72ee61a636e50ef1d62615b21adb3203b350de237d60f9c543a0fc64b19722cf063e0f44b6d5b35c3a5a2ec61efb31a17c SHA512 3e2873ef240ca18267d5c4746e10b89e70605e2070f2280a9472b1b4976575b1d8c5760bc752503ac9e278d3d49c4f6a6ec70332c3fd5b947aa16f97633e7287 DIST drawio-desktop-bin-amd64-24.4.0.deb 96673050 BLAKE2B ad5f55a48bc576683a1c033ba2aebb4aab55f21da86b36cd5ce3557e6c008f6c2cf59363d6ecbf4305e76dcecdb54cd03f7e81bce256117923d17a4c8edf39a2 SHA512 fd5543f1cdd6055442c922274588f507aa31e1b11f62ddfc01c592eca7cc3827247313b1f7f05f205d6465948b271ee191a54245cc2cc419430d0e152a3b6f87 -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 -DIST drawio-desktop-bin-arm64-24.1.0.deb 91068516 BLAKE2B d2781782b63105d58898e91606331dced0441df60cb69bf8b822f00fef39e23ef25dc1bf68f5f44d785d4602f5c055e6a67589432a2bd0b45bfb4297fdb0ed58 SHA512 c76d2ddb5d6e67c44987f9050b20f598e6082a9499af5dcda66a9178f77ab37a5407374d56a8ab5cb05377c95c3a5a47dd2a9e42e399b8b29cc97e597ab6b3d2 +DIST drawio-desktop-bin-amd64-24.7.8.deb 99100416 BLAKE2B cc4b417bbbf19b767fa1b82fcaf6417c6238b39876c4692d218f161f0a2636d5c32af7c30c7afdd0e64e8b577a542014b855a5ea347835c295f09bdaa9b87203 SHA512 861f402a016cadd7e1ee6d9eb8f72cbd5294581725c3d21c8238df860b9252b483496094031c4f0e34070a6173755b966795256daddcc5ba36e9cb2bf825fdd1 DIST drawio-desktop-bin-arm64-24.4.0.deb 91198066 BLAKE2B 615854d6a68e41c0b082a1c468ec08051510dc0c4ef90b5e831320e3cf3a66666ed02d523a729ac3c77d54be60b341c6758725292e1d540f8c374db8b0bca00c SHA512 2dd4fd3dcf3ecd97d6e38809725ae66cc8a8746d82b4499032e0c109fbd003444b0e2e5a75c4428c46d0b7c57438fc509be3161bb274cbaf3538419cf1d4a260 +DIST drawio-desktop-bin-arm64-24.7.8.deb 94418434 BLAKE2B 81caf77cfc65f484adc8a399b297a5efea9ecef046424154ecac13d9a59b6906536265975286c99544861798de38bef7c092b2962187b7bd1a75cc76cfa1cef1 SHA512 a8242a1d3bf4ce89973ffdb41bdcb4118af0dbb6bb8610a672778663d97994038e840b6eb26a71c089414635a79c55be31c60903dc6eb91e83e5583782200aa3 DIST drawio-icon.svg 1194 BLAKE2B 624a024e95ff1a68ac298b64d0e633f46411f7ec142d8b2a7d639c7e6a66a1f7c695f67b28a64e323ec1dea36ec4d657e2ee9119cd58f1c84f0d9cb9b5d9755d SHA512 ce010d61c5de3322d4e3c66c87ae199b7d15e68ee7253078f001eccb3b725c0290426978cfd81a4d06276b8b50ea8bd650213a50eb72432451afe536790eb39e -EBUILD drawio-desktop-bin-23.1.5.ebuild 3163 BLAKE2B e1db8729fa8a6801cf9598035f0b493e786d3e7854bafc0aade2e26cea6e1f5f5cd44abb3c8357104c82526802045b69b23d090ff47c9357a6c37013ff39a792 SHA512 935e726fad572aee18c73e2de0a64c347b71e14ccfd3dd0355bb9cd69a4592291bde451eca49845c6af536db87629e5a8f60b4e5153a488778fa3bee39faaa6c -EBUILD drawio-desktop-bin-24.0.4.ebuild 3163 BLAKE2B 9ca85c75136524c6b7a01e380ad2c5a6e972766e0329fb588ca70e4bd424a33c68dcc0c3600bf2033d7282adbbc47a403cc806c5bc1fbb985d4a8e14ddc8bb73 SHA512 4e3d55bd4117fc314eeb8b76092b188667c84b1bf270e7583fa96afe06bdddc93d1932c20b7b79275adc7bb440c276bf142da1a029e35bd112eb40c8cd884fd8 -EBUILD drawio-desktop-bin-24.1.0.ebuild 3137 BLAKE2B fa51b4b6e078de26357435007e3ffe98c90d80b86304aa5656f35fcc871eac37ac6167d68b256ab312cb9fa347ac909c44ea2525617337a2613dbafb13f11eac SHA512 4bccb562f83caef35c579caa073feaa6c3d545d4bb06348b0dd4e27898f66a723b33e34e95a9f3b21fc5adf386cf1bf5af1ddeedd8a8d82a686ecdedf076cbe3 EBUILD drawio-desktop-bin-24.4.0.ebuild 3135 BLAKE2B fa45dcb5c70de51ad391a7bd5ab210723df3030aa125bfb379f82111548aac6bbf6d9996fa2f13e148e63227abbbf498dca7c09c9aafe3b6aac9b9de3cf2deb1 SHA512 b2e406fd3a9a793b67f9c04c6f92e9c70777e1026b9158e39af3a8b2d2b349923cdfa9aa687c81d4f80ab0acbdff8580dd2d43e9389570f10fd4c6245528a598 +EBUILD drawio-desktop-bin-24.7.8.ebuild 3136 BLAKE2B 94bf89b9a8ca1298aaddacfab60fb46fdc3a03d282c78a34837b33d0da5df4d9e7b2eaeb546b8844edbb743a0d42c251fdf80f7bd217303b4b203eee347d883a SHA512 c0ce79a559cf859a06d6295e6dba0cebf10a8f6914cb3342d1be74760f581fef77a688ff60e34bfc8352d875b411311b2edee233e7c3939b3089e234c1e63832 MISC metadata.xml 555 BLAKE2B 258a9fc60050bc19713173448b3d10d74bd2b8cec26a4f6f2b0dc3e7306311b702d487e60b9eff8f4bb53b34577ecefab6acd49f5e1375e9de1b2cc967977e68 SHA512 f69146abbdd622e0499a985a8ab23c4c3a614c718e85cd5d9f85d7041b165aa60dc8bc3363cdccd2d5836feda1af21824fdd75cb1c63b1ded7987302021731c9 diff --git a/app-office/drawio-desktop-bin/drawio-desktop-bin-23.1.5.ebuild b/app-office/drawio-desktop-bin/drawio-desktop-bin-23.1.5.ebuild deleted file mode 100644 index c58511abd23b..000000000000 --- a/app-office/drawio-desktop-bin/drawio-desktop-bin-23.1.5.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# 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/bdf5a4de3331e8dabab2be4c8f7b1a5427118f3f/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***g' \ - -e '4 i ' \ - "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 -} 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 deleted file mode 100644 index 5d367b630901..000000000000 --- a/app-office/drawio-desktop-bin/drawio-desktop-bin-24.0.4.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# 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***g' \ - -e '4 i ' \ - "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 -} diff --git a/app-office/drawio-desktop-bin/drawio-desktop-bin-24.1.0.ebuild b/app-office/drawio-desktop-bin/drawio-desktop-bin-24.1.0.ebuild deleted file mode 100644 index 6c502971eb36..000000000000 --- a/app-office/drawio-desktop-bin/drawio-desktop-bin-24.1.0.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# 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/3fee9d732fc8b78b2886e042262df8bda8ef6ba5/build/icon.svg - -> drawio-icon.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***g' \ - -e '4 i ' \ - "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-icon.svg" drawio.svg - newicon -s scalable -c mimetypes "${DISTDIR}/drawio-icon.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 -} diff --git a/app-office/drawio-desktop-bin/drawio-desktop-bin-24.7.8.ebuild b/app-office/drawio-desktop-bin/drawio-desktop-bin-24.7.8.ebuild new file mode 100644 index 000000000000..c5aaef290c47 --- /dev/null +++ b/app-office/drawio-desktop-bin/drawio-desktop-bin-24.7.8.ebuild @@ -0,0 +1,111 @@ +# 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/3fee9d732fc8b78b2886e042262df8bda8ef6ba5/build/icon.svg + -> drawio-icon.svg +" +S="${WORKDIR}" + +# 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" + +KEYWORDS="-* ~amd64" + +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***g' \ + -e '4 i ' \ + "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-icon.svg" drawio.svg + newicon -s scalable -c mimetypes "${DISTDIR}/drawio-icon.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 +} -- cgit v1.2.3