commit: 950ab3a904e04d27a502b2078fe3e4ead1162596 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Thu Jan 9 10:35:11 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Jan 9 10:35:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=950ab3a9
net-im/vesktop-bin: add 1.5.4 Closes: https://github.com/gentoo/guru/pull/274 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> net-im/vesktop-bin/Manifest | 1 + net-im/vesktop-bin/vesktop-bin-1.5.4.ebuild | 88 +++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/net-im/vesktop-bin/Manifest b/net-im/vesktop-bin/Manifest index 883eba0f0..4a201ecdd 100644 --- a/net-im/vesktop-bin/Manifest +++ b/net-im/vesktop-bin/Manifest @@ -1,2 +1,3 @@ DIST vesktop-1.5.2.tar.gz 102634262 BLAKE2B d81967889f80ad8e92c8b8a3fba9be64635653b387a9e53ab29a50fde8672879be9011923aaa2c81bf4e23789ca54691bb97412f6e370cd8eca5052a537328f8 SHA512 5cab70ece26fefc5a573279b12101f3327f377661aa9e4aec153bf2bbf2d2f1e92753c0ea4ec3b424c6c5af60ea47866abe612b407220881c34b5ac1321b7a76 DIST vesktop-1.5.3.tar.gz 103553318 BLAKE2B d30ebf52212eab1c61a4a4b69537d5334226cba718e1f2a6739a81cd1490f2f27e5e2adaa15dd5e75b58c5d9577111ec22492322c8ff5b11f1bda3495f590601 SHA512 bdef0a7951f3ae6da66130428b53f6374cdec2312b978a73f67bfcb5670509884b4e38fd7e2cd9e21a1f3c9cf84f047e5911d8105d216e7c6be85508249f28ac +DIST vesktop-1.5.4.tar.gz 104471834 BLAKE2B d9e501608894c40e0feaf13d1e84bbca275f7cf90c4277c1867541b928ef921a0e8e7103957e5f808fcdc7b701c1f1ad3b3ab2aea8af7fbdb3181c3b84497aa9 SHA512 e9e708c60d329827fe4f7584f301291ed97f91d96e0dacb59d066eec00b2cee32472e83afe17e4894a605e6c918db32212ac0c0739d4c439311d80783eb92586 diff --git a/net-im/vesktop-bin/vesktop-bin-1.5.4.ebuild b/net-im/vesktop-bin/vesktop-bin-1.5.4.ebuild new file mode 100644 index 000000000..6b9ddff9f --- /dev/null +++ b/net-im/vesktop-bin/vesktop-bin-1.5.4.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="vesktop" + +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 linux-info unpacker xdg + +DESCRIPTION="All-in-one voice and text chat for gamers with Vencord Preinstalled" +HOMEPAGE="https://github.com/Vencord/Vesktop/" +SRC_URI="https://github.com/Vencord/Vesktop/releases/download/v${PV}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="libnotify" +RESTRICT="bindist mirror strip test" + +DEPEND=" + libnotify? ( x11-libs/libnotify ) + app-accessibility/at-spi2-core + dev-libs/expat + dev-libs/glib + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + x11-misc/xdg-utils +" + +DESTDIR="/opt/${PN}" + +QA_PREBUILT="*" + +CONFIG_CHECK="~USER_NS" + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_install() { + + doicon -s 256 "${FILESDIR}/vesktop-bin.png" + domenu "${FILESDIR}/vesktop-bin.desktop" + + exeinto "${DESTDIR}" + + doexe vesktop chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1 + + insinto "${DESTDIR}" + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin + insopts -m0755 + doins -r locales resources + + fowners root "${DESTDIR}/chrome-sandbox" + fperms 4711 "${DESTDIR}/chrome-sandbox" + + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + dosym "${DESTDIR}/vesktop" "/usr/bin/vesktop-bin" + +}
