app-i18n/fcitx5: update app-text/enchant slot (#978)
[gentoo-zh.git] / media-sound / feeluown / feeluown-3.7.7-r1.ebuild
blob78dc161272288ec99232ef00c7b9b65689dd8a0a
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
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"
11 MY_P="${P/_alpha/a}"
12 S="${WORKDIR}/${MY_P}"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="~amd64"
19 IUSE="+netease +local +qqmusic +kuwo +webengine"
21 RDEPEND="
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}]
31 PDEPEND="
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] )
40 DEPEND="
41 ${RDEPEND}
42 ${PDEPEND}
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"