From 993c16e7d4c3ea83d065b8158a935262cc3754b8 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Fri, 3 May 2024 23:20:02 +0800 Subject: [PATCH] Bump to version 1.5.2 --- metadata/md5-cache/net-im/vesktop-bin-1.5.2 | 14 +++++ net-im/vesktop-bin/Manifest | 2 +- net-im/vesktop-bin/vesktop-bin-1.5.2.ebuild | 57 +++++++++++++++++++++ 3 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 metadata/md5-cache/net-im/vesktop-bin-1.5.2 create mode 100644 net-im/vesktop-bin/vesktop-bin-1.5.2.ebuild diff --git a/metadata/md5-cache/net-im/vesktop-bin-1.5.2 b/metadata/md5-cache/net-im/vesktop-bin-1.5.2 new file mode 100644 index 0000000..dc3a784 --- /dev/null +++ b/metadata/md5-cache/net-im/vesktop-bin-1.5.2 @@ -0,0 +1,14 @@ +DEFINED_PHASES=install postinst postrm preinst unpack +DEPEND=x11-libs/gtk+:3 x11-libs/libnotify dev-libs/nss x11-libs/libXtst x11-misc/xdg-utils app-accessibility/at-spi2-core +DESCRIPTION=Vesktop is a custom Discord desktop app +EAPI=8 +HOMEPAGE=https://github.com/Vencord/Vesktop +IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info +INHERIT=xdg +KEYWORDS=~amd64 +LICENSE=GPL-3 +RDEPEND=x11-libs/gtk+:3 x11-libs/libnotify dev-libs/nss x11-libs/libXtst x11-misc/xdg-utils app-accessibility/at-spi2-core +SLOT=0 +SRC_URI=https://github.com/Vencord/Vesktop/releases/download/v1.5.2/vesktop_1.5.2_amd64.deb +_eclasses_=xdg-utils baea6080dd821f5562d715887954c9d3 xdg 4a14c5c24f121e7da66e5aab4a168c6e +_md5_=c66e8981a275e6183fcfa899cf3cb033 diff --git a/net-im/vesktop-bin/Manifest b/net-im/vesktop-bin/Manifest index e405a10..aea1d3e 100644 --- a/net-im/vesktop-bin/Manifest +++ b/net-im/vesktop-bin/Manifest @@ -1 +1 @@ -DIST vesktop_1.5.1_amd64.deb 76030374 BLAKE2B cbbf4f9f2e5871aaf47bc641106c83ec07d7ce7e9f1c86ab900604db8c4a039e43a614ed47e486956dfdf6d448a1d74d16d0e90ab809edf49a2a8a155b067439 SHA512 6de219ce512ca4206e1e4587b715de145aa89e01587d5b41cbf04430aaa33736283f442be41f57766617a1c0645afcad4ba8ba56dcb41e6b3c9e0c096b0a4964 +DIST vesktop_1.5.2_amd64.deb 74720248 BLAKE2B 5df46b06c46b9b2cd758b903dceac2ddce84c651658d118609b153c91f3b98367d56f2e74663d8e1660197b38766cb598d9dca78f1df5c496ba86e044b40c80a SHA512 c0fd81d49d32f8aeb7513005e81611554e6e66d321ed92bb96a4290e08dbb499bfca7334da95f47bf49e37d9e20f85551a46c8ef9ae8a3dd01e21f0e1b1d67a3 diff --git a/net-im/vesktop-bin/vesktop-bin-1.5.2.ebuild b/net-im/vesktop-bin/vesktop-bin-1.5.2.ebuild new file mode 100644 index 0000000..86db5e7 --- /dev/null +++ b/net-im/vesktop-bin/vesktop-bin-1.5.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# This ebuild it based off of the official Signal ebuild which also uses a deb +# package. The dependencies are loosely from one of the deb package's +# control.tar.gz extracted files. + +EAPI=8 +inherit xdg + +DESCRIPTION="Vesktop is a custom Discord desktop app" +HOMEPAGE="https://github.com/Vencord/Vesktop" +SRC_URI="https://github.com/Vencord/Vesktop/releases/download/v${PV}/vesktop_${PV}_amd64.deb" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~amd64" + +DEPEND=" + x11-libs/gtk+:3 + x11-libs/libnotify + dev-libs/nss + x11-libs/libXtst + x11-misc/xdg-utils + app-accessibility/at-spi2-core +" +RDEPEND="${DEPEND}" + +src_unpack() { + default + unpack ./control.tar.gz + unpack ./data.tar.xz + mkdir "vesktop-bin-${PV}" + mv ./opt ./usr "vesktop-bin-${PV}" +} + +src_install() { + insinto / + doins -r opt + + insinto /usr/share + doins -r usr/share/applications + #dodoc -r usr/share/doc/vesktop/changelog.gz + doins -r usr/share/icons + + fperms +x /opt/Vesktop/vesktop /opt/Vesktop/chrome-sandbox + dosym -r /opt/Vesktop/vesktop /usr/bin/vesktop-bin +} + +pkg_postinst() { + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +}