forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-sound/ario: convert to python-any-r1, import upstream fix for b…
…ug 562226 Package-Manager: portage-2.2.23
- Loading branch information
Showing
2 changed files
with
625 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
GNOME2_LA_PUNT=yes | ||
PYTHON_COMPAT=( python2_7 ) | ||
|
||
inherit autotools gnome2 python-any-r1 | ||
|
||
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/libgcrypt:0= | ||
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 | ||
virtual/pkgconfig | ||
sys-devel/gettext" | ||
|
||
DOCS=( AUTHORS ) | ||
|
||
pkg_setup() { | ||
python-any-r1_pkg_setup | ||
} | ||
|
||
src_prepare() { | ||
epatch "${FILESDIR}"/${P}-single-includes2.patch | ||
eautoreconf | ||
} | ||
|
||
src_configure() { | ||
econf \ | ||
--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) | ||
} |
Oops, something went wrong.