Files @ 973eab045010
Branch filter:

Location: ohnobinki_overlay/media-sound/shell-fm/shell-fm-0.7.ebuild - annotation

973eab045010 1.1 KiB application/vnd.gentoo.ebuild Show Source Show as Raw Download as Raw
binki
dev-util/cmake: Add a patch to cmake which enables kde-base/kdelibs to compile on systems where /usr/lib is neither a symlink to /usr/lib64 or /usr/lib32. This adds a FIND_LIBRARY_USE_LIB32_PATHS global property which is an analog to the FIND_LIBRARY_USE_LIB64_PATHS property.

(Portage version: 2.2_rc69-r1/hg/Linux x86_64, signed Manifest commit)
# 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=3
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 ~amd64-linux ~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"
}