--- /dev/null
+# 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.1 2007/04/13 00:06:19 rbu Exp $
+
+*herrie-1.5.1 (13 Apr 2007)
+
+ 13 Apr 2007; Robert Buchholz <rbu@gentoo.org>
+ +files/herrie-1.5.1-chost.patch,
+ +files/herrie-1.5.1-gnu-source-define.patch, +metadata.xml,
+ +herrie-1.5.1.ebuild:
+ Initial ebuild, based on the contribution by Ruud Althuizen (bug #152371)
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX herrie-1.5.1-chost.patch 515 RMD160 ae8012b7fdd25dec8d33f8542894ec342969829d SHA1 4811773dde7bb9fda657569270a0b29506170d89 SHA256 7500ebc34b46c651d8ee9f7f6376072211eb6111ccfe0a429662f28a4379d268
+MD5 a7a70e7955eb6853a59c19a9d08a822b files/herrie-1.5.1-chost.patch 515
+RMD160 ae8012b7fdd25dec8d33f8542894ec342969829d files/herrie-1.5.1-chost.patch 515
+SHA256 7500ebc34b46c651d8ee9f7f6376072211eb6111ccfe0a429662f28a4379d268 files/herrie-1.5.1-chost.patch 515
+AUX herrie-1.5.1-gnu-source-define.patch 610 RMD160 b30d84b6186c58515f31d355fbaf6555341edc15 SHA1 c343e04977f1ac2a3a4edd20a458b0a44959b838 SHA256 490b8b0ce1c38e723d0b486d5498933170c8f335369103554e47401722059993
+MD5 f03263043f896993859702b8509bacd5 files/herrie-1.5.1-gnu-source-define.patch 610
+RMD160 b30d84b6186c58515f31d355fbaf6555341edc15 files/herrie-1.5.1-gnu-source-define.patch 610
+SHA256 490b8b0ce1c38e723d0b486d5498933170c8f335369103554e47401722059993 files/herrie-1.5.1-gnu-source-define.patch 610
+DIST herrie-1.5.1.tar.gz 53842 RMD160 02315c6c8bf1626a5abff0d511b26e2901a05184 SHA1 5e7fb0dc263e882dfa440f48a43abc4b802a7155 SHA256 cf12a622541ab3954ef08dbad097a4c20eb38c99ecba200f332a2ae8eca80800
+EBUILD herrie-1.5.1.ebuild 1989 RMD160 ca173eb82f2a0861e8483329da69db7a2febd624 SHA1 f6297e38f18c8f113f61e6bccb363303a164e8ca SHA256 e0ab68a924ea492050aeb5016e6b5578c2e97615f1cabc79ee9c508931a9dd26
+MD5 020053e615aed51d8a55f49ea669e4fa herrie-1.5.1.ebuild 1989
+RMD160 ca173eb82f2a0861e8483329da69db7a2febd624 herrie-1.5.1.ebuild 1989
+SHA256 e0ab68a924ea492050aeb5016e6b5578c2e97615f1cabc79ee9c508931a9dd26 herrie-1.5.1.ebuild 1989
+MISC ChangeLog 481 RMD160 43832fa3a5ba0b2b28767f9cd546c0d008123136 SHA1 0c9b92ac68d5b777d6d0e25928aeff7895725000 SHA256 139648ff24c0950e5ab18731816f6efca048990ceda7c4afd43350cbf06e22b8
+MD5 074bc9eb8da388f5f6d34025ebc07df7 ChangeLog 481
+RMD160 43832fa3a5ba0b2b28767f9cd546c0d008123136 ChangeLog 481
+SHA256 139648ff24c0950e5ab18731816f6efca048990ceda7c4afd43350cbf06e22b8 ChangeLog 481
+MISC metadata.xml 911 RMD160 e9b4f716a180fda312cd194192439d16bbaa435c SHA1 99af99f3f799499ebdb9e479ac771d1c0ad05bf7 SHA256 8ab5a1e832275427a7e49bf3d44dec79f07bfcc927854aaad327c7a9c0bec61b
+MD5 f1f8e0f1c7376cdf1a3d2abe80966d80 metadata.xml 911
+RMD160 e9b4f716a180fda312cd194192439d16bbaa435c metadata.xml 911
+SHA256 8ab5a1e832275427a7e49bf3d44dec79f07bfcc927854aaad327c7a9c0bec61b metadata.xml 911
+MD5 04b109c5d327b250e3f6337c3722faa0 files/digest-herrie-1.5.1 235
+RMD160 8b901a6134da39dc81eb50dd4f8b1600e3a977ba files/digest-herrie-1.5.1 235
+SHA256 0e5c8a2c33fd0937a78df6eb151dc0511db19c01b550da2aa91729a5bf186335 files/digest-herrie-1.5.1 235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFGHsmByZx3L/ph1soRAnB9AKCw4gQJ7xpvRXmiJgqraSee4nT/2QCeOSRE
+hX/3zqt5upQ2/hraJPm6Cbs=
+=/QI9
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 a4b208a6486d175787cff36b886fc06e herrie-1.5.1.tar.gz 53842
+RMD160 02315c6c8bf1626a5abff0d511b26e2901a05184 herrie-1.5.1.tar.gz 53842
+SHA256 cf12a622541ab3954ef08dbad097a4c20eb38c99ecba200f332a2ae8eca80800 herrie-1.5.1.tar.gz 53842
--- /dev/null
+This patch sets the OS variable according to the CHOST given by the environment,
+thus enabling cross-compilation.
+
+--- configure.orig 2007-04-12 23:51:53.000000000 +0200
++++ configure 2007-04-13 00:03:10.000000000 +0200
+@@ -45,6 +45,21 @@
+ CFG_CURSES_HEADER=ncurses
+ CFG_CURSES_LIB=ncurses
+
++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
--- /dev/null
+From: Ed Schouten <ed@flippo.fxq.nl>
+Date: Wed, 21 Mar 2007 17:52:11 +0000 (+0100)
+Subject: Make sure we don't define _GNU_SOURCE twice.
+X-Git-Url: http://g-rave.nl/gitweb?p=herrie;a=commitdiff_plain;h=a8033171d7e0abc9afe5d6cf7504716192a9fcc1
+
+Make sure we don't define _GNU_SOURCE twice.
+---
+
+diff --git a/herrie/src/stdinc.h b/herrie/src/stdinc.h
+index 6b5998d..c079e44 100644
+--- a/herrie/src/stdinc.h
++++ b/herrie/src/stdinc.h
+@@ -25,7 +25,9 @@
+ */
+
+ /* Teach glibc a little lesson */
++#ifndef _GNU_SOURCE
+ #define _GNU_SOURCE
++#endif /* !_GNU_SOURCE */
+ #undef _FORTIFY_SOURCE
+
+ #include <sys/param.h>
--- /dev/null
+# 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.5.1.ebuild,v 1.1 2007/04/13 00:06:19 rbu Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Herrie is a command line music player."
+HOMEPAGE="http://herrie.info/"
+SRC_URI="http://g-rave.nl/projects/herrie/distfiles/${P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ao http modplug mp3 scrobbler sdl sndfile vorbis linguas_nl linguas_tr"
+
+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 )
+ scrobbler? ( net-misc/curl
+ dev-libs/openssl )
+ sdl? ( media-libs/libsdl )
+ sndfile? ( media-libs/libsndfile )
+ vorbis? ( media-libs/libvorbis )"
+RDEPEND="${DEPEND}"
+DEPEND="sys-devel/gettext"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-chost.patch"
+ epatch "${FILESDIR}/${P}-gnu-source-define.patch"
+}
+
+src_compile() {
+ if ! use vorbis && ! use mp3 && ! use modplug && ! use sndfile ; then
+ die "You need to enable at least one audio output (USE must contain any of modplug, mp3, sndfile, vorbis)."
+ fi
+
+ local EXTRA_CONF=""
+ use ao && EXTRA_CONF="${EXTRA_CONF} ao"
+ use http || EXTRA_CONF="${EXTRA_CONF} no_http"
+ use mp3 || EXTRA_CONF="${EXTRA_CONF} no_mp3"
+ use modplug || EXTRA_CONF="${EXTRA_CONF} no_modplug"
+ use scrobbler || EXTRA_CONF="${EXTRA_CONF} no_scrobbler"
+ use sdl && EXTRA_CONF="${EXTRA_CONF} sdl"
+ use sndfile || EXTRA_CONF="${EXTRA_CONF} no_sndfile"
+ use vorbis || EXTRA_CONF="${EXTRA_CONF} no_vorbis"
+
+ CC="$(tc-getCC)" PREFIX=/usr MANDIR=/usr/share/man ./configure ${EXTRA_CONF} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ dobin herrie
+ doman herrie.1
+
+ dodoc README ChangeLog
+
+ insinto /etc
+ newins herrie.conf.sample herrie.conf
+
+ use linguas_nl && domo nl.mo
+ use linguas_tr && domo tr.mo
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>rbu@gentoo.org</email>
+ <name>Robert Buchholz</name>
+ </maintainer>
+ <longdescription lang="en">
+ Herrie is a minimalistic music player that uses the command
+ line. It is written to support a variety of operating systems,
+ audio subsystems and file formats, including playlists.
+
+ Herrie has a split-screen user interface, with a playlist at
+ the top of the screen and a file browser at the bottom. When
+ tracks are added to the playlist, Herrie consumes them from the
+ top one by one. It is thus an application that allows you to
+ batch music for playback.
+
+ Herrie also has some more exotic features, including support
+ for AudioScrobbler and the ability to chroot() itself
+ into a directory.
+ </longdescription>
+</pkgmetadata>