mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
net-im/guilded-bin: add guilded-bin
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Matthew <dev@mtbk.me>
This commit is contained in:
1
net-im/guilded-bin/Manifest
Normal file
1
net-im/guilded-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST Guilded-Linux.deb 66420238 BLAKE2B e3d8c28c11f5374331641c9eb10494b0c37a573010621ee657b461f5e4c67588330ea712ea2d1d672c7c4bf326738998cbb6d707d61c38e106b46819e84fbe83 SHA512 73fb7a3b365dac58cd78b96ba3587f41e9e8f1efc4b1a05269415e9ec5c22ac3bd093d12ad3a93975665fecba6e07e74fdb5bdd6b79bc601b939628942a22d3e
|
||||
69
net-im/guilded-bin/guilded-bin-1.0.996954.ebuild
Normal file
69
net-im/guilded-bin/guilded-bin-1.0.996954.ebuild
Normal file
@@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN=${PN/-bin/}
|
||||
MY_BIN="G${MY_PN/g/}"
|
||||
|
||||
inherit desktop linux-info pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="Drop Discord, get Guilded"
|
||||
HOMEPAGE="https://www.guilded.gg"
|
||||
SRC_URI="https://www.guilded.gg/downloads/${MY_BIN}-Linux.deb"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror bindist"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-accessibility/at-spi2-core
|
||||
app-crypt/libsecret
|
||||
dev-libs/libappindicator
|
||||
sys-apps/util-linux
|
||||
x11-misc/xdg-utils
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
dev-libs/nss
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${MY_BIN}/${MY_PN}
|
||||
opt/${MY_BIN}/chrome-sandbox
|
||||
opt/${MY_BIN}/crashpad_handler
|
||||
opt/${MY_BIN}/libffmpeg.so
|
||||
opt/${MY_BIN}/libvk_swiftshader.so
|
||||
opt/${MY_BIN}/libEGL.so
|
||||
opt/${MY_BIN}/libGLESv2.so
|
||||
opt/${MY_BIN}/swiftshader/libEGL.so
|
||||
opt/${MY_BIN}/swiftshader/libGLESv2.so
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~USER_NS"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/share/${MY_PN}/${MY_BIN}:/opt/${MY_BIN}/${MY_PN}:g" \
|
||||
usr/share/applications/${MY_PN}.desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newicon usr/share/icons/hicolor/512x512/apps/${MY_PN}.png ${MY_PN}.png
|
||||
domenu usr/share/applications/${MY_PN}.desktop
|
||||
|
||||
insinto /opt/${MY_BIN}
|
||||
doins -r opt/${MY_BIN}/.
|
||||
fperms +x /opt/${MY_BIN}/${MY_PN}
|
||||
dosym ../../opt/${MY_BIN}/${MY_PN} usr/bin/${MY_PN}
|
||||
|
||||
pax-mark -m "${ED}"/opt/${MY_BIN}/${MY_PN}
|
||||
}
|
||||
7
net-im/guilded-bin/metadata.xml
Normal file
7
net-im/guilded-bin/metadata.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>matthewabtin@protonmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user