From 9dbc6a720bbcd6a2e94f74d9296dc5e06c128c27 Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 23 Nov 2008 11:17:53 +0000 Subject: [PATCH] import iplayer-dl, N.B. this is for UK-based users, others don't have access to the service it uses. ok bernd@ The BBC launched an iPhone-specific version of the streaming iPlayer service in March 2008. As the iPhone does not support Flash video, this variant of the service uses browser sniffing to serve h.264 (`MP4') video to clients. By pretending to be an iPhone, it's possible to download the MP4 files for offline viewing. You can find out more about the history of this, and of the BBC's repeated attempts to prevent this, on the Beebhack Wiki, http://beebhack.wikia.com/wiki/IPhone_H.264_version. --- multimedia/iplayer-dl/Makefile | 22 ++++++++++++++++++++++ multimedia/iplayer-dl/distinfo | 5 +++++ multimedia/iplayer-dl/pkg/DESCR | 9 +++++++++ multimedia/iplayer-dl/pkg/PLIST | 18 ++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 multimedia/iplayer-dl/Makefile create mode 100644 multimedia/iplayer-dl/distinfo create mode 100644 multimedia/iplayer-dl/pkg/DESCR create mode 100644 multimedia/iplayer-dl/pkg/PLIST diff --git a/multimedia/iplayer-dl/Makefile b/multimedia/iplayer-dl/Makefile new file mode 100644 index 00000000000..94f964948f4 --- /dev/null +++ b/multimedia/iplayer-dl/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/11/23 11:17:53 sthen Exp $ + +COMMENT = allow UK users to download programmes from BBC iPlayer + +DISTNAME = iplayer-dl-0.1.13 + +CATEGORIES = multimedia + +HOMEPAGE = http://po-ru.com/projects/iplayer-downloader/ + +# MIT +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MASTER_SITES = http://po-ru.com/files/ + +MODULES = lang/ruby +CONFIGURE_STYLE = ruby setup + +.include diff --git a/multimedia/iplayer-dl/distinfo b/multimedia/iplayer-dl/distinfo new file mode 100644 index 00000000000..1658200b124 --- /dev/null +++ b/multimedia/iplayer-dl/distinfo @@ -0,0 +1,5 @@ +MD5 (iplayer-dl-0.1.13.tar.gz) = ddZ66TldiEn/kRgijMjb4A== +RMD160 (iplayer-dl-0.1.13.tar.gz) = FCijj9UXxHO0ClVlf+iwSCYiN3Q= +SHA1 (iplayer-dl-0.1.13.tar.gz) = 9P3sXQ96aigD5x+5XTS9FrQViE8= +SHA256 (iplayer-dl-0.1.13.tar.gz) = Wh3YTx+hCYGuGP4eefSqvXqoiBAvK2Q/4p8EkJxYEOg= +SIZE (iplayer-dl-0.1.13.tar.gz) = 23751 diff --git a/multimedia/iplayer-dl/pkg/DESCR b/multimedia/iplayer-dl/pkg/DESCR new file mode 100644 index 00000000000..7dcaf764f68 --- /dev/null +++ b/multimedia/iplayer-dl/pkg/DESCR @@ -0,0 +1,9 @@ +The BBC launched an iPhone-specific version of the streaming iPlayer +service in March 2008. As the iPhone does not support Flash video, +this variant of the service uses browser sniffing to serve h.264 +(`MP4') video to clients. + +By pretending to be an iPhone, it's possible to download the MP4 +files for offline viewing. You can find out more about the history +of this, and of the BBC's repeated attempts to prevent this, on the +Beebhack Wiki, http://beebhack.wikia.com/wiki/IPhone_H.264_version. diff --git a/multimedia/iplayer-dl/pkg/PLIST b/multimedia/iplayer-dl/pkg/PLIST new file mode 100644 index 00000000000..737a11bcafe --- /dev/null +++ b/multimedia/iplayer-dl/pkg/PLIST @@ -0,0 +1,18 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/11/23 11:17:53 sthen Exp $ +bin/iplayer-dl +@comment bin/iplayer-dl-gui +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/ +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/browser.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/downloader.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/errors.rb +@comment lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/gui/ +@comment lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/gui/app.rb +@comment lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/gui/main_frame.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/javascript/ +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/javascript.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/javascript/parser.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/javascript/tokenizer.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/metadata.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/preferences.rb +lib/ruby/site_ruby/${MODRUBY_REV}/iplayer/version.rb