commit:     d5883f044ed039dba4e72860b7bc65946be4ff30
Author:     dsaf <ghostyn678+git <AT> gmail <DOT> com>
AuthorDate: Mon Mar  9 00:27:22 2026 +0000
Commit:     David Roman <stkw0 <AT> disroot <DOT> org>
CommitDate: Mon Mar  9 00:27:22 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5883f04

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

Signed-off-by: dsaf <ghostyn678+git <AT> gmail.com>

 media-sound/ytm-player/Manifest                |  1 +
 media-sound/ytm-player/metadata.xml            | 17 +++++++++++
 media-sound/ytm-player/ytm-player-1.4.0.ebuild | 41 ++++++++++++++++++++++++++
 media-sound/ytm-player/ytm-player-9999.ebuild  | 41 ++++++++++++++++++++++++++
 4 files changed, 100 insertions(+)

diff --git a/media-sound/ytm-player/Manifest b/media-sound/ytm-player/Manifest
new file mode 100644
index 0000000000..8d60181eff
--- /dev/null
+++ b/media-sound/ytm-player/Manifest
@@ -0,0 +1 @@
+DIST ytm-player-1.4.0.tar.gz 316952 BLAKE2B 
60b75ad282c8fae5181f4c21869220ce40c73ddb610c7e53bbbc1f6a44cc2cfbd5521d810c328975817e728931f78a9c755929dc67c96555f436cf0bc567a5bc
 SHA512 
e544e9e1891855a08340c5cac6e4926cd0d5992496c60a0cea332b48eda40d0466081ded2a39c173e9f3d473662288c5a007d3061ec30986865ff45cb9df934a

diff --git a/media-sound/ytm-player/metadata.xml 
b/media-sound/ytm-player/metadata.xml
new file mode 100644
index 0000000000..a852f5755d
--- /dev/null
+++ b/media-sound/ytm-player/metadata.xml
@@ -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>[email protected]</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>

diff --git a/media-sound/ytm-player/ytm-player-1.4.0.ebuild 
b/media-sound/ytm-player/ytm-player-1.4.0.ebuild
new file mode 100644
index 0000000000..cb3a9f2298
--- /dev/null
+++ b/media-sound/ytm-player/ytm-player-1.4.0.ebuild
@@ -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
+}

diff --git a/media-sound/ytm-player/ytm-player-9999.ebuild 
b/media-sound/ytm-player/ytm-player-9999.ebuild
new file mode 100644
index 0000000000..cb3a9f2298
--- /dev/null
+++ b/media-sound/ytm-player/ytm-player-9999.ebuild
@@ -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
+}

Reply via email to