diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2020-05-01 17:06:43 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-05-01 17:08:17 -0700 |
commit | f1c2076d51472818349ce4b026f5b13a000ce70f (patch) | |
tree | b47c2b5345c99fdd7c9a014fd3de6d3b62a3bf52 /media-sound/pithos/pithos-1.5.0.ebuild | |
parent | dev-python/pylast-3.2.1: Version bump, add py37, py38 (diff) | |
download | gentoo-f1c2076d51472818349ce4b026f5b13a000ce70f.tar.gz gentoo-f1c2076d51472818349ce4b026f5b13a000ce70f.tar.bz2 gentoo-f1c2076d51472818349ce4b026f5b13a000ce70f.zip |
media-sound/pithos-1.5.0: version bump
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'media-sound/pithos/pithos-1.5.0.ebuild')
-rw-r--r-- | media-sound/pithos/pithos-1.5.0.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/media-sound/pithos/pithos-1.5.0.ebuild b/media-sound/pithos/pithos-1.5.0.ebuild new file mode 100644 index 000000000000..11ebd44dac4c --- /dev/null +++ b/media-sound/pithos/pithos-1.5.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit meson gnome2-utils virtualx python-r1 + +if [[ ${PV} =~ [9]{4,} ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Pandora.com client for the GNOME desktop" +HOMEPAGE="https://pithos.github.io/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="appindicator +keybinder libnotify test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygobject[${PYTHON_USEDEP}] + app-crypt/libsecret[introspection] + dev-libs/appstream-glib[introspection] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pylast[${PYTHON_USEDEP}] + media-libs/gstreamer:1.0[introspection] + media-plugins/gst-plugins-meta:1.0[aac,http,mp3] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + x11-themes/gnome-icon-theme-symbolic + appindicator? ( dev-libs/libappindicator:3[introspection] ) + keybinder? ( dev-libs/keybinder:3[introspection] ) + libnotify? ( x11-libs/libnotify[introspection] ) +" +BDEPEND=" + virtual/pkgconfig + test? ( + ${RDEPEND} + dev-libs/glib:2 + dev-util/desktop-file-utils + ) +" + +PATCHES=( + "${FILESDIR}/pithos-1.5.0-py38.patch" + + # comment out tests that need internet + "${FILESDIR}/pithos-1.5.0-tests.patch" +) + +src_configure() { + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + virtx python_foreach_impl meson_src_test +} + +src_install() { + python_foreach_impl meson_src_install + einstalldocs +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +} |