blob: 8b55ac142d217b9c93846fd01ffce081a902d6f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature
DESCRIPTION="Feature rich Discord TUI client"
HOMEPAGE="https://github.com/sparklost/endcord"
SRC_URI="
amd64? (
https://github.com/sparklost/endcord/releases/download/${PV}/endcord-${PV}-linux.tar.gz
)
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT=0
KEYWORDS="-* ~amd64"
RESTRICT="strip"
QA_PREBUILT="usr/bin/endcord-bin"
src_install() {
newbin endcord endcord-bin
}
pkg_postinst() {
optfeature "clipboard support on X11" x11-misc/xclip
optfeature "clipboard support on Wayland" gui-apps/wl-clipboard
optfeature "file dialog when uploading" \
app-misc/yazi \
gnome-extra/zenity \
kde-apps/kdialog
optfeature "spellchecking (requires aspell dictionary such as aspell-en)" \
app-text/aspell
optfeature "install and update extensions from other sources" \
dev-vcs/git
optfeature "YouTube support" net-misc/yt-dlp
optfeature "play YouTube videos in native player (non-ASCII support)" media-video/mpv
optfeature "store token in system keyring" app-crypt/libsecret virtual/secret-service
optfeature "round notification images" media-gfx/imagemagick
optfeature "tray support under wayland" dev-libs/libayatana-appindicator
}
|