Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/exaile/
Date: Tue, 05 Feb 2019 23:27:33
Message-Id: 1549409202.b09dc87fc6873c1f03208a7bc907d3cccc288ec1.asturm@gentoo
1 commit: b09dc87fc6873c1f03208a7bc907d3cccc288ec1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 5 22:31:31 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 5 23:26:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b09dc87f
7
8 media-sound/exaile: 4.0.0_rc3 version bump, EAPI-7 bump
9
10 Fix DESCRIPTION
11 Use https
12
13 Thanks-to: Simon <sur3 <AT> gmx.de>
14 Thanks-to: Sander Sweers <Sander.Sweers <AT> gmail.com>
15 Bug: https://bugs.gentoo.org/621900
16 Package-Manager: Portage-2.3.59, Repoman-2.3.12
17 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
18
19 media-sound/exaile/Manifest | 1 +
20 media-sound/exaile/exaile-4.0.0_rc3.ebuild | 79 ++++++++++++++++++++++++++++++
21 media-sound/exaile/metadata.xml | 3 ++
22 3 files changed, 83 insertions(+)
23
24 diff --git a/media-sound/exaile/Manifest b/media-sound/exaile/Manifest
25 index bdbf1924d7f..d0dee184a36 100644
26 --- a/media-sound/exaile/Manifest
27 +++ b/media-sound/exaile/Manifest
28 @@ -1 +1,2 @@
29 DIST exaile-3.4.5.tar.gz 3662446 BLAKE2B 13343a5468a4f7f309e173e5195d356d62e10efc20c99cc70a1f0215fafa073eeec19b4e35ae52e11a62575a72263ad11ebdf105fcdd066654f8d6c2b1ff6864 SHA512 9337b86ed2f6a13071615bd46a7a05a6564011a4e1fef4cb42925336864c07854cfe497d8defe65c4e287fd9546de6a51543180c5ce6a84525506e57209914be
30 +DIST exaile-4.0.0rc3.tar.gz 3627782 BLAKE2B 1c986309798d4cb78969a7443e4c29e02ca3a9c8e316264641ffafe97dd46b6a1745988230c13469ce2d9c37aadf7b07eee5bcd5836f33b1b2d25e3ebb69f574 SHA512 d3822a7d88934c90a2856074f177a346b19896ecca54f33e7506d37a0b25170983c057feaae162c2685780e7f0d1a6edc8ce7addbcc04cacf2d2b25e0c9f36de
31
32 diff --git a/media-sound/exaile/exaile-4.0.0_rc3.ebuild b/media-sound/exaile/exaile-4.0.0_rc3.ebuild
33 new file mode 100644
34 index 00000000000..f3e1373fd4a
35 --- /dev/null
36 +++ b/media-sound/exaile/exaile-4.0.0_rc3.ebuild
37 @@ -0,0 +1,79 @@
38 +# Copyright 1999-2019 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +PYTHON_COMPAT=( python2_7 )
44 +PYTHON_REQ_USE="sqlite"
45 +inherit python-single-r1 xdg-utils
46 +
47 +if [[ ${PV} = *9999* ]]; then
48 + inherit git-r3
49 + EGIT_REPO_URI="https://github.com/exaile/exaile.git"
50 +else
51 + SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
52 + KEYWORDS="~amd64 ~sparc ~x86"
53 + S="${WORKDIR}/${PN}-${PV/_/}"
54 +fi
55 +
56 +DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
57 +HOMEPAGE="https://www.exaile.org/"
58 +
59 +LICENSE="GPL-2 GPL-3"
60 +SLOT="0"
61 +IUSE="cddb libnotify nls scrobbler"
62 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
63 +
64 +RDEPEND="${PYTHON_DEPS}
65 + dev-libs/gobject-introspection[${PYTHON_USEDEP}]
66 + dev-python/bsddb3[${PYTHON_USEDEP}]
67 + dev-python/dbus-python[${PYTHON_USEDEP}]
68 + dev-python/gst-python:1.0[${PYTHON_USEDEP}]
69 + dev-python/pycairo[${PYTHON_USEDEP}]
70 + >=dev-python/pygobject-3.13.2:3[${PYTHON_USEDEP}]
71 + >=media-libs/gst-plugins-base-1.6:1.0
72 + >=media-libs/gst-plugins-good-1.4:1.0
73 + >=media-libs/mutagen-1.10[${PYTHON_USEDEP}]
74 + media-plugins/gst-plugins-meta:1.0
75 + >=x11-libs/gtk+-3.10:3[introspection]
76 + cddb? ( dev-python/cddb-py )
77 + libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
78 + scrobbler? ( dev-python/pylast[${PYTHON_USEDEP}] )
79 +"
80 +BDEPEND="
81 + nls? (
82 + dev-util/intltool
83 + sys-devel/gettext
84 + )
85 +"
86 +
87 +RESTRICT="test" #315589
88 +
89 +pkg_setup() {
90 + python-single-r1_pkg_setup
91 +}
92 +
93 +src_compile() {
94 + use nls && emake locale
95 +}
96 +
97 +src_install() {
98 + emake \
99 + PREFIX=/usr \
100 + LIBINSTALLDIR=/usr/$(get_libdir) \
101 + DESTDIR="${D}" \
102 + install$(use nls || echo _no_locale)
103 +
104 + python_optimize "${D}/usr/$(get_libdir)/${PN}"
105 + python_optimize "${D}/usr/share/${PN}"
106 +}
107 +
108 +pkg_postinst() {
109 + xdg_desktop_database_update
110 + xdg_mimeinfo_database_update
111 +}
112 +
113 +pkg_postrm() {
114 + xdg_desktop_database_update
115 + xdg_mimeinfo_database_update
116 +}
117
118 diff --git a/media-sound/exaile/metadata.xml b/media-sound/exaile/metadata.xml
119 index 3f99551b683..56d330882f0 100644
120 --- a/media-sound/exaile/metadata.xml
121 +++ b/media-sound/exaile/metadata.xml
122 @@ -9,4 +9,7 @@
123 <remote-id type="launchpad">exaile</remote-id>
124 <remote-id type="github">exaile/exaile</remote-id>
125 </upstream>
126 + <use>
127 + <flag name="scrobbler">Enable audioscrobbler/last.fm support</flag>
128 + </use>
129 </pkgmetadata>