media-sound/ytm-player: new package, add 1.4.0, 9999

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf committed 2026-03-08 21:27:22 -03:00
1 parent 21a0d016d6
commit d5883f044e
4 files changed
+100

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST ytm-player-1.4.0.tar.gz 316952 BLAKE2B 60b75ad282c8fae5181f4c21869220ce40c73ddb610c7e53bbbc1f6a44cc2cfbd5521d810c328975817e728931f78a9c755929dc67c96555f436cf0bc567a5bc SHA512 e544e9e1891855a08340c5cac6e4926cd0d5992496c60a0cea332b48eda40d0466081ded2a39c173e9f3d473662288c5a007d3061ec30986865ff45cb9df934a
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>dsaf</name>
<email>ghostyn678+git@gmail.com</email>
</maintainer>
<longdescription>
A full-featured YouTube Music player for the terminal.
Browse your library, search, queue tracks, and control
playback - all from a TUI with vim-style keybindings.
Runs on Linux, macOS, and Windows.
</longdescription>
<upstream>
<remote-id type="github">peternaame-boop/ytm-player</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,41 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 optfeature
DESCRIPTION="Full-featured YouTube Music TUI client with vim-style navigation"
HOMEPAGE="https://github.com/peternaame-boop/ytm-player"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/peternaame-boop/ytm-player.git"
else
SRC_URI="https://github.com/peternaame-boop/ytm-player/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
RDEPEND="
media-video/mpv
net-misc/yt-dlp
>=dev-python/aiosqlite-0.20.0[${PYTHON_USEDEP}]
>=dev-python/click-8.1.0[${PYTHON_USEDEP}]
>=dev-python/python-mpv-1.0.0[${PYTHON_USEDEP}]
>=dev-python/pillow-10.0[${PYTHON_USEDEP}]
>=dev-python/textual-7.0.0[${PYTHON_USEDEP}]
>=dev-python/ytmusicapi-1.11.0[${PYTHON_USEDEP}]
"
pkg_postinst() {
optfeature "MPRIS media key support" dev-python/dbus-next
optfeature "last.fm scrobbling" dev-python/pylast
optfeature "Discord rich presence" dev-python/pypresence
optfeature "spotify playlist import" dev-python/spotipy
}
@@ -0,0 +1,41 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 optfeature
DESCRIPTION="Full-featured YouTube Music TUI client with vim-style navigation"
HOMEPAGE="https://github.com/peternaame-boop/ytm-player"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/peternaame-boop/ytm-player.git"
else
SRC_URI="https://github.com/peternaame-boop/ytm-player/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
RDEPEND="
media-video/mpv
net-misc/yt-dlp
>=dev-python/aiosqlite-0.20.0[${PYTHON_USEDEP}]
>=dev-python/click-8.1.0[${PYTHON_USEDEP}]
>=dev-python/python-mpv-1.0.0[${PYTHON_USEDEP}]
>=dev-python/pillow-10.0[${PYTHON_USEDEP}]
>=dev-python/textual-7.0.0[${PYTHON_USEDEP}]
>=dev-python/ytmusicapi-1.11.0[${PYTHON_USEDEP}]
"
pkg_postinst() {
optfeature "MPRIS media key support" dev-python/dbus-next
optfeature "last.fm scrobbling" dev-python/pylast
optfeature "Discord rich presence" dev-python/pypresence
optfeature "spotify playlist import" dev-python/spotipy
}