summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-06-29 04:07:24 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-06-29 04:07:24 +0000
commit198e9ba7f47fee31dfaed782ba0a2eee9fd3f560 (patch)
tree9a7623e08e77f41bf9477cbb68c43bf4d9430589 /media-sound/lastfm-ripper
parentAdded two useflags for lastfm-ripper (diff)
downloadhistorical-198e9ba7f47fee31dfaed782ba0a2eee9fd3f560.tar.gz
historical-198e9ba7f47fee31dfaed782ba0a2eee9fd3f560.tar.bz2
historical-198e9ba7f47fee31dfaed782ba0a2eee9fd3f560.zip
Initial version from John <acocaracha@gmail.com>. Closing #136147
Package-Manager: portage-2.1.1_pre1-r1
Diffstat (limited to 'media-sound/lastfm-ripper')
-rw-r--r--media-sound/lastfm-ripper/ChangeLog11
-rw-r--r--media-sound/lastfm-ripper/Manifest24
-rw-r--r--media-sound/lastfm-ripper/files/CoverOutputDirectoryFix.patch11
-rw-r--r--media-sound/lastfm-ripper/files/UnescapedVariableFix.patch11
-rw-r--r--media-sound/lastfm-ripper/files/digest-lastfm-ripper-1.2.13
-rw-r--r--media-sound/lastfm-ripper/lastfm-ripper-1.2.1.ebuild29
-rw-r--r--media-sound/lastfm-ripper/metadata.xml9
7 files changed, 98 insertions, 0 deletions
diff --git a/media-sound/lastfm-ripper/ChangeLog b/media-sound/lastfm-ripper/ChangeLog
new file mode 100644
index 000000000000..927212d7fe91
--- /dev/null
+++ b/media-sound/lastfm-ripper/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/lastfm-ripper
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfm-ripper/ChangeLog,v 1.1 2006/06/29 04:07:24 pclouds Exp $
+
+*lastfm-ripper-1.2.1 (29 Jun 2006)
+
+ 29 Jun 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/CoverOutputDirectoryFix.patch, +files/UnescapedVariableFix.patch,
+ +metadata.xml, +lastfm-ripper-1.2.1.ebuild:
+ Initial version from John <acocaracha@gmail.com>. Closing #136147
+
diff --git a/media-sound/lastfm-ripper/Manifest b/media-sound/lastfm-ripper/Manifest
new file mode 100644
index 000000000000..ba841bf1aabe
--- /dev/null
+++ b/media-sound/lastfm-ripper/Manifest
@@ -0,0 +1,24 @@
+AUX CoverOutputDirectoryFix.patch 632 RMD160 24eee87fefb410fb1bac4ae9ee34af461088cf5d SHA1 d3dfaa6a1110a9c4a4d7d3d220efea8085caa951 SHA256 ec791a40fdb3fcffa948c9cbbf25882eb5b21bf45f6df61fe51154ed1f8461d6
+MD5 2fce6d22e162ad57d9b25da1dc9e554a files/CoverOutputDirectoryFix.patch 632
+RMD160 24eee87fefb410fb1bac4ae9ee34af461088cf5d files/CoverOutputDirectoryFix.patch 632
+SHA256 ec791a40fdb3fcffa948c9cbbf25882eb5b21bf45f6df61fe51154ed1f8461d6 files/CoverOutputDirectoryFix.patch 632
+AUX UnescapedVariableFix.patch 455 RMD160 c024de943c9fdb3a35c749660d1ce1e21da4014d SHA1 c55b1893454418f8e54745ec3136f2766e21d20a SHA256 c19804b6a79b929b86307df14ed5ac3af3c7b6090a97272af585526e2bb65e7d
+MD5 49f63970765649b6ca618eea5e7e171c files/UnescapedVariableFix.patch 455
+RMD160 c024de943c9fdb3a35c749660d1ce1e21da4014d files/UnescapedVariableFix.patch 455
+SHA256 c19804b6a79b929b86307df14ed5ac3af3c7b6090a97272af585526e2bb65e7d files/UnescapedVariableFix.patch 455
+DIST last.fm-ripper-1.2.1.tar.gz 5659 RMD160 ca93737fd4d56f6587a85cf0b2aaa796e632819a SHA1 45ccdd7a82f5f6b831793e0f31bd14bed30e39b7 SHA256 a63f4f6f3eb795b47c71328ec4e3ee99aca2d9a15ee4914163a60cb84c6ce6bd
+EBUILD lastfm-ripper-1.2.1.ebuild 901 RMD160 07015e4fcf0e0eefbb4fca202fd2eedec3bb0f4d SHA1 635883517b01f4460ab88127f3a5d7ec37fda2fa SHA256 3a5ce8dcd1681600fa69b8d148571181c8c74ca061b850bd75c66b72b708b782
+MD5 23e3460e3cdb30392439923072b90766 lastfm-ripper-1.2.1.ebuild 901
+RMD160 07015e4fcf0e0eefbb4fca202fd2eedec3bb0f4d lastfm-ripper-1.2.1.ebuild 901
+SHA256 3a5ce8dcd1681600fa69b8d148571181c8c74ca061b850bd75c66b72b708b782 lastfm-ripper-1.2.1.ebuild 901
+MISC ChangeLog 512 RMD160 8e829c7fb35958370505039838e3f62b151c680e SHA1 6d9fd6dc7910b22ec47bc574dccf23877a6a7789 SHA256 670ba6d2fd4856750fd32a756d4cf0d3f8c08a1f860505ceaa48280569800967
+MD5 9411a9f15c9b7bfa4d172f6e3d41893e ChangeLog 512
+RMD160 8e829c7fb35958370505039838e3f62b151c680e ChangeLog 512
+SHA256 670ba6d2fd4856750fd32a756d4cf0d3f8c08a1f860505ceaa48280569800967 ChangeLog 512
+MISC metadata.xml 267 RMD160 194c9deae9991340889e40e9dae8df0779473a34 SHA1 231c20c33ee7727897729e3840e4beea63e2408d SHA256 d9ca388edb6e0ab4cf1e40ff0e13952ee78d76e31c5cf6526088a255559ae44f
+MD5 3c3808bac6da4bee3e3b2eec7218e00d metadata.xml 267
+RMD160 194c9deae9991340889e40e9dae8df0779473a34 metadata.xml 267
+SHA256 d9ca388edb6e0ab4cf1e40ff0e13952ee78d76e31c5cf6526088a255559ae44f metadata.xml 267
+MD5 383114266817572e85c0a48a732d9c5d files/digest-lastfm-ripper-1.2.1 256
+RMD160 b0b95673bcfc5bcd34a3815a0a1597f28a44ce00 files/digest-lastfm-ripper-1.2.1 256
+SHA256 98f8101983fd6e8dbec7a99758f03084df4dc8e75eaa190b94df236929e660e8 files/digest-lastfm-ripper-1.2.1 256
diff --git a/media-sound/lastfm-ripper/files/CoverOutputDirectoryFix.patch b/media-sound/lastfm-ripper/files/CoverOutputDirectoryFix.patch
new file mode 100644
index 000000000000..069686921fff
--- /dev/null
+++ b/media-sound/lastfm-ripper/files/CoverOutputDirectoryFix.patch
@@ -0,0 +1,11 @@
+--- last.fm-ripper 2006-06-09 01:11:27.000000000 -0400
++++ last.fm-ripper 2006-06-09 01:17:08.000000000 -0400
+@@ -189,7 +189,7 @@
+ } ($track_info{'albumcover_small'},$track_info{'albumcover_medium'},$track_info{'albumcover_large'});
+ if ($cover ne '')
+ {
+- $cover_file = "$track_info{'artist'}-$track_info{'album'}-$track_info{'track'}.jpg";
++ $cover_file = $output_directory."/"."$track_info{'artist'}-$track_info{'album'}-$track_info{'track'}.jpg";
+ if(system("wget -O \"$cover_file\" $cover > /dev/null 2>&1 &")>0){print "failed to retrieve cover art\n"};
+ $cover = '';
+ }
diff --git a/media-sound/lastfm-ripper/files/UnescapedVariableFix.patch b/media-sound/lastfm-ripper/files/UnescapedVariableFix.patch
new file mode 100644
index 000000000000..07b7feba33db
--- /dev/null
+++ b/media-sound/lastfm-ripper/files/UnescapedVariableFix.patch
@@ -0,0 +1,11 @@
+--- last.fm-ripper 2006-03-04 12:45:40.000000000 -0500
++++ last.fm-ripper 2006-06-09 01:11:27.000000000 -0400
+@@ -38,7 +38,7 @@
+ Getopt::Long::Configure("pass_through");
+ GetOptions( 'help|?' => \$help,
+ 'debug|d' => \$debug,
+- 'no_covers|n' => $no_covers,
++ 'no_covers|n' => \$no_covers,
+ 'artist|a=s' => \$artist,
+ 'username|u=s' => \$username,
+ 'password|p=s' => \$password,
diff --git a/media-sound/lastfm-ripper/files/digest-lastfm-ripper-1.2.1 b/media-sound/lastfm-ripper/files/digest-lastfm-ripper-1.2.1
new file mode 100644
index 000000000000..ad8a1ec5f94a
--- /dev/null
+++ b/media-sound/lastfm-ripper/files/digest-lastfm-ripper-1.2.1
@@ -0,0 +1,3 @@
+MD5 e719e44ceb8b5ea6ac49c872a0d18872 last.fm-ripper-1.2.1.tar.gz 5659
+RMD160 ca93737fd4d56f6587a85cf0b2aaa796e632819a last.fm-ripper-1.2.1.tar.gz 5659
+SHA256 a63f4f6f3eb795b47c71328ec4e3ee99aca2d9a15ee4914163a60cb84c6ce6bd last.fm-ripper-1.2.1.tar.gz 5659
diff --git a/media-sound/lastfm-ripper/lastfm-ripper-1.2.1.ebuild b/media-sound/lastfm-ripper/lastfm-ripper-1.2.1.ebuild
new file mode 100644
index 000000000000..b6bbd5462c7b
--- /dev/null
+++ b/media-sound/lastfm-ripper/lastfm-ripper-1.2.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfm-ripper/lastfm-ripper-1.2.1.ebuild,v 1.1 2006/06/29 04:07:24 pclouds Exp $
+
+inherit perl-module eutils
+
+DESCRIPTION="save last.fm radio to mp3 files"
+HOMEPAGE="http://search.cpan.org/src/JOCHEN/last.fm-ripper-1.2/README"
+SRC_URI="mirror://cpan/authors/id/J/JO/JOCHEN/last.fm-ripper-${PV}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="amazon tagwriting minimal"
+
+DEPEND="perl-core/Getopt-Long
+ perl-core/Digest-MD5
+ !minimal? ( dev-perl/Term-ReadPassword )
+ tagwriting? ( dev-perl/MP3-Tag )
+ amazon? ( dev-perl/MP3-Tag dev-perl/Net-Amazon )"
+
+S="${WORKDIR}/last.fm-ripper-${PV}"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/UnescapedVariableFix.patch
+ epatch ${FILESDIR}/CoverOutputDirectoryFix.patch
+}
diff --git a/media-sound/lastfm-ripper/metadata.xml b/media-sound/lastfm-ripper/metadata.xml
new file mode 100644
index 000000000000..6c9fa6bd3f6e
--- /dev/null
+++ b/media-sound/lastfm-ripper/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>pclouds@gentoo.org</email>
+ <name>Nguyễn Thái Ngọc Duy</name>
+ </maintainer>
+</pkgmetadata>