| 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/gmpc/gmpc-11.8.16.ebuild,v 1.9 2013/03/29 20:46:57 angelos Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
VALA_MIN_API_VERSION=0.12
|
| 7 |
|
| 8 |
inherit autotools eutils gnome2-utils vala
|
| 9 |
|
| 10 |
DESCRIPTION="A GTK+2 client for the Music Player Daemon"
|
| 11 |
HOMEPAGE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
|
| 12 |
SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="amd64 ppc x86"
|
| 17 |
IUSE="nls xspf +unique"
|
| 18 |
|
| 19 |
RDEPEND="dev-db/sqlite:3
|
| 20 |
>=dev-libs/glib-2.16:2
|
| 21 |
dev-libs/libxml2:2
|
| 22 |
>=media-libs/libmpd-11.8
|
| 23 |
net-libs/libsoup:2.4
|
| 24 |
>=x11-libs/gtk+-2.18:2
|
| 25 |
x11-libs/libX11
|
| 26 |
x11-themes/hicolor-icon-theme
|
| 27 |
unique? ( dev-libs/libunique:1 )
|
| 28 |
xspf? ( >=media-libs/libxspf-1.2 )"
|
| 29 |
DEPEND="${RDEPEND}
|
| 30 |
$(vala_depend)
|
| 31 |
app-text/gnome-doc-utils
|
| 32 |
>=dev-util/gob-2.0.17
|
| 33 |
virtual/pkgconfig
|
| 34 |
nls? ( dev-util/intltool
|
| 35 |
sys-devel/gettext )"
|
| 36 |
|
| 37 |
DOCS=( AUTHORS README )
|
| 38 |
|
| 39 |
src_prepare() {
|
| 40 |
epatch "${FILESDIR}"/${P}-underlinking.patch
|
| 41 |
sed -i -e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:" configure.ac || die
|
| 42 |
eautoreconf
|
| 43 |
vala_src_prepare
|
| 44 |
}
|
| 45 |
|
| 46 |
src_configure() {
|
| 47 |
econf \
|
| 48 |
--disable-static \
|
| 49 |
--disable-libspiff \
|
| 50 |
--disable-appindicator \
|
| 51 |
--enable-mmkeys \
|
| 52 |
$(use_enable nls) \
|
| 53 |
$(use_enable unique) \
|
| 54 |
$(use_enable xspf libxspf)
|
| 55 |
}
|
| 56 |
|
| 57 |
pkg_preinst() { gnome2_icon_savelist; }
|
| 58 |
pkg_postinst() { gnome2_icon_cache_update; }
|
| 59 |
pkg_postrm() { gnome2_icon_cache_update; }
|