blob: a8f48fd25124d57ae1a1799d0c1576bb0d1f63ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ario/ario-1.5.ebuild,v 1.5 2011/04/13 18:00:47 tomka Exp $
EAPI=2
inherit eutils gnome2-utils
DESCRIPTION="a GTK2 MPD (Music Player Daemon) client inspired by Rythmbox"
HOMEPAGE="http://ario-player.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}-player/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="audioscrobbler dbus debug +idle libnotify nls python taglib zeroconf"
RDEPEND=">=dev-libs/glib-2.14:2
dev-libs/libunique:1
dev-libs/libxml2:2
media-libs/libmpdclient
net-misc/curl
net-libs/gnutls
>=x11-libs/gtk+-2.16:2
audioscrobbler? ( net-libs/libsoup:2.4 )
dbus? ( dev-libs/dbus-glib )
libnotify? ( x11-libs/libnotify )
python? ( dev-python/pygtk:2
dev-python/pygobject:2 )
taglib? ( media-libs/taglib )
zeroconf? ( net-dns/avahi )"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext"
src_prepare() {
epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
}
src_configure() {
econf \
--disable-dependency-tracking \
--disable-static \
--disable-xmms2 \
--enable-libmpdclient2 \
--enable-search \
--enable-playlists \
--disable-deprecations \
$(use_enable audioscrobbler) \
$(use_enable dbus) \
$(use_enable debug) \
$(use_enable idle mpdidle) \
$(use_enable libnotify notify) \
$(use_enable nls) \
$(use_enable python) \
$(use_enable taglib) \
$(use_enable zeroconf avahi)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README TODO
find "${D}" -name '*.la' -exec rm -f '{}' +
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|