mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-python/spotify-music-videos: Show Youtube music videos and lyrics
for the currently playing Spotify song Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
1
dev-python/spotify-music-videos/Manifest
Normal file
1
dev-python/spotify-music-videos/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST spotify-music-videos-1.8.1.tar.gz 216027 BLAKE2B 138cb404da078afc7dab636aec6349ceb70cec5ac3f8b81630ba4a6000376e4a24851dd7ec4be0b6435eff02c61b3ea39cdebe450d9d4fc1d09780107ab94817 SHA512 e306eb17f64b88eb88b152b325481d9f15d67c673d6cc76c8e0191faf1beb21a82006af8d0d472ba7cc613b587b1edd8532537bde424bae1024bf93021aa4628
|
||||
13
dev-python/spotify-music-videos/metadata.xml
Normal file
13
dev-python/spotify-music-videos/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@riseup.net</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1 xdg-utils desktop
|
||||
|
||||
DESCRIPTION="Show Youtube music videos and lyrics for the currently playing Spotify song"
|
||||
HOMEPAGE="https://github.com/marioortizmanero/spotify-music-videos"
|
||||
SRC_URI="https://github.com/marioortizmanero/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pydbus[${PYTHON_USEDEP}]
|
||||
dev-python/lyricwikia[${PYTHON_USEDEP}]
|
||||
dev-python/python-vlc[${PYTHON_USEDEP}]
|
||||
net-misc/youtube-dl[${PYTHON_USEDEP}]
|
||||
media-sound/spotify"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
make_desktop_entry spotify-videos "Spotify Music Videos" spotify-linux-64 "AudioVideo;Music" Terminal=true
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
|
||||
elog '"spotify-videos --debug" might complain about missing codecs, if this happens please recompile media-video/vlc with the proper codecs'
|
||||
elog 'Pro-tip: Create a special profile for your terminal emulator with a nice lyric-font. then edit the .desktop entry and add TerminalOptions=--profile name-of-profile'
|
||||
elog 'Or launch spotify-videos directly in a terminal with the correct profile, e.g for konsole: "konsole --profile name-of=profile -e spotify-videos"'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user