From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/vidify/
Date: Tue, 21 Jan 2020 15:17:41 +0000 (UTC) [thread overview]
Message-ID: <1579619781.12e1c3665d893eb4477f8f6f2dcf7d20c171d2a2.andrewammerlaan@gentoo> (raw)
commit: 12e1c3665d893eb4477f8f6f2dcf7d20c171d2a2
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 21 15:16:21 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 21 15:16:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=12e1c366
media-video/vidify: Watch live music videos for songs playing
Next version of spotify-music-videos
Upstream will rename the package in the next release
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
media-video/vidify/metadata.xml | 17 ++++++++++
media-video/vidify/vidify-9999.ebuild | 63 +++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/media-video/vidify/metadata.xml b/media-video/vidify/metadata.xml
new file mode 100644
index 0000000..a604fe4
--- /dev/null
+++ b/media-video/vidify/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+ <use>
+ <flag name="vlc">Use python-vlc as backend for vidify</flag>
+ <flag name="mpv">Use python-mpv as backend for vidify</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-video/vidify/vidify-9999.ebuild b/media-video/vidify/vidify-9999.ebuild
new file mode 100644
index 0000000..0fe24e7
--- /dev/null
+++ b/media-video/vidify/vidify-9999.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit eutils desktop distutils-r1 git-r3 xdg-utils
+
+DESCRIPTION="Watch live music videos for the songs playing on your device"
+HOMEPAGE="https://github.com/marioortizmanero/spotify-music-videos"
+EGIT_REPO_URI="https://github.com/marioortizmanero/spotify-music-videos.git"
+EGIT_BRANCH="next"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=
+
+IUSE="+vlc mpv"
+
+REQUIRED_USE="|| ( vlc mpv )"
+
+RDEPEND="
+ dev-python/pydbus[${PYTHON_USEDEP}]
+ dev-python/QtPy[gui,webengine,${PYTHON_USEDEP}]
+ dev-python/lyricwikia[${PYTHON_USEDEP}]
+ vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )
+ mpv? ( dev-python/python-mpv[${PYTHON_USEDEP}] )
+ net-misc/youtube-dl[${PYTHON_USEDEP}]
+ dev-python/appdirs[${PYTHON_USEDEP}]
+ dev-python/tekore[${PYTHON_USEDEP}]"
+
+python_install_all() {
+ distutils-r1_python_install_all
+ newicon -s scalable vidify/gui/res/icon.svg ${PN}.svg
+ if use mpv && use !vlc; then
+ make_desktop_entry "${PN} --player mpv" "Vidify" "${PN}" "AudioVideo;Music"
+ elif use mpv && use vlc; then
+ make_desktop_entry "${PN} --player mpv" "Vidify (mpv)" "${PN}" "AudioVideo;Music"
+ make_desktop_entry "${PN}" "Vidify (vlc)" "${PN}" "AudioVideo;Music"
+ else
+ make_desktop_entry "${PN}" "Vidify" "${PN}" "AudioVideo;Music"
+ fi
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+
+ use mpv && elog "media-video/vlc is the default vidify player, to use mpv run 'vidify --player mpv' or set 'player = mpv' in the config file"
+ use vlc && elog "If video playback is not working please check 'vidify --debug' for missing-codec-errors and recompile media-video/vlc with the missing codecs"
+ use mpv && elog "If video playback is not working please check 'vidify --player mpv --debug' for missing-codec-errors and recompile media-video/mpv with the missing codecs"
+
+ optfeature "'vidify --dark-mode'" dev-python/qdarkstyle
+ optfeature "'vidify --audiosync'" media-video/vidify-audiosync
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
next reply other threads:[~2020-01-21 15:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-21 15:17 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-03 18:07 [gentoo-commits] repo/proj/guru:dev commit in: media-video/vidify/ Andrew Ammerlaan
2020-02-10 10:55 Andrew Ammerlaan
2020-02-10 19:33 Andrew Ammerlaan
2020-02-10 19:42 Andrew Ammerlaan
2020-02-24 12:29 Andrew Ammerlaan
2020-03-02 21:29 Andrew Ammerlaan
2020-04-02 10:12 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-01 19:38 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-02 10:12 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-02 9:18 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-03 10:06 Andrew Ammerlaan
2020-04-07 15:04 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-07 15:06 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-13 17:50 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-13 10:01 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-30 13:47 Andrew Ammerlaan
2020-05-07 11:13 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-07 9:40 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-30 19:27 Andrew Ammerlaan
2020-08-14 18:20 Andrew Ammerlaan
2020-09-08 13:27 Andrew Ammerlaan
2020-09-24 12:50 Andrew Ammerlaan
2021-02-17 18:54 Andrew Ammerlaan
2021-05-21 17:08 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1579619781.12e1c3665d893eb4477f8f6f2dcf7d20c171d2a2.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox