diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2010-09-27 10:12:52 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2010-09-27 10:12:52 +0000 |
commit | d07cfe1a62c991d86c1e725497bf1bbbfb1e5ee7 (patch) | |
tree | 8c7c24ad6ae47e769ae99e006e19b7c0a574440f /media-libs/liblastfm | |
parent | Version bump (diff) | |
download | gentoo-2-d07cfe1a62c991d86c1e725497bf1bbbfb1e5ee7.tar.gz gentoo-2-d07cfe1a62c991d86c1e725497bf1bbbfb1e5ee7.tar.bz2 gentoo-2-d07cfe1a62c991d86c1e725497bf1bbbfb1e5ee7.zip |
[media-libs/liblastfm-0.3.3] Bumped version.
(Portage version: 2.2_rc87/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/liblastfm')
-rw-r--r-- | media-libs/liblastfm/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/liblastfm/liblastfm-0.3.3.ebuild | 54 |
2 files changed, 61 insertions, 1 deletions
diff --git a/media-libs/liblastfm/ChangeLog b/media-libs/liblastfm/ChangeLog index 328fc2cedfc0..897ab69bcdba 100644 --- a/media-libs/liblastfm/ChangeLog +++ b/media-libs/liblastfm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/liblastfm # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/ChangeLog,v 1.10 2010/07/07 20:32:57 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/ChangeLog,v 1.11 2010/09/27 10:12:52 jmbsvicetto Exp $ + +*liblastfm-0.3.3 (27 Sep 2010) + + 27 Sep 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +liblastfm-0.3.3.ebuild: + [media-libs/liblastfm-0.3.3] Bumped version. 07 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> liblastfm-0.3.0.ebuild: diff --git a/media-libs/liblastfm/liblastfm-0.3.3.ebuild b/media-libs/liblastfm/liblastfm-0.3.3.ebuild new file mode 100644 index 000000000000..53d9de3f6893 --- /dev/null +++ b/media-libs/liblastfm/liblastfm-0.3.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.3.ebuild,v 1.1 2010/09/27 10:12:52 jmbsvicetto Exp $ + +EAPI="2" + +inherit eutils multilib + +DESCRIPTION="Collection of libraries to integrate Last.fm services" +HOMEPAGE="http://github.com/mxcl/liblastfm/" +SRC_URI="http://github.com/mxcl/${PN}/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +S="${WORKDIR}/mxcl-liblastfm-1c739eb" + +COMMON_DEPEND=" + >=media-libs/libsamplerate-0.1.4 + sci-libs/fftw:3.0 + >=x11-libs/qt-core-4.5:4 + >=x11-libs/qt-sql-4.5:4 +" +DEPEND="${COMMON_DEPEND} + dev-lang/ruby + >=x11-libs/qt-test-4.5:4 +" +RDEPEND="${COMMON_DEPEND} + !<media-libs/lastfmlib-0.4.0 +" + +src_prepare() { + # Fix multilib paths + find . -name *.pro -exec sed -i -e "/target.path/s/lib/$(get_libdir)/g" {} + \ + || die "failed to fix multilib paths" + + # >=1.9 ruby compatibility + case `ruby -e 'puts RUBY_VERSION'` in + 1.8.*) ;; + *) sed -e "s/require 'ftools'//g" -i admin/* || die ;; + esac +} + +src_configure() { + ./configure --prefix "${ROOT}usr" --no-strip --release || die "configure failed" +} + +src_install() { + emake DESTDIR="${D}${ROOT}" install || die "emake install failed" + + dodoc README || die "dodoc failed" +} |