discord update

This commit is contained in:
Torsten Kurbad 2023-10-06 09:46:50 +02:00
parent ef7fdd78e6
commit 800fc79e87
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,3 @@
DIST discord-0.0.27.tar.gz 92317071 BLAKE2B 5328abd5f6aba87c73ee26cc6387dd9af7745c003e67b70e168153a959f5f582d118d38ce0b45ff4a9165ff1423708b05d468824c880e4685755df41ceadd5e1 SHA512 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f
EBUILD discord-0.0.27.ebuild 3250 BLAKE2B 37ff53dcd821c1f9cb669bec81388632891027e0d0d60c74bc67c47d4eb28e660672ae6263bf1b64ed2b4bd88776eee0a37d02e12633ad55d09563b82c92006b SHA512 586d23a2b9d1decbf644d89d94829c935ed6e7de90fd0be31182f1d2c04e2dd9f50b0ce7c5164fa82ec83df56e84ea6b08a7b8e79d43b9bd0d0316ee02251331
DIST discord-0.0.31.tar.gz 92637981 BLAKE2B c1cb061dc45d34a05e443c1f6c4b352806bfebf0c5f0aa3a61d4abe57ad24bb54edc6fcd895ef49b15f376041814665fb7b2989cabcb64b950ecffba328f31bd SHA512 596f0e2271e61798594d97a85728eea2bfa851db7f1e8b7fa65e1631dfeb347fa8d6087556854c0e775b88678a03b8ece97d0c1293b156e7ea908f6570645248
EBUILD discord-0.0.31.ebuild 3413 BLAKE2B 80cd994612cfb1da73c9f6eefb9ba254eca549da180e704e7477946b0aa05b7f7daa1aff60501712c0c830ca5fa335e0f1d567d1a16b0bef4ca930dc7f9ad3d4 SHA512 ae44d8dd768191a3097b0e5882b85b6a4e72868cbb648bfdd911d5c5e1b56974e752dcc4a322948e55b246c3b94a48b26e185535b203b8f758accd11fb4f56c5
MISC metadata.xml 506 BLAKE2B ff098a1c9341a94ebb21da57c3028d3d96e884e19e3adf2df8d50b694a1ca3eee61f5dfd90eaa557a0a0eee769fd11dfa7bbf63308386a11faa56d13687e33c3 SHA512 56baf0a5323057b4af83a7b7d760b2b1e071e15ca4eef6546eab4104fbdd026906f68d8023a3155f492d8d93cd7022c5d0017372cbaf2894b94bd253b2ce3665

View File

@ -8,9 +8,9 @@ MY_PV="${PV/-r*/}"
CHROMIUM_VERSION="102"
CHROMIUM_LANGS="
am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
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 vi zh-CN zh-TW
sw ta te th tr uk ur vi zh-CN zh-TW
"
inherit chromium-2 desktop linux-info optfeature unpacker xdg
@ -23,7 +23,7 @@ LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="bindist mirror strip test"
IUSE="+seccomp"
IUSE="appindicator +seccomp"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
@ -54,6 +54,7 @@ RDEPEND="
x11-libs/libxkbcommon
x11-libs/libxshmfence
x11-libs/pango
appindicator? ( dev-libs/libayatana-appindicator )
"
DESTDIR="/opt/${MY_PN}"
@ -118,6 +119,11 @@ src_install() {
[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
dosym "${DESTDIR}/${MY_PN^}" "/usr/bin/${MY_PN}"
# https://bugs.gentoo.org/898912
if use appindicator; then
dosym ../../usr/lib64/libayatana-appindicator3.so /opt/discord/libappindicator3.so
fi
}
pkg_postinst() {
@ -125,5 +131,4 @@ pkg_postinst() {
optfeature "sound support" \
media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire
optfeature "system tray support" dev-libs/libappindicator
}