annotate media-sound/exaile/exaile-3.4.2.ebuild @ 371:08cf4b4c2316

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