blob: f8a62ce59a5596489e1b5b6f9ebea7f43f1b10f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..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
}
|