diff options
Diffstat (limited to 'media-plugins/bmp-scrobbler/bmp-scrobbler-0.3.7.ebuild')
-rw-r--r-- | media-plugins/bmp-scrobbler/bmp-scrobbler-0.3.7.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-plugins/bmp-scrobbler/bmp-scrobbler-0.3.7.ebuild b/media-plugins/bmp-scrobbler/bmp-scrobbler-0.3.7.ebuild new file mode 100644 index 000000000000..f13e60c0bea9 --- /dev/null +++ b/media-plugins/bmp-scrobbler/bmp-scrobbler-0.3.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/bmp-scrobbler/bmp-scrobbler-0.3.7.ebuild,v 1.1 2005/07/19 19:42:07 chainsaw Exp $ + +IUSE="debug" + +DESCRIPTION="Audioscrobbler music-profiling plugin for Beep Media Player" +HOMEPAGE="http://www.audioscrobbler.com/" +MY_P=${P/bmp/xmms} +SRC_URI="http://static.audioscrobbler.com/plugins/${MY_P}.tar.bz2" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +DEPEND="media-sound/beep-media-player + net-misc/curl + >=media-libs/musicbrainz-2.0.2-r2" + +src_compile() { + if ! useq debug; then + sed -i 's:-DDEBUG=1:-DDEBUG=0:' Makefile.* + sed -i 's:-DMETA_DEBUG=1:-DMETA_DEBUG=0:' Makefile.* + sed -i 's:^[ \t]*printf::' scrobbler.c + fi + econf '--disable-xmms-plugin' || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog INSTALL NEWS README +} |