diff options
author | Sam James <sam@gentoo.org> | 2022-05-31 01:34:40 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-05-31 02:56:42 +0100 |
commit | d1859296520c8fc64819ebf1d7d172dad01ff7b7 (patch) | |
tree | e20df9dd87a9226d7630b9327182dc420e613f8e /media-sound | |
parent | dev-python/tagpy: update EAPI 7 -> 8 (diff) | |
download | gentoo-d1859296520c8fc64819ebf1d7d172dad01ff7b7.tar.gz gentoo-d1859296520c8fc64819ebf1d7d172dad01ff7b7.tar.bz2 gentoo-d1859296520c8fc64819ebf1d7d172dad01ff7b7.zip |
media-sound/sonata: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/808725
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/sonata/sonata-1.7.0-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-sound/sonata/sonata-1.7.0-r1.ebuild b/media-sound/sonata/sonata-1.7.0-r1.ebuild new file mode 100644 index 000000000000..9f2634cd65b6 --- /dev/null +++ b/media-sound/sonata/sonata-1.7.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +inherit desktop distutils-r1 xdg + +DESCRIPTION="Elegant GTK+ music client for the Music Player Daemon (MPD)" +HOMEPAGE="https://www.nongnu.org/sonata/" +SRC_URI="https://github.com/multani/sonata/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="dbus taglib" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + taglib? ( dev-python/tagpy[${PYTHON_USEDEP}] ) + ') +" +BDEPEND="virtual/pkgconfig" + +distutils_enable_tests unittest + +src_install() { + distutils-r1_src_install + doicon -s 128 sonata/pixmaps/sonata.png + rm -r "${ED}"/usr/share/sonata || die +} |