repo/gentoo:master commit in: net-im/discord/
"Nick Sarnie" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786105482.850290293e77f0c5eacd1257de199666486ac8e9.sarnex@gentoo> |
commit: 850290293e77f0c5eacd1257de199666486ac8e9
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 7 12:22:37 2026 +0000
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Fri Aug 7 12:24:42 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85029029
net-im/discord: drop 1.0.147
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
net-im/discord/Manifest | 10 --
net-im/discord/discord-1.0.147.ebuild | 223 ----------------------------------
2 files changed, 233 deletions(-)
diff --git a/net-im/discord/Manifest b/net-im/discord/Manifest
index 56c7f841f56f..124fa5738865 100644
--- a/net-im/discord/Manifest
+++ b/net-im/discord/Manifest
@@ -1,13 +1,3 @@
-DIST discord-1.0.147-discord_desktop_core.distro 525093 BLAKE2B e60942556c96bb40802a5955a4ed4e7d1510606839a9e870a6f7117569a2f4f93432515742dd0751312f644e9d9140e064dec61653ddd4ac849b71dbe26128a1 SHA512 0a0c02df8fd04e6671f391b052c7227b29aa805afd86688d4c435b4b7b6f6d3b58669c205f37f84a8057074e976fea449d8fb17f88011e370a5eb7058215a892
-DIST discord-1.0.147-discord_erlpack.distro 2065488 BLAKE2B e15d3dd989d4d0c45e2d89f1fca8eb3a1941270967f949071fb39b10288478ce0778b2d2f55c409969ae7035b4674a7d0f877cfdd7518fccd71a079d2ca76b76 SHA512 798c6cb73018b4cec6ff1c94259be3d56b3051f3daaea6cd5fee26d2fb55dee109cafd978b33d2b54f260d6db0ba0876501d83e342e135b5ebfb05f7d744a696
-DIST discord-1.0.147-discord_game_utils.distro 3172405 BLAKE2B 1556e8434e0af0a68a997ecf2cb343318fb650111b338d5b7cc3e453b3fd6577d8c5217a933729edb3ac5915b11d27f5a994ccfd8e7af3d241dbe5a4d3417bac SHA512 c027fe9cf7e60c0272a719ae56eb14bf2ceafb6d012fecf521750a5d8608668ae422b085e621458a0c7dde7cf75bf7a705052be4cee39a52cb21b8081d87ea6a
-DIST discord-1.0.147-discord_krisp.distro 36158393 BLAKE2B c3edae9d983aac07c2398e1b233cc517614c78cdd974a97b782bd6225433e2857ec48e07b3010afae3cc52da97a5ab35560b9aff37e9956ffe16cc6b39f121ac SHA512 0984ec74faf3596b3744b5cf8d0b0ce09feef32ee557ad023c688dbd9234f7e2848e0c503a2b879ab02bf3e0609e5ec96fd53e639854af6fc1744c9f12f1b65d
-DIST discord-1.0.147-discord_rpc.distro 30379 BLAKE2B 576525cd3267eacaf36bf9089bcf6cd7d8e4762fcb4ffa63ae1cdb0d59d90701ad442f9383e6d230d3041266df35b336044baf03a82fb226bd335cc5e154ff1d SHA512 b080157280c02b2f26c44d5dfbfd0a3c46e85b200181281f3a5e50b8f290167f88d517ef05ec1bb71e8053593aa90b8e427136a1cbf98e7d14068a163f8424a3
-DIST discord-1.0.147-discord_spellcheck.distro 9902531 BLAKE2B 82b92f668a99545984e0b8277b8f4d9489e06a9d38aaee0936d32db8f998804090b94e6dd55fe70141e3b86a5ca05263f19bf1d7e99fb3edc1dcdb539b6b2b1b SHA512 b59404a48493afeb5a8733b3b3c62d0650667d3dcd58e1afc181cdde524e339da12f0683dce1af90c250226828bf10a92e6b2d869a533d452caf378fa0b11985
-DIST discord-1.0.147-discord_utils.distro 4597800 BLAKE2B c23c6bf4be84ba72df81f8e783457d677751844d1cb8f07efa39adbfd0abf282e35bc3937978973972e26787682005d5de9d4a99ad655f1c6da272a585500540 SHA512 1adba698aff755767abbdd5249416fc7721389e658732105349194b1585a06d7de5b82268818db4852b3e914b1458b677968c7a5321b004a6c019f64182bc09b
-DIST discord-1.0.147-discord_voice.distro 32863361 BLAKE2B 0c9600f405401b0c7c1e718ce909fa1546456f7e1ec7032fdaad9c64b2126c93bfe09624120e959e0022c580253e77a6feb177f2a4f9e89026328dfd0905fbca SHA512 e561cf39de736024e9ada0f9a358b17b351e9a86fec023d08b7cef0b105739d33e040892127c25009f7ad27b14aaa4fcdc3b5866ef0b3ccd71d2b31c58dc63d4
-DIST discord-1.0.147-discord_zstd.distro 328096 BLAKE2B fee95e0e1b9041844024460ae6dba19f89f823bfc8edb42fe492c0cc9b377d5fd1bcde810a71f7170810dd63e5e33985eeb5b81542adb174e644c3c55980854a SHA512 ff520ab95719fafb3c38d7592152c2914ae8b20245ad3bf58a7fe4b2afa06c824f0948954581e02afd9569db6669a0d93f430a6032ca62d8e5e7dbb46cb3099c
-DIST discord-1.0.147.distro 91387601 BLAKE2B 3648418ca590cf5e3fe51ef06960e90eb69ac4c9530b8120a56111ec60629d1b619eddf705872b258ff65bd9ffb2c8a4c0511fc19bd635b01f927e8ffc2cb5f2 SHA512 434f927e1f259adebbf7988a4c42a7eb6b5a4a271f0fa30ee13eaf234f83ed655a92edf182a17d8684f28e3d57beafd9b4bdf1bcaa755811f304e4689e582f6a
DIST discord-1.0.150-discord_desktop_core.distro 525281 BLAKE2B 82ea2921c9a64fd0aa7d80eca4208372598350a67ca0b38869c532d100d7cd5430a1c226c44c380f860ba3c50d631e01c71b1aaaa9527602ae4b6396653d260b SHA512 a96fbea3946631a63210812bb67e9921fdfc2c415e120e1919c1ec4880187b6cd9433668c5ca5fdbbfcc1c23c6a759995d734f0e9096baed4dea5da8eac9a536
DIST discord-1.0.150-discord_erlpack.distro 2063817 BLAKE2B 75c0202bff58b42ed1f2a73d3b46433959f5251165362cf4819efe420ee098457a961fbc7d929842ceb42e4fb1e2b72ee1dbe6791bb8969c8d84c12bb09a58bf SHA512 621291c04f248d69e9ae0022d84e6903b375e75598ea3198f787c94fd4efe1b944df42a9b8a6974ef5cdc18de3f7db03da26c73a7bf176f2d3524d6a298e3ea9
DIST discord-1.0.150-discord_game_utils.distro 3171493 BLAKE2B 8d04330ec0582c1e83524a47b55cccdc1a8de42d1c54b253da52590cf625a2768d9181e2f3d28a683127124330023aaf192bda495a796ce7cbf56da5e3d02eb8 SHA512 c92c12100a5181309503c1ba2ffd41a9e9287b21645d86119ef823f1192958ee6cfa6fcce657647b8cfdc65cad8b767cce53cb3300c996875343fe2c1d1faa14
diff --git a/net-im/discord/discord-1.0.147.ebuild b/net-im/discord/discord-1.0.147.ebuild
deleted file mode 100644
index a87d8bba19dd..000000000000
--- a/net-im/discord/discord-1.0.147.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_PV="${PV/-r*/}"
-
-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
-"
-PYTHON_COMPAT=( python3_{11..15} )
-UPDATE_DISABLER_COMMIT="2f26748a667045d26bc19841f1a731b4be7a7514"
-
-inherit chromium-2 desktop linux-info optfeature python-single-r1 unpacker xdg
-
-DESCRIPTION="All-in-one voice and text chat for gamers"
-HOMEPAGE="https://discord.com/"
-
-SRC_URI="
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/full.distro -> ${P}.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_desktop_core/1/full.distro
- -> ${P}-${MY_PN}_desktop_core.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_erlpack/1/full.distro
- -> ${P}-${MY_PN}_erlpack.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_spellcheck/1/full.distro
- -> ${P}-${MY_PN}_spellcheck.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_utils/1/full.distro
- -> ${P}-${MY_PN}_utils.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_voice/1/full.distro
- -> ${P}-${MY_PN}_voice.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_zstd/1/full.distro
- -> ${P}-${MY_PN}_zstd.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_rpc/1/full.distro
- -> ${P}-${MY_PN}_rpc.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_game_utils/1/full.distro
- -> ${P}-${MY_PN}_game_utils.distro
- https://stable.dl2.discordapp.net/distro/app/stable/linux/x64/${MY_PV}/discord_krisp/1/full.distro
- -> ${P}-${MY_PN}_krisp.distro
- https://github.com/flathub/com.discordapp.Discord/raw/${UPDATE_DISABLER_COMMIT}/disable-breaking-updates.py
- -> discord-disable-breaking-updates-${UPDATE_DISABLER_COMMIT}.py
-"
-S="${WORKDIR}/${MY_PN^}"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="amd64"
-
-IUSE="appindicator +seccomp wayland"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="bindist mirror strip test"
-BDEPEND="app-arch/brotli
- app-arch/zip"
-RDEPEND="
- ${PYTHON_DEPS}
- >=app-accessibility/at-spi2-core-2.46.0:2
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- dev-libs/wayland
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/mesa[gbm(+)]
- net-print/cups
- sys-apps/dbus
- sys-apps/util-linux
- sys-libs/glibc
- x11-libs/cairo
- x11-libs/libdrm
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXrandr
- x11-libs/libxcb
- x11-libs/libxkbcommon
- x11-libs/libxshmfence
- x11-libs/pango
- appindicator? ( dev-libs/libayatana-appindicator )
-"
-
-DESTDIR="/opt/${MY_PN}"
-
-QA_PREBUILT="*"
-
-CONFIG_CHECK="~USER_NS"
-
-repackage_node_modules() {
- brotli -d "${DISTDIR}/${P}"-$1.distro -o "${T}"/$1.tar 2>/dev/null || die
- unpack "${T}"/$1.tar || die
- pushd "${WORKDIR}"/files 2>/dev/null || die
- zip -rq "${WORKDIR}"/$1.zip . || die
- popd 2>/dev/null || die
- mv $1.zip "${S}"/resources/bootstrap/ || die
- rm -r "${WORKDIR}"/files || die
-}
-
-src_unpack() {
- # Upstream now only ships an autoupdater, where the binaries downloaded from the
- # upstream package do not contain the app, but instead contain software that
- # downloads and installs the app. To work around this, we manually download
- # the same Brotli-compressed tar archives that the autoupdater would, for both
- # the base app itself and the required Node modules. The Node modules need to be
- # unpacked and installed in ~/.config/discord/${PV}/modules, and luckily the base app
- # can automatically do this for us on the first launch if we package the Node
- # modules into a .zip and put them in <base app location>/resources/bootstrap.
- # Some modules are installed at runtime, but we want to bootstrap those too,
- # so we use a custom <base app location>/resources/bootstrap/manifest.json
- # copied over from $FILESDIR.
- brotli -d "${DISTDIR}/${P}".distro -o "${T}/${P}.tar" 2>/dev/null || die
- unpack "${T}/${P}.tar"
- mv "${WORKDIR}"/files "${S}" || die
- rm "${T}/${P}.tar" || die
- # For any new Node modules, add the Brotli-compressed archive to SRC_URI
- # following the same pattern, and then add a corressponding call to
- # repackage_node_modules here. You can find a list of required modules
- # at <base app location>/resources/bootstrap/manifest.json, as well as
- # running the application and looking for lines in the output about "modules".
- # If checking manifest.json, make sure to check the one directly from upstream,
- # as the one installed on the system is copied over from $FILESDIR.
- repackage_node_modules "discord_desktop_core"
- repackage_node_modules "discord_erlpack"
- repackage_node_modules "discord_spellcheck"
- repackage_node_modules "discord_utils"
- repackage_node_modules "discord_voice"
- repackage_node_modules "discord_zstd"
- repackage_node_modules "discord_rpc"
- repackage_node_modules "discord_game_utils"
- repackage_node_modules "discord_krisp"
-}
-
-src_configure() {
- default
- chromium_suid_sandbox_check_kernel_config
-}
-
-src_prepare() {
- default
- # cleanup languages
- pushd "locales/" >/dev/null || die "location change for language cleanup failed"
- chromium_remove_language_paks
- popd >/dev/null || die "location reset for language cleanup failed"
-
- # Update exec location in launcher
- sed --expression "s:@@DESTDIR@@:${DESTDIR}:" \
- "${FILESDIR}/launcher-r1.sh" > "${T}/launcher.sh" || die "updating of exec location in launcher failed"
-
- # USE seccomp in launcher
- if use seccomp; then
- sed --in-place --expression '/^EBUILD_SECCOMP=/s/false/true/' \
- "${T}/launcher.sh" || die "sed failed for seccomp"
- fi
-
- # USE wayland in launcher
- if use wayland; then
- sed --in-place --expression '/^EBUILD_WAYLAND=/s/false/true/' \
- "${T}/launcher.sh" || die "sed failed for wayland"
- fi
- cp "${FILESDIR}/manifest.json" resources/bootstrap/manifest.json || die "Failed copying manifest.json"
-}
-
-src_install() {
- doicon -s 256 "${MY_PN}.png"
-
- # install .desktop file
- make_desktop_entry "${EPREFIX}/usr/bin/discord" Discord "${PN}" \
- "Network;InstantMessaging;" \
- "StartupWMClass=discord" \
- "Path=${EPREFIX}/usr/bin"
-
- exeinto "${DESTDIR}"
-
- doexe "${MY_PN^}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so
-
- 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
-
- # Chrome-sandbox requires the setuid bit to be specifically set.
- # see https://github.com/electron/electron/issues/17972
- fowners root "${DESTDIR}/chrome-sandbox"
- fperms 4711 "${DESTDIR}/chrome-sandbox"
-
- # Crashpad is included in the package once in a while and when it does, it must be installed.
- # See #903616 and #890595
- [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
-
- # https://bugs.gentoo.org/905289
- newins "${DISTDIR}/discord-disable-breaking-updates-${UPDATE_DISABLER_COMMIT}.py" disable-breaking-updates.py
- python_fix_shebang "${ED}/${DESTDIR}/disable-breaking-updates.py"
-
- exeinto "/usr/bin"
- newexe "${T}/launcher.sh" "discord" || die "failing to install launcher"
-
- # https://bugs.gentoo.org/898912
- if use appindicator; then
- dosym ../../usr/lib64/libayatana-appindicator3.so /opt/discord/libappindicator3.so
- fi
-
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- optfeature_header "Install the following packages for additional support:"
- optfeature "sound support" \
- media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire
- optfeature "emoji support" media-fonts/noto-emoji
- if has_version kde-plasma/kwin[-screencast] && use wayland; then
- einfo " "
- einfo "When using KWin on Wayland, the kde-plasma/kwin[screencast] USE flag"
- einfo "must be enabled for screensharing."
- einfo " "
- fi
-}