[arch-commits] Commit in libquvi-scripts/trunk (0001-Fix-youtube.lua.patch PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Oct 1 10:12:26 UTC 2012


    Date: Monday, October 1, 2012 @ 06:12:26
  Author: heftig
Revision: 167329

0.4.9, with pr0n support

Modified:
  libquvi-scripts/trunk/PKGBUILD
Deleted:
  libquvi-scripts/trunk/0001-Fix-youtube.lua.patch

----------------------------+
 0001-Fix-youtube.lua.patch |   32 --------------------------------
 PKGBUILD                   |   17 ++++++-----------
 2 files changed, 6 insertions(+), 43 deletions(-)

Deleted: 0001-Fix-youtube.lua.patch
===================================================================
--- 0001-Fix-youtube.lua.patch	2012-10-01 10:03:16 UTC (rev 167328)
+++ 0001-Fix-youtube.lua.patch	2012-10-01 10:12:26 UTC (rev 167329)
@@ -1,32 +0,0 @@
-From 5b1c00284e1bae3069b51d07d84d3a096ca6bfcf Mon Sep 17 00:00:00 2001
-From: Martin Herkt <lachs0r at hong-mailing.de>
-Date: Thu, 27 Sep 2012 13:45:27 +0200
-Subject: [PATCH] Fix youtube.lua
-
-YouTube has added a new "signature" parameter to their playback URLs.
-Append this parameter to the URL if url_encoded_fmt_stream_map contains
-"sig".
----
- share/lua/website/youtube.lua | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/share/lua/website/youtube.lua b/share/lua/website/youtube.lua
-index e7fc60c..39cc31d 100644
---- a/share/lua/website/youtube.lua
-+++ b/share/lua/website/youtube.lua
-@@ -125,7 +125,11 @@ function YouTube.iter_formats(config, U)
-     for f in fmt_stream_map:gmatch('([^,]*),') do
-         local d = U.decode(f)
-         if d['itag'] and d['url'] then
--            urls[U.unescape(d['itag'])] = U.unescape(d['url'])
-+            local uurl = U.unescape(d['url'])
-+            if d['sig'] then
-+                uurl = uurl .. "&signature=" .. U.unescape(d['sig'])
-+            end
-+            urls[U.unescape(d['itag'])] = uurl
-         end
-     end
- 
--- 
-1.7.12.1
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-01 10:03:16 UTC (rev 167328)
+++ PKGBUILD	2012-10-01 10:12:26 UTC (rev 167329)
@@ -2,26 +2,21 @@
 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
 
 pkgname=libquvi-scripts
-pkgver=0.4.8
-pkgrel=2
+pkgver=0.4.9
+pkgrel=1
 pkgdesc='Library for parsing video download links.'
 arch=('any')
 url='http://quvi.sourceforge.net/'
 license=('LGPL')
 depends=('curl' 'lua')
 options=('!libtool')
-source=("http://downloads.sourceforge.net/sourceforge/quvi/${pkgname}-${pkgver}.tar.gz"{,.sig}
-        0001-Fix-youtube.lua.patch)
-md5sums=('9a11cfcb474266b377ec41a5a502ffe0'
-         '7126dbed0e493135089018775b1652a6'
-         '0cdcda0fed2128c78c0c3ac784b94243')
+source=("http://downloads.sourceforge.net/sourceforge/quvi/${pkgname}-${pkgver}.tar.xz"{,.sig})
+md5sums=('a7f3dad2e2809857e876726813bba1be'
+         '543647d9dbc5b82e97327630968f8399')
 
 build() {
   cd "${pkgname}-${pkgver}"
-
-  patch -Np1 -i ../0001-Fix-youtube.lua.patch
-
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr --with-nsfw --with-nlfy
   make
 }
 




More information about the arch-commits mailing list