From d1b149cd95bc2f81cef152a46aa2308352d71372 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 31 Aug 2018 15:07:40 +0800 Subject: [PATCH] app-diagram/drawio-desktop-bin: initial import of version 8.8.0 --- .../drawio-desktop-bin-8.8.0.exheres-0 | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 packages/app-diagram/drawio-desktop-bin/drawio-desktop-bin-8.8.0.exheres-0 diff --git a/packages/app-diagram/drawio-desktop-bin/drawio-desktop-bin-8.8.0.exheres-0 b/packages/app-diagram/drawio-desktop-bin/drawio-desktop-bin-8.8.0.exheres-0 new file mode 100644 index 0000000..cb103b7 --- /dev/null +++ b/packages/app-diagram/drawio-desktop-bin/drawio-desktop-bin-8.8.0.exheres-0 @@ -0,0 +1,76 @@ +# Copyright 2018 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require gtk-icon-cache + +SUMMARY="Diagram drawing application built on web technology" +HOMEPAGE="https://www.draw.io/" +DOWNLOADS=" + platform:amd64? ( https://github.com/jgraph/drawio-desktop/releases/download/v${PV}/draw.io-amd64-${PV}.deb ) +" + +LICENCES="Apache-2.0" +SLOT="0" +PLATFORMS="-* ~amd64" +MYOPTIONS=" + platform: amd64 +" + +DEPENDENCIES=" + run: + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-platform/GConf:2 + media-libs/fontconfig + net-print/cups + sys-apps/dbus + sys-sound/alsa-lib + x11-libs/cairo + x11-libs/gdk-pixbuf:2.0 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb + x11-libs/pango +" + +BUGS_TO="hasufell@posteo.de" + +REMOTE_IDS="github:jgraph/drawio-desktop" + +RESTRICT="strip" + +WORK=${WORKBASE} + +pkg_setup() { + exdirectory --allow /opt +} + +src_unpack() { + default + unpack ./data.tar.xz +} + +src_install() { + insinto / + + doins -r usr + edo mv "${IMAGE}"/usr/share/doc/draw.io/ "${IMAGE}"/usr/share/doc/${PNV}/ + + doins -r opt + edo chmod +x "${IMAGE}"/opt/draw.io/{draw.io,libffmpeg.so,libnode.so} + dodir /usr/$(exhost --target)/bin + dosym ../../../opt/draw.io/draw.io /usr/$(exhost --target)/bin/draw.io +}