mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
net-im/endcord: add 1.5.1
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST endcord-1.4.2.tar.gz 811680 BLAKE2B fe9dda547707dc5ea51b18954061a30b0a8dff691641e6096121c0ea655c3913f393c3a501c80b7926223321414a6be4bb553bdbc0c365a458a018d41deb6736 SHA512 535bc3038674a1eeb7a2a5492a87b8a6fe05abcd80298a9b9863286f1a7d075a6955f416840c86a470a4be144940b252c3316480890054d57617bf33b7855e50
|
||||
DIST endcord-1.5.0.tar.gz 1011046 BLAKE2B f19c6da74883e6176c1f358597c544b3409a80bfb67bc77c21d999a79907125548b11f1aa229b7d927694b9880be01109fb5246e82d55b598e2c62715b7d417d SHA512 056e01123fef5c09b9a6234c5c434963595be6df241213433902a376f1deca08e47cdaf071d87917de3f6cd2bd5ebc5621c2f78969ab05bed66b481bc20a7c58
|
||||
DIST endcord-1.5.1.tar.gz 1015979 BLAKE2B 69b83e928fc7f34339acb3e78cd5c7fd0d4ff066ff952f882033da8e04e5f6d46d2b0a35f803c40610a7652985bff6c5082303a98068f59ba1e8495f3926f845 SHA512 22e9c6a4e17e8a1a2d944bac24422a6b63e1bc3f47271b9751345753d5107721bb2b6aac36c86ceaae5c7e3559a7dbc5dccb8f5fc181c83c47408ae6eecf3ab5
|
||||
|
||||
83
net-im/endcord/endcord-1.5.1.ebuild
Normal file
83
net-im/endcord/endcord-1.5.1.ebuild
Normal file
@@ -0,0 +1,83 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 optfeature wrapper
|
||||
|
||||
DESCRIPTION="Feature rich Discord TUI client"
|
||||
HOMEPAGE="https://github.com/sparklost/endcord"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/sparklost/endcord.git"
|
||||
else
|
||||
SRC_URI="https://github.com/sparklost/endcord/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT=0
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/cython-3.2.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/filetype-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-2.5.0[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
>=dev-python/orjson-3.11.9[${PYTHON_USEDEP}]
|
||||
dev-python/ujson[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/pycryptodome-3.23.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pysocks-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/soundcard-0.4.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/soundfile-0.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-1.9.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.5.0-flags.patch" )
|
||||
|
||||
DOCS=( README.md docs/ )
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
python_domodule ${PN}
|
||||
|
||||
exeinto /usr/libexec/${PN}
|
||||
doexe main.py
|
||||
|
||||
make_wrapper ${PN} \
|
||||
"${EPYTHON} ${EPREFIX}/usr/libexec/${PN}/main.py"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user