summaryrefslogtreecommitdiff
path: root/audio/exaile
diff options
context:
space:
mode:
authordrochner <drochner>2007-06-19 18:28:39 +0000
committerdrochner <drochner>2007-06-19 18:28:39 +0000
commitcd87193ea66adf57c9555218b4e7f7686dcc58fc (patch)
tree63e7bb195567f0ab9476dc3a7acc947440c8b38b /audio/exaile
parentb6fb51db814ef8d4faad425e730701ed14894263 (diff)
downloadpkgsrc-cd87193ea66adf57c9555218b4e7f7686dcc58fc.tar.gz
make fetch of album cover art work again after amazon changed its "API",
patch from http://exaile.org/trac/ticket/485 bump PKGREVISION
Diffstat (limited to 'audio/exaile')
-rw-r--r--audio/exaile/Makefile3
-rw-r--r--audio/exaile/distinfo3
-rw-r--r--audio/exaile/patches/patch-ab14
3 files changed, 18 insertions, 2 deletions
diff --git a/audio/exaile/Makefile b/audio/exaile/Makefile
index b4faf517f39..7a4ad56027b 100644
--- a/audio/exaile/Makefile
+++ b/audio/exaile/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2007/04/11 18:50:08 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2007/06/19 18:28:39 drochner Exp $
#
DISTNAME= exaile_0.2.9
PKGNAME= exaile-0.2.9
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.exaile.org/files/
diff --git a/audio/exaile/distinfo b/audio/exaile/distinfo
index 831d80a62ff..a704edb24a7 100644
--- a/audio/exaile/distinfo
+++ b/audio/exaile/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2007/04/11 18:50:08 drochner Exp $
+$NetBSD: distinfo,v 1.3 2007/06/19 18:28:39 drochner Exp $
SHA1 (exaile_0.2.9.tar.gz) = 100e048b35b59f89c7874c60cb235df69005a8f4
RMD160 (exaile_0.2.9.tar.gz) = 333362939e80f2feb5bd81d51e134cb4d29f74f2
Size (exaile_0.2.9.tar.gz) = 421296 bytes
SHA1 (patch-aa) = c9b35c1319d9d0bc230310d5fdd7afd695526b29
+SHA1 (patch-ab) = 59d1b5b8e9f2d8aaa8f80bae66d052c3bdc8819d
diff --git a/audio/exaile/patches/patch-ab b/audio/exaile/patches/patch-ab
new file mode 100644
index 00000000000..564453a7238
--- /dev/null
+++ b/audio/exaile/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2007/06/19 18:28:39 drochner Exp $
+
+--- xl/covers.py.orig 2007-06-19 20:14:56.000000000 +0200
++++ xl/covers.py
+@@ -42,7 +42,8 @@ KEY = "15VDQG80MCS2K1W2VRR2" # Adam Olse
+ QUERY = "/onca/xml3?t=webservices-20&dev-t=%s&mode=music&type=lite&" % (KEY) + \
+ "locale={locale}&page=1&f=xml&KeywordSearch="
+ IMAGE_PATTERN = re.compile(
+- r"http://(images(?:-\w\w)?\.amazon\.com)(/images/.*?LZ+\.jpg)")
++ r"<ImageUrlMedium>http://(\w+\.images-amazon\.com)"
++ "(/images/.*?\.jpg)</ImageUrlMedium>", re.DOTALL)
+
+ """
+ Fetches album covers from Amazon.com