1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT
=( python3_
{8,9} pypy3
)
7 inherit distutils-r1 desktop
9 DESCRIPTION
="A user-friendly and hackable music player"
10 HOMEPAGE
="https://github.com/feeluown/FeelUOwn"
12 S
="${WORKDIR}/${MY_P}"
13 SRC_URI
="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
19 IUSE
="+netease +local +qqmusic +kuwo +webengine"
22 dev-python/janus[${PYTHON_USEDEP}]
23 dev-python/requests[${PYTHON_USEDEP}]
24 dev-python/pyopengl[${PYTHON_USEDEP}]
25 dev-python/PyQt5[${PYTHON_USEDEP}]
26 dev-python/qasync[${PYTHON_USEDEP}]
27 dev-python/tomlkit[${PYTHON_USEDEP}]
28 >=dev-python/pydantic-1.8.1[${PYTHON_USEDEP}]
32 media-video/mpv[libmpv]
33 netease? ( dev-python/fuo-netease[${PYTHON_USEDEP}] )
34 local? ( dev-python/fuo-local[${PYTHON_USEDEP}] )
35 qqmusic? ( dev-python/fuo-qqmusic[${PYTHON_USEDEP}] )
36 kuwo? ( dev-python/fuo-kuwo[$PYTHON_USEDEP] )
37 webengine? ( dev-python/PyQtWebEngine[$PYTHON_USEDEP] )
43 dev-python/setuptools[${PYTHON_USEDEP}]
46 python_install_all
() {
47 distutils-r1_python_install_all
49 domenu
"${FILESDIR}/${PN}.desktop"
50 newicon
"${S}/feeluown/icons/feeluown.png" "${PN}.png"