Added PinePhone Gnome Apps

This commit is contained in:
Gerben Jan Dijkman
2021-04-09 19:14:35 +02:00
parent 331f28002c
commit d671a47aeb
5 changed files with 208 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST lollypop-1.4.19.tar.xz 580508 BLAKE2B 62a4adecf6216af4aff2c89c3dfda8897a7fc6f05919655724abaf146f87fc0a4d8d3d4c1b2babe0b68b5f180db08c94e9e8018bf1b5832f3ab58f6fcc182db0 SHA512 f7170ca5f19140f0da535e049a08bfadfa77fd862a3f07a26f121e8efd43ee7822f9833eacae634ef016b4168eec2a318013ffae4f21c1e0bec77adc23387550

View File

@@ -0,0 +1,72 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_REQ_USE="sqlite"
inherit python-single-r1 gnome2-utils meson xdg
DESCRIPTION="Modern music player for GNOME"
HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop"
SRC_URI="https://adishatz.org/${PN}/${P}.tar.xz"
KEYWORDS="~amd64 ~x84 ~arm ~arm64"
LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
DEPEND="${PYTHON_DEPS}
dev-libs/appstream-glib[introspection]
dev-libs/glib:2
dev-libs/gobject-introspection[cairo(+)]
$(python_gen_cond_dep '
dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
')
gnome-base/gnome-common
x11-libs/gtk+:3
"
BDEPEND="${DEPEND}
$(python_gen_cond_dep '
dev-python/pkgconfig[${PYTHON_MULTI_USEDEP}]
')
dev-util/desktop-file-utils
dev-util/itstool
dev-util/intltool
"
RDEPEND="${DEPEND}
app-crypt/libsecret[introspection]
dev-libs/totem-pl-parser
$(python_gen_cond_dep '
dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
dev-python/dbus-python
dev-python/pillow[${PYTHON_MULTI_USEDEP}]
>=dev-python/pylast-1.0.0[${PYTHON_MULTI_USEDEP}]
')
media-libs/gst-plugins-base:1.0[introspection]
"
RESTRICT="test"
src_install() {
meson_src_install
python_optimize
}
pkg_preinst() {
gnome2_schemas_savelist
xdg_pkg_preinst
}
pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_schemas_update
xdg_pkg_postrm
}