| # Copyright 1999-2018 Gentoo Authors |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=6 |
| |
| PYTHON_COMPAT=( python3_6 ) |
| PYTHON_REQ_USE="sqlite" |
| HASH="caaeacbe092d931e9b16b5cb7423c2b4" |
| inherit python-r1 gnome2-utils meson xdg-utils |
| |
| DESCRIPTION="Modern music player for GNOME" |
| HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop" |
| SRC_URI="https://gitlab.gnome.org/World/${PN}/uploads/${HASH}/${P}.tar.xz" |
| KEYWORDS="~amd64" |
| |
| LICENSE="GPL-3" |
| SLOT="0" |
| |
| CDEPEND="${PYTHON_DEPS} |
| dev-libs/appstream-glib[introspection] |
| dev-libs/glib:2 |
| dev-libs/gobject-introspection[cairo] |
| dev-python/pycairo[${PYTHON_USEDEP}] |
| dev-python/pygobject:3[${PYTHON_USEDEP}] |
| gnome-base/gnome-common |
| x11-libs/gtk+:3 |
| " |
| DEPEND="${CDEPEND} |
| dev-python/pkgconfig[${PYTHON_USEDEP}] |
| dev-util/desktop-file-utils |
| dev-util/itstool |
| dev-util/intltool |
| " |
| RDEPEND="${CDEPEND} |
| app-crypt/libsecret |
| dev-libs/totem-pl-parser |
| dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
| dev-python/dbus-python |
| >=dev-python/pylast-1.0.0[${PYTHON_USEDEP}] |
| " |
| |
| RESTRICT="test" |
| |
| pkg_preinst() { |
| gnome2_schemas_savelist |
| } |
| |
| pkg_postinst() { |
| gnome2_gconf_install |
| gnome2_schemas_update |
| xdg_desktop_database_update |
| } |
| |
| pkg_postrm() { |
| gnome2_gconf_uninstall |
| gnome2_schemas_update |
| xdg_desktop_database_update |
| } |