1 |
commit: d1859296520c8fc64819ebf1d7d172dad01ff7b7 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 00:34:40 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 01:56:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1859296 |
7 |
|
8 |
media-sound/sonata: update EAPI 7 -> 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/808725 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
media-sound/sonata/sonata-1.7.0-r1.ebuild | 36 +++++++++++++++++++++++++++++++ |
14 |
1 file changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/media-sound/sonata/sonata-1.7.0-r1.ebuild b/media-sound/sonata/sonata-1.7.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..9f2634cd65b6 |
19 |
--- /dev/null |
20 |
+++ b/media-sound/sonata/sonata-1.7.0-r1.ebuild |
21 |
@@ -0,0 +1,36 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+DISTUTILS_SINGLE_IMPL=1 |
29 |
+DISTUTILS_USE_PEP517=setuptools |
30 |
+inherit desktop distutils-r1 xdg |
31 |
+ |
32 |
+DESCRIPTION="Elegant GTK+ music client for the Music Player Daemon (MPD)" |
33 |
+HOMEPAGE="https://www.nongnu.org/sonata/" |
34 |
+SRC_URI="https://github.com/multani/sonata/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-3" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~ppc ~x86" |
39 |
+IUSE="dbus taglib" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ $(python_gen_cond_dep ' |
43 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
44 |
+ dev-python/python-mpd[${PYTHON_USEDEP}] |
45 |
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) |
46 |
+ taglib? ( dev-python/tagpy[${PYTHON_USEDEP}] ) |
47 |
+ ') |
48 |
+" |
49 |
+BDEPEND="virtual/pkgconfig" |
50 |
+ |
51 |
+distutils_enable_tests unittest |
52 |
+ |
53 |
+src_install() { |
54 |
+ distutils-r1_src_install |
55 |
+ doicon -s 128 sonata/pixmaps/sonata.png |
56 |
+ rm -r "${ED}"/usr/share/sonata || die |
57 |
+} |