summaryrefslogtreecommitdiff
path: root/net/get-flash-videos
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2012-12-05 02:18:14 +0000
committerdsainty <dsainty@pkgsrc.org>2012-12-05 02:18:14 +0000
commit20eca10722f933d821ec0c249cba41907e0f1af7 (patch)
tree27d1fa4b9602cc7ce68e69bc6b6e72cb91ecf0a7 /net/get-flash-videos
parent754d975b9fbc26c36842def1a9ebfa19a1ce3cc5 (diff)
downloadpkgsrc-20eca10722f933d821ec0c249cba41907e0f1af7.tar.gz
Add get-flash-videos in its modular Github form, rather than the monolithic
circa 2010 form: Download videos from various Flash-based video hosting sites, without having to use the Flash player. Handy for saving videos for watching offline, and means you don't have to keep upgrading Flash for sites that insist on a newer version of the player. Includes support for the following sites/players (and more!): YouTube, eHow, Brightcove (used by many sites like Channel 4, Daily Telegraph ...), BBC (news, etc), Metacafe, 5min, Google, fliqz, nicovideo, vimeo, Blip, Break, Collegehumor, Muzu, Sevenload, Megavideo, Wat.tv. Also includes a 'generic' method which works on many other sites.
Diffstat (limited to 'net/get-flash-videos')
-rw-r--r--net/get-flash-videos/DESCR12
-rw-r--r--net/get-flash-videos/Makefile40
-rw-r--r--net/get-flash-videos/distinfo5
3 files changed, 57 insertions, 0 deletions
diff --git a/net/get-flash-videos/DESCR b/net/get-flash-videos/DESCR
new file mode 100644
index 00000000000..53503a0f98b
--- /dev/null
+++ b/net/get-flash-videos/DESCR
@@ -0,0 +1,12 @@
+Download videos from various Flash-based video hosting sites, without having
+to use the Flash player. Handy for saving videos for watching offline, and
+means you don't have to keep upgrading Flash for sites that insist on a newer
+version of the player.
+
+Includes support for the following sites/players (and more!):
+
+ YouTube, eHow, Brightcove (used by many sites like Channel 4, Daily
+ Telegraph ...), BBC (news, etc), Metacafe, 5min, Google, fliqz, nicovideo,
+ vimeo, Blip, Break, Collegehumor, Muzu, Sevenload, Megavideo, Wat.tv.
+
+Also includes a 'generic' method which works on many other sites.
diff --git a/net/get-flash-videos/Makefile b/net/get-flash-videos/Makefile
new file mode 100644
index 00000000000..079d216fe26
--- /dev/null
+++ b/net/get-flash-videos/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2012/12/05 02:18:14 dsainty Exp $
+#
+
+DISTNAME= ${GHACCOUNT}-${GHNAME}-${GHDESCRIBE}-g${GHCOMMIT}
+PKGNAME= ${GHNAME}-0.0.${GHDATE}
+GHNAME= get-flash-videos
+
+GHACCOUNT= monsieurvideo
+GHDATE= 20121204
+GHDESCRIBE= v1.22-398
+GHVERSION= d74c9f6e0119f6340b027b1b97b6603704040922
+GHCOMMIT= d74c9f6
+
+CATEGORIES= local
+MASTER_SITES= https://github.com/${GHACCOUNT}/${GHNAME}/tarball/${GHVERSION}/
+
+MAINTAINER= dsainty@NetBSD.org
+HOMEPAGE= http://code.google.com/p/get-flash-videos/
+COMMENT= Tool for using various Flash-based video hosting sites
+LICENSE= apache-2.0
+
+FETCH_USING= curl # For https:
+
+DEPENDS+= p5-Data-AMF-[0-9]*:../../comms/p5-Data-AMF
+DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
+DEPENDS+= p5-LWP-Protocol-https-[0-9]*:../../www/p5-LWP-Protocol-https
+DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
+DEPENDS+= p5-Tie-IxHash-[0-9]*:../../devel/p5-Tie-IxHash
+DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
+DEPENDS+= p5-WWW-Mechanize-[0-9]*:../../www/p5-WWW-Mechanize
+DEPENDS+= rtmpdump-[0-9]*:../../net/rtmpdump
+
+USE_TOOLS+= perl:run
+
+WRKSRC= ${WRKDIR}/${GHACCOUNT}-${GHNAME}-${GHCOMMIT}
+
+PERL5_PACKLIST= auto/App/get_flash_videos/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/get-flash-videos/distinfo b/net/get-flash-videos/distinfo
new file mode 100644
index 00000000000..aa0df6925c2
--- /dev/null
+++ b/net/get-flash-videos/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/12/05 02:18:14 dsainty Exp $
+
+SHA1 (monsieurvideo-get-flash-videos-v1.22-398-gd74c9f6.tar.gz) = 8417c632803f6b520e285ed85147f5477e20a8b7
+RMD160 (monsieurvideo-get-flash-videos-v1.22-398-gd74c9f6.tar.gz) = 530e184cad674a8ada8200cd1f1f2e02c1452241
+Size (monsieurvideo-get-flash-videos-v1.22-398-gd74c9f6.tar.gz) = 120893 bytes