[arch-commits] Commit in libquvi-scripts/repos/extra-any (3 files)

Jan Steffens heftig at archlinux.org
Mon Oct 1 10:13:17 UTC 2012


    Date: Monday, October 1, 2012 @ 06:13:17
  Author: heftig
Revision: 167330

archrelease: copy trunk to extra-any

Added:
  libquvi-scripts/repos/extra-any/PKGBUILD
    (from rev 167329, libquvi-scripts/trunk/PKGBUILD)
Deleted:
  libquvi-scripts/repos/extra-any/0001-Fix-youtube.lua.patch
  libquvi-scripts/repos/extra-any/PKGBUILD

----------------------------+
 0001-Fix-youtube.lua.patch |   32 ------------------------
 PKGBUILD                   |   57 +++++++++++++++++++------------------------
 2 files changed, 26 insertions(+), 63 deletions(-)

Deleted: 0001-Fix-youtube.lua.patch
===================================================================
--- 0001-Fix-youtube.lua.patch	2012-10-01 10:12:26 UTC (rev 167329)
+++ 0001-Fix-youtube.lua.patch	2012-10-01 10:13:17 UTC (rev 167330)
@@ -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
-

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-01 10:12:26 UTC (rev 167329)
+++ PKGBUILD	2012-10-01 10:13:17 UTC (rev 167330)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-
-pkgname=libquvi-scripts
-pkgver=0.4.8
-pkgrel=2
-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')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-
-  patch -Np1 -i ../0001-Fix-youtube.lua.patch
-
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: libquvi-scripts/repos/extra-any/PKGBUILD (from rev 167329, libquvi-scripts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-10-01 10:13:17 UTC (rev 167330)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+pkgname=libquvi-scripts
+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.xz"{,.sig})
+md5sums=('a7f3dad2e2809857e876726813bba1be'
+         '543647d9dbc5b82e97327630968f8399')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --with-nsfw --with-nlfy
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list