summaryrefslogtreecommitdiff
path: root/net-im/whatsapp-desktop-bin
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/whatsapp-desktop-bin')
-rw-r--r--net-im/whatsapp-desktop-bin/Manifest4
-rw-r--r--net-im/whatsapp-desktop-bin/metadata.xml12
-rw-r--r--net-im/whatsapp-desktop-bin/whatsapp-desktop-bin-0.5.1.ebuild54
3 files changed, 70 insertions, 0 deletions
diff --git a/net-im/whatsapp-desktop-bin/Manifest b/net-im/whatsapp-desktop-bin/Manifest
new file mode 100644
index 000000000000..53ae53892a2e
--- /dev/null
+++ b/net-im/whatsapp-desktop-bin/Manifest
@@ -0,0 +1,4 @@
+DIST whatsapp-desktop-bin-amd64-0.5.1.deb 39705544 BLAKE2B abdf7091f8b10e614e78e457e501bf878f7462f54257e5b96ca2118ddd872bd71fc4c000c24f881741a252932d7bd0bb3d8654cdaeddf2e42ee2d8de5788f565 SHA512 96411b1bcf064a9b5836b64687389898bebf3b8636a95adb8c55b74b4405b9b5c45d099fb594947130b6618520f1f0d1bd84618537fa8a19c001db4ddc630f7c
+DIST whatsapp-desktop-bin-x86-0.5.1.deb 40671520 BLAKE2B 06f6b2c3168c48de9caa2b834ab41ee47a43a534751eac6ddffc29acc981281e3d0d54b96bbd44dfc870257c9561f88ba72fd26a85cd13168fd1eb4a3ddb56dd SHA512 b87fa9b901fec104284e55c2747ad742da9d484fb13b9e8259ae99f60b5d293ae93831ca7daefa38cab04ea50c764de089b0422c797e693ebebaa136932fd6e0
+EBUILD whatsapp-desktop-bin-0.5.1.ebuild 1206 BLAKE2B 73b4c35f33d4cc0d0707c9be47a3075b1fe3d72187d9a840f9424d28be55be1d1477798b3c77303c4ac6710ef291da58fc2eb146daaca8c42f2881b5ee93ecef SHA512 c19acfbad1e0e25fe809e42140a19340096a5447ae6d818092b616cfff1c731c1605222fcb208522b469c8fd2d1cc84aca155a1f973cda67dd45f44d3a12cbf5
+MISC metadata.xml 419 BLAKE2B 65b18dcf9abffca222ba06811d148617c149203a11ae41808836b9743774d545ed0d9a7160836cf15ddd8584b2e8127b3ddd35780696d6c8bbd3642f21e8b020 SHA512 c8751a70203e9fcfb7eac06c57ff15fabba16b86ff697f13e82f5537f17cb824eee81f540283feab344b50af4fddcf6c88e5b6cf6be875e8863013e96117f9a1
diff --git a/net-im/whatsapp-desktop-bin/metadata.xml b/net-im/whatsapp-desktop-bin/metadata.xml
new file mode 100644
index 000000000000..61d3b6a82fce
--- /dev/null
+++ b/net-im/whatsapp-desktop-bin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">oOthkOo/whatsapp-desktop</remote-id>
+ <bugs-to>https://github.com/oOthkOo/whatsapp-desktop/issues</bugs-to>
+ </upstream>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-im/whatsapp-desktop-bin/whatsapp-desktop-bin-0.5.1.ebuild b/net-im/whatsapp-desktop-bin/whatsapp-desktop-bin-0.5.1.ebuild
new file mode 100644
index 000000000000..1358c9b70bc6
--- /dev/null
+++ b/net-im/whatsapp-desktop-bin/whatsapp-desktop-bin-0.5.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit unpacker xdg
+
+DESCRIPTION="Unofficial electron-based wrapper around WhatsApp Web"
+HOMEPAGE="https://github.com/oOthkOo/whatsapp-desktop"
+SRC_URI="
+ amd64? ( https://github.com/oOthkOo/whatsapp-desktop/releases/download/v${PV}/whatsapp-desktop-x64.deb -> ${PN}-amd64-${PV}.deb )
+ x86? ( https://github.com/oOthkOo/whatsapp-desktop/releases/download/v${PV}/whatsapp-desktop-x32.deb -> ${PN}-x86-${PV}.deb )
+"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+
+RDEPEND="
+ app-accessibility/at-spi2-atk:2
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/libappindicator
+ dev-libs/nspr
+ dev-libs/nss
+ media-fonts/noto-emoji
+ media-libs/alsa-lib
+ net-print/cups
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libnotify
+ x11-libs/libxcb
+ x11-libs/libX11
+ 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/libXScrnSaver
+ x11-libs/pango
+"
+
+QA_PREBUILT="/opt/whatsapp-desktop/*"
+
+S="${WORKDIR}"
+
+src_install() {
+ cp -a "${S}"/* "${ED}" || die
+}