diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/herrie/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/herrie/files/digest-herrie-1.7 | 3 | ||||
-rw-r--r-- | media-sound/herrie/herrie-1.7.ebuild | 65 |
3 files changed, 78 insertions, 1 deletions
diff --git a/media-sound/herrie/ChangeLog b/media-sound/herrie/ChangeLog index 96c6aeeb868d..18f39093e861 100644 --- a/media-sound/herrie/ChangeLog +++ b/media-sound/herrie/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-sound/herrie # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/herrie/ChangeLog,v 1.8 2007/05/12 11:31:09 rbu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/herrie/ChangeLog,v 1.9 2007/06/03 20:35:16 rbu Exp $ + +*herrie-1.7 (03 Jun 2007) + + 03 Jun 2007; Robert Buchholz <rbu@gentoo.org> +herrie-1.7.ebuild: + Version bump: + * Removed sdl support as it was completely broken + * New swedish locale + * removed scrobbler use flag and integrated it into USE=http + * Jukebox mode 12 May 2007; Robert Buchholz <rbu@gentoo.org> metadata.xml: Added to sound herd diff --git a/media-sound/herrie/files/digest-herrie-1.7 b/media-sound/herrie/files/digest-herrie-1.7 new file mode 100644 index 000000000000..636a0cc45ce8 --- /dev/null +++ b/media-sound/herrie/files/digest-herrie-1.7 @@ -0,0 +1,3 @@ +MD5 cbde0e97dd514ef8434865cd448b8805 herrie-1.7.tar.bz2 56836 +RMD160 60a433cf94699cb1af04bbbc8c27de6a498bc954 herrie-1.7.tar.bz2 56836 +SHA256 fc89d1cf3b899e16333fe1c4dbf2313b3492ba938bd0947446974a0c7889d3c3 herrie-1.7.tar.bz2 56836 diff --git a/media-sound/herrie/herrie-1.7.ebuild b/media-sound/herrie/herrie-1.7.ebuild new file mode 100644 index 000000000000..ba12c00f6a5e --- /dev/null +++ b/media-sound/herrie/herrie-1.7.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/herrie/herrie-1.7.ebuild,v 1.1 2007/06/03 20:35:16 rbu Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Herrie is a command line music player." +HOMEPAGE="http://herrie.info/" +SRC_URI="http://herrie.info/distfiles/${P}.tar.bz2" + +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ao http modplug mp3 sndfile vorbis xspf unicode + linguas_de linguas_nl linguas_pl linguas_tr linguas_sv" + +DEPEND="sys-libs/ncurses + >=dev-libs/glib-2.0 + ao? ( media-libs/libao ) + http? ( net-misc/curl ) + modplug? ( media-libs/libmodplug ) + mp3? ( media-libs/libmad + media-libs/libid3tag ) + sndfile? ( media-libs/libsndfile ) + vorbis? ( media-libs/libvorbis ) + xspf? ( >=media-libs/libspiff-0.6.5 )" +RDEPEND="${DEPEND}" +DEPEND="sys-devel/gettext + dev-util/pkgconfig" + +pkg_setup() { + if use unicode && ! built_with_use sys-libs/ncurses unicode; then + echo + eerror "Rebuild sys-libs/ncurses with USE=unicode if you need unicode in herrie." + die "Rebuild sys-libs/ncurses with USE=unicode if you need unicode in herrie." + fi +} + +src_unpack() { + unpack "${A}" + cd "${S}" + + epatch "${FILESDIR}/${PN}-1.5.1-chost.patch" +} + +src_compile() { + local EXTRA_CONF="verbose no_strip" + use ao && EXTRA_CONF="${EXTRA_CONF} ao" + use http || EXTRA_CONF="${EXTRA_CONF} no_http no_scrobbler" + use mp3 || EXTRA_CONF="${EXTRA_CONF} no_mp3" + use modplug || EXTRA_CONF="${EXTRA_CONF} no_modplug" + use sndfile || EXTRA_CONF="${EXTRA_CONF} no_sndfile" + use unicode || EXTRA_CONF="${EXTRA_CONF} ncurses" + use vorbis || EXTRA_CONF="${EXTRA_CONF} no_vorbis" + use xspf || EXTRA_CONF="${EXTRA_CONF} no_xspf" + + einfo "./configure ${EXTRA_CONF}" + CC="$(tc-getCC)" PREFIX=/usr MANDIR=/usr/share/man ./configure ${EXTRA_CONF} || die "configure failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc README ChangeLog +} |