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: Thu, 2 Apr 2020 09:18:20 +0000 (UTC) [thread overview]
Message-ID: <1585819091.8fd3794e55c8782f342e6ac188c5218b195ae6ee.andrewammerlaan@gentoo> (raw)
Message-ID: <20200402091820.jKE0l32Ih-Y6Aqtz9BaLh7RLNzMTtcw65s3GJScNZHc@z> (raw)
commit: 8fd3794e55c8782f342e6ac188c5218b195ae6ee
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Apr 2 09:18:11 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 2 09:18:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fd3794e
media-video/vidify: do not hardepend on everything
we can only use one video/audio player at the time
so there is no need to force the user to install
all the dependencies
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
media-video/vidify/metadata.xml | 2 ++
media-video/vidify/vidify-2.2.0.ebuild | 35 +++++++++++++++++++++++++---------
2 files changed, 28 insertions(+), 9 deletions(-)
diff --git a/media-video/vidify/metadata.xml b/media-video/vidify/metadata.xml
index 13b78b5..bb03a0b 100644
--- a/media-video/vidify/metadata.xml
+++ b/media-video/vidify/metadata.xml
@@ -9,5 +9,7 @@
<use>
<flag name="vlc">Use python-vlc as backend for vidify</flag>
<flag name="mpv">Use python-mpv as backend for vidify</flag>
+ <flag name="zeroconf">Use an external network player</flag>
+ <flag name="dbus">Support local MPRIS players</flag>
</use>
</pkgmetadata>
diff --git a/media-video/vidify/vidify-2.2.0.ebuild b/media-video/vidify/vidify-2.2.0.ebuild
index 66c27c9..dd17701 100644
--- a/media-video/vidify/vidify-2.2.0.ebuild
+++ b/media-video/vidify/vidify-2.2.0.ebuild
@@ -17,21 +17,23 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+vlc mpv"
+IUSE="dbus vlc mpv zeroconf"
-REQUIRED_USE="|| ( vlc mpv )"
+REQUIRED_USE="|| ( vlc mpv zeroconf )"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/lyricwikia[${PYTHON_USEDEP}]
- dev-python/pydbus[${PYTHON_USEDEP}]
- dev-python/qdarkstyle[${PYTHON_USEDEP}]
dev-python/QtPy[gui,webengine,${PYTHON_USEDEP}]
- dev-python/tekore[${PYTHON_USEDEP}]
net-misc/youtube-dl[${PYTHON_USEDEP}]
- dev-python/zeroconf[${PYTHON_USEDEP}]
+ || (
+ dev-python/tekore[${PYTHON_USEDEP}]
+ dev-python/pydbus[${PYTHON_USEDEP}]
+ )
+ dbus? ( dev-python/pydbus[${PYTHON_USEDEP}] )
mpv? ( dev-python/python-mpv[${PYTHON_USEDEP}] )
vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )
+ zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] )
"
distutils_enable_tests unittest
@@ -48,6 +50,17 @@ python_prepare_all() {
# likely because of the removal of the above tests
rm tests/test_api_and_player_data.py || die
+ # do not hard depend on this
+ sed -i \
+ -e '/qdarkstyle/d' \
+ -e '/python-vlc/d' \
+ -e '/python-mpv/d' \
+ -e '/pydbus/d' \
+ -e '/tekore/d' \
+ -e '/zeroconf/d' \
+ -e '/If PySide2 is installed and PyQt5/,/PyQtWebEngine/d' \
+ setup.py || die
+
distutils-r1_python_prepare_all
}
@@ -58,9 +71,13 @@ python_test() {
pkg_postinst() {
xdg_pkg_postinst
- 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"
+ elog "If video playback is not working please check 'vidify --debug' for missing-codec-errors and recompile media-video/vlc or media-video/mpv with the missing codecs"
+ optfeature "using a MPRIS(D-Bus) audio player (e.g spotify)" dev-python/pydbus
+ optfeature "using the spotify web API as audio player" dev-python/tekore
+ optfeature "using an external network player" dev-python/zeroconf
+ optfeature "using media-video/mpv for video playback" dev-python/python-mpv
+ optfeature "using media-video/vlc for video playback" dev-python/python-vlc
+ optfeature "'vidify --dark-mode'" dev-python/qdarkstyle
optfeature "'vidify --audiosync'" media-video/vidify-audiosync
}
next reply other threads:[~2020-04-02 9:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-02 10:12 Andrew Ammerlaan [this message]
2020-04-02 9:18 ` [gentoo-commits] repo/proj/guru:dev commit in: media-video/vidify/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-05-21 17:08 Andrew Ammerlaan
2021-05-21 17:21 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-02-19 10:14 Michał Górny
2020-09-24 12:50 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-24 13:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-09-08 13:27 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-08 13:27 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-08-14 18:20 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-08-14 18:35 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-30 19:27 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-30 19:43 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-07 11:13 Andrew Ammerlaan
2020-04-13 17:50 Andrew Ammerlaan
2020-04-07 15:04 Andrew Ammerlaan
2020-04-03 21:37 Haelwenn Monnier
2020-04-02 10:12 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=1585819091.8fd3794e55c8782f342e6ac188c5218b195ae6ee.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