# HG changeset patch # User Nathan Phillip Brink # Date 2010-08-16 09:25:30 # Node ID 01eac8ac4869da8eb1fb5ee8ce078b2bfd02ffa1 # Parent 07404f525a6536e6441fbcaac848b991ae81f85c media-sound/shell-fm: Initial import from Gentoo's Portage diff --git a/media-sound/shell-fm/ChangeLog b/media-sound/shell-fm/ChangeLog new file mode 100644 --- /dev/null +++ b/media-sound/shell-fm/ChangeLog @@ -0,0 +1,55 @@ +# ChangeLog for media-sound/shell-fm +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/shell-fm/ChangeLog,v 1.13 2010/04/18 00:23:14 josejx Exp $ + + 18 Apr 2010; Joseph Jezak shell-fm-0.7.ebuild: + Add flags for ppc to build with big endian support, fixes bug #303667. + + 24 Nov 2009; Diego E. Pettenò + -shell-fm-0.6.ebuild, shell-fm-0.7.ebuild, + +files/shell-fm-0.7-asneeded.patch: + Add patch by Marco Leogrande to build with --as-needed (bug #286662), + remove old automagic version (bug #280816), remove ao USE flag, as + upstream does not seem to make it optional (bug #292743), add missing + taglib dependency. + +*shell-fm-0.7 (22 Sep 2009) + + 22 Sep 2009; Steve Dibb +shell-fm-0.7.ebuild: + Version bump + + 09 May 2009; Samuli Suominen shell-fm-0.6.ebuild: + Upload tarball instead of using unreliable github address wrt #269125 + +*shell-fm-0.6 (09 May 2009) + + 09 May 2009; Samuli Suominen + -shell-fm-0.2_p191.ebuild, -shell-fm-0.4.ebuild, +shell-fm-0.6.ebuild: + Version bump wrt #264009, thanks to Daniel Pielmeier. + +*shell-fm-0.5 (12 May 2008) + + 12 May 2008; Samuli Suominen +shell-fm-0.5.ebuild: + Version bump. + +*shell-fm-0.4 (19 Nov 2007) + + 19 Nov 2007; Samuli Suominen +shell-fm-0.4.ebuild: + Version bump for bug 199658, thanks to Thomas M. for reporting. + + 01 Sep 2007; Christian Heim metadata.xml: + Removing pioto from metadata due to his retirement (see #145404 for reference). + + 16 Jun 2007; Tobias Scherbaum + shell-fm-0.2_p191.ebuild: + Added ~ppc, bug #178673 + + 16 May 2007; Daniel Gryniewicz shell-fm-0.2_p191.ebuild: + Marked ~amd64 + + 23 Mar 2007; Mike Kelly shell-fm-0.2_p191.ebuild: + Fix $SS. + + 23 Mar 2007; Mike Kelly +metadata.xml: + Initial ebuild. + diff --git a/media-sound/shell-fm/Manifest b/media-sound/shell-fm/Manifest new file mode 100644 --- /dev/null +++ b/media-sound/shell-fm/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX shell-fm-0.7-asneeded.patch 1159 RMD160 f2d43a2d86584ec38452972fff4a064a0c91b66e SHA1 eb4cb688ea6695533879542c6363230547f31ba2 SHA256 16d9ba2df34afdc2431617248fbb073f152c97c7f8b96b09c041c8cb076898b1 +DIST shell-fm-0.7.tar.bz2 41729 RMD160 f5339703525fcfbefb85b7b9863bb0702ae2328e SHA1 f5630f082e8b2bf810ffd5aa1ce5f91d5a8b9a84 SHA256 a29084322d42712b345c09107b80986d98cb456320567e04123e6cbccdfe63d3 +EBUILD shell-fm-0.7.ebuild 1112 RMD160 6e3e5141c62439ff48ebe2f5f331ada726c6bbdd SHA1 3543ef2f017b4cdc4fed9e17f637ee64bd77f131 SHA256 36c08f9395692f8a0045e0e8ed9f22e6bda3764451d42f1909857f20aa0bb3c1 +MISC ChangeLog 2014 RMD160 ebb955a618622eed9cafe804398b02921bf23b83 SHA1 faa59bb427b7a99b37fcfe14ac5cf260841c3bb1 SHA256 77f086087f28193d652abc10b3c626243c9608790416f75af6d88873803e6df5 +MISC metadata.xml 410 RMD160 95c58ff33fd363206cf30d77766d4ccf4aa2da2a SHA1 769e852f09ecef095830cb19c6ade3ebb10565c1 SHA256 bc07ea5330fddfac0e4ca0799221b99efaa0eaddca09edc5dfdf7f672cb933e3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkvKUO8ACgkQcsIHjyDViGSqCgCdFO1kIi9+l7vVkPJyP1NrcYMF +8+EAn3eEpIYvt7ePxSajP+zug8ZceHtU +=EGRR +-----END PGP SIGNATURE----- diff --git a/media-sound/shell-fm/files/shell-fm-0.7-asneeded.patch b/media-sound/shell-fm/files/shell-fm-0.7-asneeded.patch new file mode 100644 --- /dev/null +++ b/media-sound/shell-fm/files/shell-fm-0.7-asneeded.patch @@ -0,0 +1,39 @@ +--- a/source/Makefile ++++ b/source/Makefile +@@ -6,10 +6,10 @@ LIB := libshellfm.so + STATIC := libshellfm.a + + ifeq ($(shell uname -s), OpenBSD) +- LDFLAGS += -lossaudio ++ LDLIBS += -lossaudio + endif + ifeq ($(shell uname -s), NetBSD) +- LDFLAGS += -lossaudio ++ LDLIBS += -lossaudio + endif + ifeq ($(shell uname -s), Darwin) + CFLAGS += -D__darwin__ +@@ -18,12 +18,12 @@ endif + CFLAGS += -Os -Wall -W -I./include/ -DLIBAO \ + $(shell pkg-config --cflags mad) \ + $(shell pkg-config --cflags ao) +-LDFLAGS += $(shell pkg-config --libs mad) \ ++LDLIBS += $(shell pkg-config --libs mad) \ + $(shell pkg-config --libs ao) + + ifeq ($(shell pkg-config --exists taglib_c && echo 1), 1) + CFLAGS += $(shell pkg-config --cflags taglib_c) -DTAGLIB +- LDFLAGS += $(shell pkg-config --libs taglib_c) ++ LDLIBS += $(shell pkg-config --libs taglib_c) + endif + + .PHONY: clean tags cscope +@@ -40,7 +40,7 @@ $(STATIC) : $(OBJECT) + $(AR) -cvq $(STATIC) $(OBJECT) + + $(BINARY) : $(STATIC) +- $(CC) -o $(BINARY) $(CFLAGS) $(MAIN) $(LDFLAGS) $(STATIC) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(MAIN) $(STATIC) $(LDLIBS) -o $(BINARY) + + clean : + rm -f $(OBJECT) $(BINARY) $(LIB) $(STATIC) diff --git a/media-sound/shell-fm/metadata.xml b/media-sound/shell-fm/metadata.xml new file mode 100644 --- /dev/null +++ b/media-sound/shell-fm/metadata.xml @@ -0,0 +1,10 @@ + + + + sound + + Shell.FM is a lightweight console based player for Last.FM radio + streams. It's written mainly for Linux, but should be able to run on any + UNIX based system (even Mac OS X) with some minor tweaks. + + diff --git a/media-sound/shell-fm/shell-fm-0.7.ebuild b/media-sound/shell-fm/shell-fm-0.7.ebuild new file mode 100644 --- /dev/null +++ b/media-sound/shell-fm/shell-fm-0.7.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/shell-fm/shell-fm-0.7.ebuild,v 1.3 2010/04/18 00:23:14 josejx Exp $ + +EAPI=2 +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="A lightweight console based player for Last.FM radio streams" +HOMEPAGE="http://nex.scrapping.cc/shell-fm/" +# I couldn't get constant tarball from github so I've tarballed this myself. +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="media-libs/libmad + media-libs/libao + media-libs/taglib" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-apps/sed" + +src_prepare() { + epatch "${FILESDIR}/${P}-asneeded.patch" + sed -i -e "s:-Os::" source/Makefile || die "sed failed" +} + +src_compile() { + tc-export CC + if use ppc; then + append-flags -DWORDS_BIGENDIAN=1 + fi + emake || die "emake failed" +} + +src_install() { + dobin source/${PN} || die "dobin failed" + doman manual/${PN}.1 || die + exeinto /usr/share/${PN}/scripts + doexe scripts/{*.sh,*.pl,zcontrol} || die "doexe failed" +}