From c055cda5a5dd1bb78f35fd05ee516abefaa7014c Mon Sep 17 00:00:00 2001 From: "Dominik George (natureshadow)" Date: Tue, 24 Mar 2009 20:35:14 +0000 Subject: [PATCH] x11-plugins/pidgin-lastfm: New ebuild for pidgin-lastfm, bug #218862 svn path=/sunrise/; revision=8139 --- x11-plugins/pidgin-lastfm/ChangeLog | 8 ++++ x11-plugins/pidgin-lastfm/Manifest | 4 ++ x11-plugins/pidgin-lastfm/metadata.xml | 14 +++++++ .../pidgin-lastfm/pidgin-lastfm-0.4a.ebuild | 41 +++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 x11-plugins/pidgin-lastfm/ChangeLog create mode 100644 x11-plugins/pidgin-lastfm/Manifest create mode 100644 x11-plugins/pidgin-lastfm/metadata.xml create mode 100644 x11-plugins/pidgin-lastfm/pidgin-lastfm-0.4a.ebuild diff --git a/x11-plugins/pidgin-lastfm/ChangeLog b/x11-plugins/pidgin-lastfm/ChangeLog new file mode 100644 index 000000000..1111e32bc --- /dev/null +++ b/x11-plugins/pidgin-lastfm/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for x11-plugins/pidgin-lastfm +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 24 Mar 2009; Dominik George (natureshadow) + +pidgin-lastfm-0.4a.ebuild, +metadata.xml: + New ebuild for pidgin-lastfm, bug #218862 + diff --git a/x11-plugins/pidgin-lastfm/Manifest b/x11-plugins/pidgin-lastfm/Manifest new file mode 100644 index 000000000..84730c555 --- /dev/null +++ b/x11-plugins/pidgin-lastfm/Manifest @@ -0,0 +1,4 @@ +DIST pidgin-lastfm_0.4a_all.tar.gz 50675 RMD160 2e5203bf814e111943f6ed0d7108839567fc051f SHA1 98252d5f4ca6a0f2a6e064ed5dfccf6664d3ea51 SHA256 53adde5f9fb7c2040a39c075d6db0e8ab01ef7b95bab98ef64af51ca0fd5f099 +EBUILD pidgin-lastfm-0.4a.ebuild 1143 RMD160 f401c96e758605b380a07ee3baac09137fdc3a18 SHA1 9f10e78beb6807b870446fa567a887bd67a71ade SHA256 975ea383aaf54e7940993690f68d5d95d0ef21883fb9e1387bff76a69999f7f4 +MISC ChangeLog 284 RMD160 4e3fad2e7ff7cb55708be60c08f528eedca08732 SHA1 4508a4fbadcdd65e1ce27df25c8f797ace071557 SHA256 20b334552e7d358e9b59a79be1f0434dc39bde1f07a26602802d64c359bf1d35 +MISC metadata.xml 528 RMD160 2f154bf8a4b7e3746b670e8b7542565591d917b0 SHA1 49d98695984eb24fcc2d652c586beee4011e5080 SHA256 f7b2bd6b015bd46ad3df41a1d944d2f70e219f16713ff73320582f51a81df6ea diff --git a/x11-plugins/pidgin-lastfm/metadata.xml b/x11-plugins/pidgin-lastfm/metadata.xml new file mode 100644 index 000000000..6d665c398 --- /dev/null +++ b/x11-plugins/pidgin-lastfm/metadata.xml @@ -0,0 +1,14 @@ + + + + no-herd + + gentoo@naturalnik.de + Dominik George + + + This package is a Pidgin (libpurple) plugin that shows data from your + Last.fm/Audioscrobbler profile in your instant messaging status. + This data can be either your currently playing track, recently loved track etc. + + diff --git a/x11-plugins/pidgin-lastfm/pidgin-lastfm-0.4a.ebuild b/x11-plugins/pidgin-lastfm/pidgin-lastfm-0.4a.ebuild new file mode 100644 index 000000000..ddd832004 --- /dev/null +++ b/x11-plugins/pidgin-lastfm/pidgin-lastfm-0.4a.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit multilib + +DESCRIPTION="Last.fm Plugin for the Pidgin Instant Messenger" +HOMEPAGE="http://pidgin-lastfm.naturalnet.de" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_all.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="net-im/pidgin[perl]" + +src_install() { + insinto /usr/$(get_libdir)/pidgin + doins "${S}"/src/lastfm.pl + dodoc "${S}"/docs/* || die "Could not copy doc files." +} + +pkg_postinst() { + if has_version "=net-im/pidgin-2.5*" && ! has_version "=dev-lang/perl-5.10*"; then + elog "For Perl support in Pidgin 2.5.x, you will need" + echo + elog "\t>=dev-lang/perl-5.10" + echo + elog "Unfortunately, Perl 5.10 is not in portage yet. You can get it from the layman overlay perl-experimental." + elog "See http://www.gentoo.org/proj/en/overlays/userguide.xml for further information!" + fi + + if has_version "=net-im/pidgin-2.4*" && ! has_version "=dev-lang/perl-5.8*"; then + elog "For Perl support in Pidgin 2.4.x, you will need" + echo + elog "\t<=dev-lang/perl-5.8" + fi +} -- 2.43.2