1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT
=( python3_
{8,9,10} )
7 inherit python-r1 autotools xdg
9 DESCRIPTION
="Standalone lyrics fetcher/displayer (windowed and OSD mode)."
10 HOMEPAGE
="https://github.com/osdlyrics/osdlyrics"
15 if [[ "${PV}" == 9999 ]]; then
18 EGIT_REPO_URI
="https://github.com/osdlyrics/osdlyrics.git"
21 SRC_URI
="https://github.com/osdlyrics/osdlyrics/archive/${PV}.tar.gz -> ${P}.tar.gz"
24 IUSE
="gnome indicator"
25 REQUIRED_USE
="${PYTHON_REQUIRED_USE}"
31 dev-python/chardet[${PYTHON_USEDEP}]
32 dev-python/dbus-python[${PYTHON_USEDEP}]
33 dev-python/future[${PYTHON_USEDEP}]
34 dev-python/pygobject[${PYTHON_USEDEP}]
35 dev-python/pycurl[${PYTHON_USEDEP}]
36 gnome? ( dev-libs/gobject-introspection )
37 indicator? ( dev-libs/libappindicator )
55 --prefix="${EPREFIX}/usr" PYTHON
="${PYTHON}"
56 $
(use_enable indicator appindicator
)
60 python_foreach_impl run_in_build_dir configuring
64 python_foreach_impl run_in_build_dir default
68 python_foreach_impl run_in_build_dir default