diff options
author | Robert Buchholz <rbu@gentoo.org> | 2007-07-01 15:07:59 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2007-07-01 15:07:59 +0000 |
commit | d2e7a67ecc1a07396e2671e278e43d45fd330009 (patch) | |
tree | c913256aec80d6fc66c1058b514863ab75a03449 /media-sound/herrie | |
parent | Stable for HPPA (bug #183835). (diff) | |
download | gentoo-2-d2e7a67ecc1a07396e2671e278e43d45fd330009.tar.gz gentoo-2-d2e7a67ecc1a07396e2671e278e43d45fd330009.tar.bz2 gentoo-2-d2e7a67ecc1a07396e2671e278e43d45fd330009.zip |
Version bump, output default is now alsa. Upstream added pulseaudio support and greek locale
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-sound/herrie')
-rw-r--r-- | media-sound/herrie/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/herrie/files/digest-herrie-1.8 | 3 | ||||
-rw-r--r-- | media-sound/herrie/files/herrie-1.8-chost.patch | 29 | ||||
-rw-r--r-- | media-sound/herrie/herrie-1.8.ebuild | 72 |
4 files changed, 112 insertions, 1 deletions
diff --git a/media-sound/herrie/ChangeLog b/media-sound/herrie/ChangeLog index ea115303507c..015a341f92a6 100644 --- a/media-sound/herrie/ChangeLog +++ b/media-sound/herrie/ChangeLog @@ -1,6 +1,13 @@ # 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.10 2007/06/05 19:26:40 rbu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/herrie/ChangeLog,v 1.11 2007/07/01 15:07:59 rbu Exp $ + +*herrie-1.8 (01 Jul 2007) + + 01 Jul 2007; Robert Buchholz <rbu@gentoo.org> + +files/herrie-1.8-chost.patch, +herrie-1.8.ebuild: + Version bump, output default is now alsa. Upstream added pulseaudio support + and greek locale *herrie-1.7-r1 (05 Jun 2007) diff --git a/media-sound/herrie/files/digest-herrie-1.8 b/media-sound/herrie/files/digest-herrie-1.8 new file mode 100644 index 000000000000..09ba3c4a16d6 --- /dev/null +++ b/media-sound/herrie/files/digest-herrie-1.8 @@ -0,0 +1,3 @@ +MD5 99a9c9944108d011ef092bb87dea8c33 herrie-1.8.tar.bz2 60521 +RMD160 0e943316ff001f07670366297d245641d3777c9a herrie-1.8.tar.bz2 60521 +SHA256 99b2f32f9503871fd2247966b95b3192e75705f5134b22dc6680432ead57fbd8 herrie-1.8.tar.bz2 60521 diff --git a/media-sound/herrie/files/herrie-1.8-chost.patch b/media-sound/herrie/files/herrie-1.8-chost.patch new file mode 100644 index 000000000000..1949972baa6a --- /dev/null +++ b/media-sound/herrie/files/herrie-1.8-chost.patch @@ -0,0 +1,29 @@ +This patch sets the OS variable according to the CHOST given by the environment, +thus enabling cross-compilation. + +Index: herrie-1.8/configure +=================================================================== +--- herrie-1.8.orig/configure ++++ herrie-1.8/configure +@@ -50,6 +50,21 @@ CFG_VORBIS=yes + CFG_XSPF=yes + DOIT=@ + ++case "$CHOST" in ++ *-darwin*) ++ OS=Darwin ++ ;; ++ *-linux*) ++ OS=Linux ++ ;; ++ *-freebsd*) ++ OS=FreeBSD ++ ;; ++ *-solaris*) ++ OS=SunOS ++ ;; ++esac ++ + # Operating system defaults + [ "$OS" != "" ] || OS=`uname` + case $OS in diff --git a/media-sound/herrie/herrie-1.8.ebuild b/media-sound/herrie/herrie-1.8.ebuild new file mode 100644 index 000000000000..03900e3c499a --- /dev/null +++ b/media-sound/herrie/herrie-1.8.ebuild @@ -0,0 +1,72 @@ +# 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.8.ebuild,v 1.1 2007/07/01 15:07:59 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 nls pulseaudio oss + linguas_de linguas_nl linguas_pl linguas_tr linguas_sv linguas_ga" + +DEPEND="sys-libs/ncurses + >=dev-libs/glib-2.0 + media-libs/alsa-lib + ao? ( media-libs/libao ) + http? ( net-misc/curl ) + modplug? ( media-libs/libmodplug ) + mp3? ( media-libs/libmad + media-libs/libid3tag ) + pulseaudio? ( media-sound/pulseaudio ) + 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}/${P}-chost.patch" +} + +src_compile() { + # We could add coreaudio here if on osx + local EXTRA_CONF="verbose no_strip alsa" + 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 nls || EXTRA_CONF="${EXTRA_CONF} no_nls" + use oss && EXTRA_CONF="${EXTRA_CONF} oss" + use pulseaudio && EXTRA_CONF="${EXTRA_CONF} pulse" + 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 +} |