dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / media-sound / feeluown / feeluown-4.1.7.ebuild
blob8989cdaf9049ba6ef92ab35860a3ee8fd8156d94
1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
5 DISTUTILS_USE_PEP517=setuptools
6 PYTHON_COMPAT=( python3_{10..12} )
8 inherit distutils-r1 desktop pypi
10 DESCRIPTION="A user-friendly and hackable music player"
11 HOMEPAGE="https://github.com/feeluown/FeelUOwn"
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE="+netease +qqmusic +webengine +ytmusic +bilibili +cookies"
17 RESTRICT="test" # TODO
19 RDEPEND="
20 dev-python/janus[${PYTHON_USEDEP}]
21 dev-python/requests[${PYTHON_USEDEP}]
22 dev-python/pyopengl[${PYTHON_USEDEP}]
23 dev-python/pyqt5[gui,widgets,opengl,svg,${PYTHON_USEDEP}]
24 dev-python/qasync[${PYTHON_USEDEP}]
25 dev-python/tomlkit[${PYTHON_USEDEP}]
26 dev-python/packaging[${PYTHON_USEDEP}]
27 >=dev-python/pydantic-1.10[${PYTHON_USEDEP}]
30 PDEPEND="
31 media-video/mpv[libmpv]
32 netease? ( dev-python/fuo-netease[${PYTHON_USEDEP}] )
33 qqmusic? ( dev-python/fuo-qqmusic[${PYTHON_USEDEP}] )
34 bilibili? ( dev-python/feeluown-bilibili[$PYTHON_USEDEP] )
35 ytmusic? ( dev-python/fuo-ytmusic[$PYTHON_USEDEP] )
36 webengine? ( dev-python/pyqtwebengine[$PYTHON_USEDEP] )
37 cookies? ( dev-python/pycryptodome[$PYTHON_USEDEP] dev-python/secretstorage[$PYTHON_USEDEP] )
40 DEPEND="
41 ${RDEPEND}
42 ${PDEPEND}
43 dev-python/setuptools[${PYTHON_USEDEP}]
46 PATCHES=(
47 "${FILESDIR}"/${PN}-3.8.5-fix-mpv.patch # Remove unused ytdl option
50 python_install_all() {
51 distutils-r1_python_install_all
53 domenu "${FILESDIR}/${PN}.desktop"
54 newicon "${S}/feeluown/gui/assets/icons/feeluown.png" "${PN}.png"