| 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/audacious/audacious-3.2.4.ebuild,v 1.3 2012/07/09 02:35:09 mr_bones_ Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
inherit eutils |
| 7 |
|
| 8 |
MY_P="${P/_/-}" |
| 9 |
S="${WORKDIR}/${MY_P}" |
| 10 |
DESCRIPTION="Audacious Player - Your music, your way, no exceptions" |
| 11 |
HOMEPAGE="http://audacious-media-player.org/" |
| 12 |
SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2 |
| 13 |
mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2" |
| 14 |
|
| 15 |
LICENSE="GPL-2" |
| 16 |
SLOT="0" |
| 17 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" |
| 18 |
|
| 19 |
IUSE="chardet nls session" |
| 20 |
|
| 21 |
RDEPEND=">=dev-libs/dbus-glib-0.60 |
| 22 |
>=dev-libs/glib-2.16 |
| 23 |
dev-libs/libxml2 |
| 24 |
>=x11-libs/cairo-1.2.6 |
| 25 |
>=x11-libs/pango-1.8.0 |
| 26 |
x11-libs/gtk+:2 |
| 27 |
session? ( x11-libs/libSM )" |
| 28 |
|
| 29 |
DEPEND="${RDEPEND} |
| 30 |
virtual/pkgconfig |
| 31 |
chardet? ( >=app-i18n/libguess-1.1 ) |
| 32 |
nls? ( dev-util/intltool )" |
| 33 |
|
| 34 |
PDEPEND="~media-plugins/audacious-plugins-3.2.4" |
| 35 |
|
| 36 |
src_configure() { |
| 37 |
# D-Bus is a mandatory dependency, remote control, |
| 38 |
# session management and some plugins depend on this. |
| 39 |
# Building without D-Bus is *unsupported* and a USE-flag |
| 40 |
# will not be added due to the bug reports that will result. |
| 41 |
# Bugs #197894, #199069, #207330, #208606 |
| 42 |
# Disable gtk+:3 till Audacious 3.3 |
| 43 |
econf \ |
| 44 |
--enable-dbus \ |
| 45 |
--disable-gtk3 \ |
| 46 |
$(use_enable chardet) \ |
| 47 |
$(use_enable nls) \ |
| 48 |
$(use_enable session sm) |
| 49 |
} |
| 50 |
|
| 51 |
src_install() { |
| 52 |
default |
| 53 |
dodoc AUTHORS |
| 54 |
|
| 55 |
# Gentoo_ice skin installation; bug #109772 |
| 56 |
insinto /usr/share/audacious/Skins/gentoo_ice |
| 57 |
doins "${WORKDIR}"/gentoo_ice/* |
| 58 |
docinto gentoo_ice |
| 59 |
dodoc "${WORKDIR}"/README |
| 60 |
} |