]> Pileus Git - ~andy/sunrise/commitdiff
x11-plugins/pidgin-lastfm: New ebuild for pidgin-lastfm, bug #218862
authorDominik George (natureshadow) <gentoo@naturalnik.de>
Tue, 24 Mar 2009 20:35:14 +0000 (20:35 +0000)
committerDominik George (natureshadow) <gentoo@naturalnik.de>
Tue, 24 Mar 2009 20:35:14 +0000 (20:35 +0000)
svn path=/sunrise/; revision=8139

x11-plugins/pidgin-lastfm/ChangeLog [new file with mode: 0644]
x11-plugins/pidgin-lastfm/Manifest [new file with mode: 0644]
x11-plugins/pidgin-lastfm/metadata.xml [new file with mode: 0644]
x11-plugins/pidgin-lastfm/pidgin-lastfm-0.4a.ebuild [new file with mode: 0644]

diff --git a/x11-plugins/pidgin-lastfm/ChangeLog b/x11-plugins/pidgin-lastfm/ChangeLog
new file mode 100644 (file)
index 0000000..1111e32
--- /dev/null
@@ -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) <gentoo@naturalnik.de>
+  +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 (file)
index 0000000..84730c5
--- /dev/null
@@ -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 (file)
index 0000000..6d665c3
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>no-herd</herd>
+       <maintainer>
+               <email>gentoo@naturalnik.de</email>
+               <name>Dominik George</name>
+       </maintainer>
+       <longdescription lang="en">
+               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.
+       </longdescription>
+</pkgmetadata>
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 (file)
index 0000000..ddd8320
--- /dev/null
@@ -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
+}