-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: kernaltrap <[email protected]>
- Loading branch information
1 parent
bf85ef6
commit ddad3b5
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST vesktop-1.5.2.tar.gz 102634262 BLAKE2B d81967889f80ad8e92c8b8a3fba9be64635653b387a9e53ab29a50fde8672879be9011923aaa2c81bf4e23789ca54691bb97412f6e370cd8eca5052a537328f8 SHA512 5cab70ece26fefc5a573279b12101f3327f377661aa9e4aec153bf2bbf2d2f1e92753c0ea4ec3b424c6c5af60ea47866abe612b407220881c34b5ac1321b7a76 | ||
DIST vesktop-1.5.3.tar.gz 103553318 BLAKE2B d30ebf52212eab1c61a4a4b69537d5334226cba718e1f2a6739a81cd1490f2f27e5e2adaa15dd5e75b58c5d9577111ec22492322c8ff5b11f1bda3495f590601 SHA512 bdef0a7951f3ae6da66130428b53f6374cdec2312b978a73f67bfcb5670509884b4e38fd7e2cd9e21a1f3c9cf84f047e5911d8105d216e7c6be85508249f28ac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# 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-crypt/libsecret | ||
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" | ||
|
||
} |