1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
7 inherit distutils-r1 gnome2-utils xdg-utils
9 DESCRIPTION="A LilyPond sheet music text editor"
10 HOMEPAGE="http://www.frescobaldi.org/"
11 SRC_URI="https://github.com/wbsoft/${PN}/releases/download/v${PV}/${P}.tar.gz"
18 # portmidi? ( media-libs/portmidi[${PYTHON_USEDEP}] ) # bug 550820
20 dev-python/PyQt5[gui,network,printsupport,svg,webkit,widgets,${PYTHON_USEDEP}]
21 >=dev-python/python-ly-0.9.4[${PYTHON_USEDEP}]
22 dev-python/python-poppler-qt5[${PYTHON_USEDEP}]
23 >=media-sound/lilypond-2.14.2"
25 x11-themes/tango-icon-theme
28 python_prepare_all() {
29 rm -r frescobaldi_app/icons/Tango || die "failed to remove tango icon theme"
30 distutils-r1_python_prepare_all
34 gnome2_icon_cache_update
35 xdg_desktop_database_update
39 gnome2_icon_cache_update
40 xdg_desktop_database_update