annotate media-sound/exaile/exaile-3.4.5.ebuild @ 486:6ed1ab937e60

add ebuild for the current openjdk 12
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 16 Sep 2019 08:45:06 +0200
parents 19a5242dd10f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
392
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2013 Gentoo Foundation
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: $
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 EAPI=5
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 PYTHON_COMPAT=( python{2_6,2_7} )
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 PYTHON_REQ_USE="sqlite"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 inherit fdo-mime multilib python-r1
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 DESCRIPTION="a media player aiming to be similar to AmaroK, but for GTK+"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 HOMEPAGE="http://www.exaile.org/"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SRC_URI="https://github.com/exaile/exaile/archive/${PV}.tar.gz"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 LICENSE="GPL-2 GPL-3"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 SLOT="0"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 IUSE="cddb libnotify nls"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 RDEPEND="dev-python/dbus-python
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 >=media-libs/mutagen-1.10
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 >=dev-python/pygtk-2.17
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 >=dev-python/pygobject-2.18:2
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 dev-python/gst-python:0.10
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 media-libs/gst-plugins-good:0.10
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 media-plugins/gst-plugins-meta:0.10
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 libnotify? ( dev-python/notify-python )
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 cddb? ( dev-python/cddb-py )"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 DEPEND="nls? ( dev-util/intltool
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 sys-devel/gettext )"
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 RESTRICT="test" #315589
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 src_compile() {
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 if use nls; then
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 emake locale || die
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 fi
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 }
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 src_install() {
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 emake \
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 PREFIX=/usr \
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 LIBINSTALLDIR=/$(get_libdir) \
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 DESTDIR="${D}" \
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 install$(use nls || echo _no_locale) || die
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 dodoc FUTURE || die
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 }
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 pkg_postinst() {
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 fdo-mime_desktop_database_update
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 fdo-mime_mime_database_update
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 }
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55 pkg_postrm() {
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 fdo-mime_desktop_database_update
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 fdo-mime_mime_database_update
19a5242dd10f ebuild for the latest exaile
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58 }