summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-05-24 21:12:43 +0000
committerTim Harder <radhermit@gentoo.org>2011-05-24 21:12:43 +0000
commit1a39400e00ad4a3f2e3879c61d1401cc9e91547b (patch)
treed9e403f318945c735c63fa1fccf0f45504b7a720 /media-sound/shell-fm
parentx86 stable, bug #368117 (diff)
downloadgentoo-2-1a39400e00ad4a3f2e3879c61d1401cc9e91547b.tar.gz
gentoo-2-1a39400e00ad4a3f2e3879c61d1401cc9e91547b.tar.bz2
gentoo-2-1a39400e00ad4a3f2e3879c61d1401cc9e91547b.zip
Version bump (bug #368365). Update to EAPI 4 and use github tarball.
(Portage version: 2.2.0_alpha33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/shell-fm')
-rw-r--r--media-sound/shell-fm/ChangeLog9
-rw-r--r--media-sound/shell-fm/shell-fm-0.8.ebuild43
2 files changed, 50 insertions, 2 deletions
diff --git a/media-sound/shell-fm/ChangeLog b/media-sound/shell-fm/ChangeLog
index 08f945457d6e..e02892781ec0 100644
--- a/media-sound/shell-fm/ChangeLog
+++ b/media-sound/shell-fm/ChangeLog
@@ -1,6 +1,11 @@
# 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.14 2010/08/18 21:05:26 darkside Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/shell-fm/ChangeLog,v 1.15 2011/05/24 21:12:43 radhermit Exp $
+
+*shell-fm-0.8 (24 May 2011)
+
+ 24 May 2011; Tim Harder <radhermit@gentoo.org> +shell-fm-0.8.ebuild:
+ Version bump (bug #368365). Update to EAPI 4 and use github tarball.
18 Aug 2010; Jeremy Olexa <darkside@gentoo.org> shell-fm-0.7.ebuild:
Add ~amd64-linux, bug 333029
diff --git a/media-sound/shell-fm/shell-fm-0.8.ebuild b/media-sound/shell-fm/shell-fm-0.8.ebuild
new file mode 100644
index 000000000000..0e30b08f31ee
--- /dev/null
+++ b/media-sound/shell-fm/shell-fm-0.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 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.8.ebuild,v 1.1 2011/05/24 21:12:43 radhermit Exp $
+
+EAPI=4
+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/"
+SRC_URI="https://github.com/jkramer/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="media-libs/libmad
+ media-libs/libao
+ media-libs/taglib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-apps/sed"
+
+src_unpack() {
+ unpack ${A}
+ mv *-${PN}-* "${S}"
+}
+
+src_prepare() {
+ sed -i -e "s:-Os::" source/Makefile || die "sed failed"
+
+ tc-export CC AR
+ if use ppc; then
+ append-flags -DWORDS_BIGENDIAN=1
+ fi
+}
+
+src_install() {
+ dobin source/${PN}
+ doman manual/${PN}.1
+ exeinto /usr/share/${PN}/scripts
+ doexe scripts/{*.sh,*.pl,zcontrol}
+}