aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokry <martin-kokos@users.noreply.github.com>2023-09-12 18:14:17 +0200
committerDavid Roman <davidroman96@gmail.com>2023-09-21 12:03:00 +0200
commit4b401adbf593506ab32c80ead96ca0b4e6f43ed2 (patch)
tree7eed805a414a875fa7e93c6ca31d9e737b12cd37 /dev-util
parentapp-misc/lf: use shell-completion (diff)
downloadguru-4b401adbf593506ab32c80ead96ca0b4e6f43ed2.tar.gz
guru-4b401adbf593506ab32c80ead96ca0b4e6f43ed2.tar.bz2
guru-4b401adbf593506ab32c80ead96ca0b4e6f43ed2.zip
dev-util/insomnia: Add 2023.5.8
Signed-off-by: Martin Mokry <martin-kokos@protonmail.com> Signed-off-by: David Roman <davidroman96@gmail.com> Closes: https://github.com/gentoo/guru/pull/108
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/insomnia-bin/Manifest1
-rw-r--r--dev-util/insomnia-bin/insomnia-bin-2023.5.8.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/insomnia-bin/Manifest b/dev-util/insomnia-bin/Manifest
index 83b5bd72a..15764736c 100644
--- a/dev-util/insomnia-bin/Manifest
+++ b/dev-util/insomnia-bin/Manifest
@@ -1,2 +1,3 @@
DIST Insomnia.Core-2020.3.3.deb 52765644 BLAKE2B c80231e0148361d22294fe60c1d2fa806fc3a090642c0379f29b25f4d7dd26e5c3f8c6d93c16859c98e1aef45a7b3353b944fc4fc9dff1d9312b1173393d639a SHA512 d86a7b42863b9ffa805aac755aa4d9ae0d1073b9c36afa5b9902af5006b8fb135b878471d8259e7663f471b1a9aef8b12dcc864aa00073ab4f7d149e0888d787
DIST Insomnia.Core-2020.5.2.deb 68621834 BLAKE2B fd74af79132c85db1815e1fc2176c8f45d9349fbbbb2cf99304b2884212df8b1db6c5d0ce57d9e33b6efd01d1dd0e9445c8fee035c90c8a980170a8fdacb0772 SHA512 0b770c5ebc9ee3d8153932c1729dbd51aa781683ffc54f4b73a74dde7b8f3f808f68001f2c3d221ab26eccba6582588179ad0ab512a06d33b0f0301261d8cc56
+DIST Insomnia.Core-2023.5.8.deb 89120858 BLAKE2B 94dd3e0546faf69f13b57b71cf6de737f74b33e588453c4173b3fbb6c52a04f35a482b24c9c96b91e5936183b623ff6300902041277759c2e6d0b2f3875c8a02 SHA512 5ea73e2aa5a69782a54dae02454d72a4b37a313617ce276dc9f95128341e6808ce70f02df305ff7e350896b00efbc3ec5c78816027c321bf718b41f8d36e6a1a
diff --git a/dev-util/insomnia-bin/insomnia-bin-2023.5.8.ebuild b/dev-util/insomnia-bin/insomnia-bin-2023.5.8.ebuild
new file mode 100644
index 000000000..f9e955389
--- /dev/null
+++ b/dev-util/insomnia-bin/insomnia-bin-2023.5.8.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+
+inherit desktop unpacker xdg
+
+DESCRIPTION="HTTP and GraphQL client for developers"
+HOMEPAGE="https://insomnia.rest"
+SRC_URI="https://github.com/Kong/${MY_PN}/releases/download/core@${PV}/Insomnia.Core-${PV}.deb"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="fontconfig cups alsa dbus accessibility"
+
+RDEPEND="
+ dev-libs/glib
+ dev-libs/nss
+ dev-libs/nspr
+ app-accessibility/at-spi2-core
+ x11-libs/libdrm
+ x11-libs/gtk+
+ x11-libs/pango
+ x11-libs/cairo
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ media-libs/mesa
+ dev-libs/expat
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ sys-devel/gcc
+ alsa? ( media-libs/alsa-lib )
+ cups? ( net-print/cups )
+ dbus? ( sys-apps/dbus )
+ fontconfig? ( media-libs/fontconfig:1.0 )
+ accessibility? ( app-accessibility/at-spi2-core )
+"
+
+S="$WORKDIR"
+
+src_install() {
+ for size in 16x16 32x32 48x48 128x128 256x256 512x512 ; do
+ doicon -s "${size}" usr/share/icons/hicolor/"${size}"/apps/insomnia.png
+ done
+ dosym ../icons/hicolor/512x512/apps/insomnia.png \
+ /usr/share/pixmaps/insomnia.png
+
+ domenu usr/share/applications/insomnia.desktop
+
+ insinto /opt/Insomnia
+ doins -r opt/Insomnia/.
+ fperms +x /opt/Insomnia/insomnia
+ fperms +x /opt/Insomnia/chrome_crashpad_handler
+ dosym ../Insomnia/insomnia opt/bin/insomnia
+}