diff options
author | Robert Buchholz <rbu@gentoo.org> | 2007-04-13 00:06:19 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2007-04-13 00:06:19 +0000 |
commit | 92b99740e77c362d8ed24c3e0a21be865ae1616f (patch) | |
tree | c7e0b0f392bcdfb9950f5e57fbcdd1d4da07b9f6 /media-sound/herrie | |
parent | Marked ~hppa too. (diff) | |
download | gentoo-2-92b99740e77c362d8ed24c3e0a21be865ae1616f.tar.gz gentoo-2-92b99740e77c362d8ed24c3e0a21be865ae1616f.tar.bz2 gentoo-2-92b99740e77c362d8ed24c3e0a21be865ae1616f.zip |
Initial ebuild, based on the contribution by Ruud Althuizen (bug #152371)
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-sound/herrie')
-rw-r--r-- | media-sound/herrie/ChangeLog | 12 | ||||
-rw-r--r-- | media-sound/herrie/Manifest | 24 | ||||
-rw-r--r-- | media-sound/herrie/files/digest-herrie-1.5.1 | 3 | ||||
-rw-r--r-- | media-sound/herrie/files/herrie-1.5.1-chost.patch | 27 | ||||
-rw-r--r-- | media-sound/herrie/files/herrie-1.5.1-gnu-source-define.patch | 22 | ||||
-rw-r--r-- | media-sound/herrie/herrie-1.5.1.ebuild | 69 | ||||
-rw-r--r-- | media-sound/herrie/metadata.xml | 24 |
7 files changed, 181 insertions, 0 deletions
diff --git a/media-sound/herrie/ChangeLog b/media-sound/herrie/ChangeLog new file mode 100644 index 000000000000..df0457a95be8 --- /dev/null +++ b/media-sound/herrie/ChangeLog @@ -0,0 +1,12 @@ +# 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) + diff --git a/media-sound/herrie/Manifest b/media-sound/herrie/Manifest new file mode 100644 index 000000000000..ae89b4050760 --- /dev/null +++ b/media-sound/herrie/Manifest @@ -0,0 +1,24 @@ +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 1892 RMD160 7d26b61bd4a767d3fb5e5b0c32681aa4a6245060 SHA1 47444791e61babc07151027e12e21b3a61e35089 SHA256 8a297157d5ec227d397a584d419500e6e06a29d2c4beea22a43dd26e1cd51ea5 +MD5 73505a1f39294ccf7dc5fa5fdc246940 herrie-1.5.1.ebuild 1892 +RMD160 7d26b61bd4a767d3fb5e5b0c32681aa4a6245060 herrie-1.5.1.ebuild 1892 +SHA256 8a297157d5ec227d397a584d419500e6e06a29d2c4beea22a43dd26e1cd51ea5 herrie-1.5.1.ebuild 1892 +MISC ChangeLog 394 RMD160 7f84281a091504d86fbfd863f8a94f3b6bb52bc6 SHA1 29bb19ab830e5e91b605f362c14bf1a508a531fc SHA256 e86c6d8275dd5afa7a84bc9387df1b329786d4ac12472fea0a8a2b97c4ffacab +MD5 a5c830c01b74cd548332b3191f94d4a0 ChangeLog 394 +RMD160 7f84281a091504d86fbfd863f8a94f3b6bb52bc6 ChangeLog 394 +SHA256 e86c6d8275dd5afa7a84bc9387df1b329786d4ac12472fea0a8a2b97c4ffacab ChangeLog 394 +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 diff --git a/media-sound/herrie/files/digest-herrie-1.5.1 b/media-sound/herrie/files/digest-herrie-1.5.1 new file mode 100644 index 000000000000..c58a3b59b8a7 --- /dev/null +++ b/media-sound/herrie/files/digest-herrie-1.5.1 @@ -0,0 +1,3 @@ +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 diff --git a/media-sound/herrie/files/herrie-1.5.1-chost.patch b/media-sound/herrie/files/herrie-1.5.1-chost.patch new file mode 100644 index 000000000000..be4cd778b13c --- /dev/null +++ b/media-sound/herrie/files/herrie-1.5.1-chost.patch @@ -0,0 +1,27 @@ +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 diff --git a/media-sound/herrie/files/herrie-1.5.1-gnu-source-define.patch b/media-sound/herrie/files/herrie-1.5.1-gnu-source-define.patch new file mode 100644 index 000000000000..f405259639da --- /dev/null +++ b/media-sound/herrie/files/herrie-1.5.1-gnu-source-define.patch @@ -0,0 +1,22 @@ +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> diff --git a/media-sound/herrie/herrie-1.5.1.ebuild b/media-sound/herrie/herrie-1.5.1.ebuild new file mode 100644 index 000000000000..f8af77a29ae1 --- /dev/null +++ b/media-sound/herrie/herrie-1.5.1.ebuild @@ -0,0 +1,69 @@ +# 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 +} diff --git a/media-sound/herrie/metadata.xml b/media-sound/herrie/metadata.xml new file mode 100644 index 000000000000..d617cbeda1f2 --- /dev/null +++ b/media-sound/herrie/metadata.xml @@ -0,0 +1,24 @@ +<?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> |