/[gentoo-x86]/media-sound/listen/listen-0.6.5-r1.ebuild
Gentoo

Contents of /media-sound/listen/listen-0.6.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue May 28 04:53:29 2013 UTC (6 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +23 -29 lines
Use python-single-r1.eclass instead of python.eclass. Remove deprecated optional gnome-vfs-python dependency. Fix MimeType in .desktop file.

(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.6.5-r1.ebuild,v 1.2 2012/05/05 09:02:05 mgorny Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7 inherit eutils multilib python-single-r1
8
9 DESCRIPTION="A music management and playback for GTK+ based desktops"
10 HOMEPAGE="http://www.listen-project.org/"
11 SRC_URI="http://download.listen-project.org/${PV%.*}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="cdda"
17
18 RDEPEND="${PYTHON_DEPS}
19 dev-python/dbus-python[${PYTHON_USEDEP}]
20 dev-python/gst-python:0.10[${PYTHON_USEDEP}]
21 >=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}]
22 dev-python/pyinotify[${PYTHON_USEDEP}]
23 || ( dev-python/python-xlib[${PYTHON_USEDEP}] dev-python/egg-python[${PYTHON_USEDEP}] )
24 dev-python/pywebkitgtk
25 dev-python/pyxdg[${PYTHON_USEDEP}]
26 media-libs/libgpod[python]
27 media-libs/mutagen[${PYTHON_USEDEP}]
28 media-plugins/gst-plugins-meta:0.10
29 x11-libs/libnotify
30 cdda? ( dev-python/python-musicbrainz[${PYTHON_USEDEP}] )"
31 DEPEND="${RDEPEND}
32 app-text/docbook2X
33 dev-util/intltool
34 sys-devel/gettext
35 virtual/pkgconfig
36 !media-radio/ax25-apps"
37 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
38
39 pkg_setup() {
40 python-single-r1_pkg_setup
41 }
42
43 src_prepare() {
44 epatch "${FILESDIR}"/${P}-Makefile.patch
45 sed -i -e 's:audip/mp3:audio/mp3:' misc/listen.desktop.in || die
46 }
47
48 src_compile() {
49 CHECK_DEPENDS=0 emake PYTHON="${EPYTHON}"
50 }
51
52 src_test() { :; } #324719
53
54 src_install() {
55 DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" emake install
56 dodoc README
57
58 python_optimize "${ED}"/usr/$(get_libdir)/${PN}
59 }

  ViewVC Help
Powered by ViewVC 1.1.20