diff options
author | James Beddek <telans@posteo.de> | 2022-07-04 23:37:25 +1200 |
---|---|---|
committer | James Beddek <telans@posteo.de> | 2022-07-04 23:37:25 +1200 |
commit | ae24103eb415f56cc055223e6f632d43ee83039c (patch) | |
tree | a60815996b704f5bf51220a808f44ff817700c10 /media-video/tartube/tartube-9999.ebuild | |
parent | games-fps/openspades: Initial import (diff) | |
download | guru-ae24103eb415f56cc055223e6f632d43ee83039c.tar.gz guru-ae24103eb415f56cc055223e6f632d43ee83039c.tar.bz2 guru-ae24103eb415f56cc055223e6f632d43ee83039c.zip |
media-video/tartube: new package, add 2.4.077, 9999
Signed-off-by: James Beddek <telans@posteo.de>
Diffstat (limited to 'media-video/tartube/tartube-9999.ebuild')
-rw-r--r-- | media-video/tartube/tartube-9999.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-video/tartube/tartube-9999.ebuild b/media-video/tartube/tartube-9999.ebuild new file mode 100644 index 000000000..2dab5d2a0 --- /dev/null +++ b/media-video/tartube/tartube-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 xdg + +DESCRIPTION="A GUI front-end for youtube-dl" +HOMEPAGE="https://github.com/axcore/tartube" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/axcore/tartube.git" +else + SRC_URI="https://github.com/axcore/tartube/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="+atomicparsley" + +RDEPEND=" + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/playsound[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + x11-themes/adwaita-icon-theme + || ( + net-misc/youtube-dl[${PYTHON_USEDEP}] + net-misc/yt-dlp[${PYTHON_USEDEP}] + ) + atomicparsley? ( + media-video/atomicparsley + ) +" + +src_prepare() { + export TARTUBE_PKG_STRICT=1 + sed '/Version/d' -i pack/tartube.desktop + distutils-r1_src_prepare +} |