aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMarcin Woźniak <y0rune@aol.com>2022-12-06 18:35:01 +0100
committerMarcin Woźniak <y0rune@aol.com>2022-12-06 18:35:01 +0100
commit1074bf8bc129461e14c5e2e6e8e09f1b43502a8d (patch)
treea6386afea0f6a807fc3ac68a6aab9a7db8d7539c /net-im
parentapp-crypt/pgp: treeclean (diff)
downloadguru-1074bf8bc129461e14c5e2e6e8e09f1b43502a8d.tar.gz
guru-1074bf8bc129461e14c5e2e6e8e09f1b43502a8d.tar.bz2
guru-1074bf8bc129461e14c5e2e6e8e09f1b43502a8d.zip
net-im/discord-canary-bin: version bump to 0.0.144
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/discord-canary-bin/Manifest2
-rw-r--r--net-im/discord-canary-bin/discord-canary-bin-0.0.144.ebuild90
2 files changed, 91 insertions, 1 deletions
diff --git a/net-im/discord-canary-bin/Manifest b/net-im/discord-canary-bin/Manifest
index 303932c26..c66f01527 100644
--- a/net-im/discord-canary-bin/Manifest
+++ b/net-im/discord-canary-bin/Manifest
@@ -1 +1 @@
-DIST discord-canary-0.0.143.deb 81623310 BLAKE2B 3e8887ed185faebd545e661556528c1da016bae7937ed878aa3e572ea26a3e871eb327ad19fdcacc9af87a71c4cc30f69fbbb6f4a4499c2b3bca3f7869dd9c98 SHA512 f249624156d5adf4aff5a9c59ec76908251db26f9f06395cb246e9388fc694bbdc58d1ae63ec3750bbe96c0dc24fe217ce7287bd4058fc546b0d72e91d633ef1
+DIST discord-canary-0.0.144.deb 81624716 BLAKE2B f14865dc7167de5e827982610a589c3810579061cf6233572cbde76cfcda4c5bf2690d016d3f020271ef855053cfecd8f18079a406f7cc586fe872a5dfdb298b SHA512 5431aba18bdd492d84b2320e883c23540b731a65c2bab3e77038c4bba9abc1aeed4154807937997a720a5ff1fe59e49db71d20e462f7d77b2d3c2c4008f8a11a
diff --git a/net-im/discord-canary-bin/discord-canary-bin-0.0.144.ebuild b/net-im/discord-canary-bin/discord-canary-bin-0.0.144.ebuild
new file mode 100644
index 000000000..4b95f02be
--- /dev/null
+++ b/net-im/discord-canary-bin/discord-canary-bin-0.0.144.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN=${PN/-bin/}
+MY_BIN="D${MY_PN/d/}"
+MY_BIN="${MY_BIN/-canary/}Canary"
+
+inherit desktop linux-info pax-utils unpacker xdg
+
+DESCRIPTION="All-in-one voice and text chat"
+HOMEPAGE="https://discordapp.com/"
+SRC_URI="https://dl-canary.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="mirror bindist"
+
+RDEPEND="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libxkbcommon
+ x11-libs/libxcb
+ 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/pango
+"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="
+ opt/discord-canary/${MY_BIN}
+ opt/discord-canary/chrome-sandbox
+ opt/discord-canary/libffmpeg.so
+ opt/discord-canary/libvk_swiftshader.so
+ opt/discord-canary/libvulkan.so
+ opt/discord-canary/libEGL.so
+ opt/discord-canary/libGLESv2.so
+ opt/discord-canary/libVkICD_mock_icd.so
+ opt/discord-canary/swiftshader/libEGL.so
+ opt/discord-canary/swiftshader/libGLESv2.so
+ opt/discord-canary/swiftshader/libvk_swiftshader.so
+"
+
+CONFIG_CHECK="~USER_NS"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s:/usr/share/${MY_PN}/${MY_BIN}:/opt/${MY_PN}/${MY_BIN}:g" \
+ usr/share/${MY_PN}/${MY_PN}.desktop || die
+}
+
+src_install() {
+ newicon usr/share/${MY_PN}/${MY_PN//-canary}.png ${MY_PN}.png
+ domenu usr/share/${MY_PN}/${MY_PN}.desktop
+
+ insinto /opt/${MY_PN}
+ doins -r usr/share/${MY_PN}/.
+ fperms +x /opt/${MY_PN}/${MY_BIN}
+ dosym ../../opt/${MY_PN}/${MY_BIN} usr/bin/${MY_PN}
+
+ pax-mark -m "${ED}"/opt/${MY_PN}/${MY_PN}
+}