From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B0F96138350 for ; Tue, 21 Jan 2020 15:17:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8ED4E089A; Tue, 21 Jan 2020 15:17:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACD11E089A for ; Tue, 21 Jan 2020 15:17:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2DA8834E367 for ; Tue, 21 Jan 2020 15:17:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF88A97 for ; Tue, 21 Jan 2020 15:17:41 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1579619781.12e1c3665d893eb4477f8f6f2dcf7d20c171d2a2.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/vidify/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/vidify/metadata.xml media-video/vidify/vidify-9999.ebuild X-VCS-Directories: media-video/vidify/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 12e1c3665d893eb4477f8f6f2dcf7d20c171d2a2 X-VCS-Branch: dev Date: Tue, 21 Jan 2020 15:17:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 55af303e-8d91-45fd-b385-76e9fe664bb3 X-Archives-Hash: 05577604c0ae02fc5697123f313315df commit: 12e1c3665d893eb4477f8f6f2dcf7d20c171d2a2 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Jan 21 15:16:21 2020 +0000 Commit: Andrew Ammerlaan riseup 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 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 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Use python-vlc as backend for vidify + Use python-mpv as backend for vidify + + 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 +}