diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-06-29 04:07:24 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-06-29 04:07:24 +0000 |
commit | 9191b0969b0e08a6f0ddeaa0d46227fe4e698982 (patch) | |
tree | efd3a924864459d956e70ca4bf0d065469c5d54f /media-sound/lastfm-ripper | |
parent | Added two useflags for lastfm-ripper (diff) | |
download | gentoo-2-9191b0969b0e08a6f0ddeaa0d46227fe4e698982.tar.gz gentoo-2-9191b0969b0e08a6f0ddeaa0d46227fe4e698982.tar.bz2 gentoo-2-9191b0969b0e08a6f0ddeaa0d46227fe4e698982.zip |
Initial version from John <acocaracha@gmail.com>. Closing #136147
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'media-sound/lastfm-ripper')
-rw-r--r-- | media-sound/lastfm-ripper/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/lastfm-ripper/Manifest | 24 | ||||
-rw-r--r-- | media-sound/lastfm-ripper/files/CoverOutputDirectoryFix.patch | 11 | ||||
-rw-r--r-- | media-sound/lastfm-ripper/files/UnescapedVariableFix.patch | 11 | ||||
-rw-r--r-- | media-sound/lastfm-ripper/files/digest-lastfm-ripper-1.2.1 | 3 | ||||
-rw-r--r-- | media-sound/lastfm-ripper/lastfm-ripper-1.2.1.ebuild | 29 | ||||
-rw-r--r-- | media-sound/lastfm-ripper/metadata.xml | 9 |
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..5cf321a4c0b8 --- /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 785 RMD160 9621070736f533c485fdc865537275f30ddeb096 SHA1 30da8cc604b87b052b71f4a3911bd32b4d333441 SHA256 23e5eac2ca951053ac061a9fce3d2494065d9217a71b199046564e554ba8893a +MD5 5e14524e42b2676d80eb3e0e502ab313 lastfm-ripper-1.2.1.ebuild 785 +RMD160 9621070736f533c485fdc865537275f30ddeb096 lastfm-ripper-1.2.1.ebuild 785 +SHA256 23e5eac2ca951053ac061a9fce3d2494065d9217a71b199046564e554ba8893a lastfm-ripper-1.2.1.ebuild 785 +MISC ChangeLog 414 RMD160 7737f14384b9099d3f29512c7cf36aefb25ada08 SHA1 5f12070fced96cdf2eee6101d1bbcd38cb644aac SHA256 f87c9f59ea06056eb053488d319cffc9be28e1718f337b265b284bdce58f9569 +MD5 768262f02f79a0f4ef121f8fe2318cb2 ChangeLog 414 +RMD160 7737f14384b9099d3f29512c7cf36aefb25ada08 ChangeLog 414 +SHA256 f87c9f59ea06056eb053488d319cffc9be28e1718f337b265b284bdce58f9569 ChangeLog 414 +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> |