summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-05 21:22:39 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-05 21:22:39 +0000
commit0f137e9321a65c597dec5195f0df058e7488c3d1 (patch)
treecb2d0b609380d224619c12f4f9706f4734fd9d5b /media-video/cclive
parentChanging use flag gsm to eap-sim, fixing half of bug #254677 (diff)
downloadhistorical-0f137e9321a65c597dec5195f0df058e7488c3d1.tar.gz
historical-0f137e9321a65c597dec5195f0df058e7488c3d1.tar.bz2
historical-0f137e9321a65c597dec5195f0df058e7488c3d1.zip
Initial ebuild by me.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-video/cclive')
-rw-r--r--media-video/cclive/ChangeLog10
-rw-r--r--media-video/cclive/Manifest15
-rw-r--r--media-video/cclive/cclive-0.4.1.ebuild28
-rw-r--r--media-video/cclive/files/cclive-0.4.1-64bit.patch23
-rw-r--r--media-video/cclive/metadata.xml13
5 files changed, 89 insertions, 0 deletions
diff --git a/media-video/cclive/ChangeLog b/media-video/cclive/ChangeLog
new file mode 100644
index 000000000000..206d2553125a
--- /dev/null
+++ b/media-video/cclive/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-video/cclive
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/cclive/ChangeLog,v 1.1 2009/05/05 21:22:39 vapier Exp $
+
+*cclive-0.4.1 (05 May 2009)
+
+ 05 May 2009; Mike Frysinger <vapier@gentoo.org> +cclive-0.4.1.ebuild,
+ +files/cclive-0.4.1-64bit.patch, +metadata.xml:
+ Initial ebuild by me.
+
diff --git a/media-video/cclive/Manifest b/media-video/cclive/Manifest
new file mode 100644
index 000000000000..9b0ce4a62800
--- /dev/null
+++ b/media-video/cclive/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX cclive-0.4.1-64bit.patch 824 RMD160 59cf3bfdb58ac4e2e9b627002466ec7910da7f50 SHA1 72c7c430b5e9c024fa02f970857317c0215f59b5 SHA256 1ed588458e988dda2bb9a3ecbd5247b84258acce740e6b8d5788a6b3cb740894
+DIST cclive-0.4.1.tar.bz2 133722 RMD160 f3cb37d1efe8146c195c8504f23c77bbbb974b4e SHA1 0300f7517a2a8c92c2cd6b8022b5e2f7bdd1e633 SHA256 e3d23a440ac3eebb2603aa464a0d825d1e1985099cf66b1ce083138ecf6c3117
+EBUILD cclive-0.4.1.ebuild 717 RMD160 1e7671fe5a01bf4e6b6b44701ff701b3b89dfc0f SHA1 7a0e0cf771a050085ec51620b1b4abe90aacf915 SHA256 623b03fba03eade1d985e67c1b92133549afec5572fee8873d1ef9327af5b55b
+MISC ChangeLog 385 RMD160 4d5f3e6dc707d1c8e70a9449cb60683558a73735 SHA1 9ce78458dbe596a83b1581223452ad88e3d13baa SHA256 501f193398fb9dd1414605f47adfa98f72e74211c462605f4c7089b21cd5a815
+MISC metadata.xml 396 RMD160 7c9dcdda1416092eb1ac39b00e0930fd7f9d206d SHA1 74e84566dbf918a66e77b57a30d60d9e0092f632 SHA256 b9fcb42de0e68dedb92779afa1e35081d308a62854381cda267e6641961c1862
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkoAriUACgkQn/5bYzqsSmFBAwCeIE3JXfiGYPjnIGBUgJvnOexp
+eiYAn0ZWfGT0IgehPEY1hF/rJ4EjyBUO
+=8RrL
+-----END PGP SIGNATURE-----
diff --git a/media-video/cclive/cclive-0.4.1.ebuild b/media-video/cclive/cclive-0.4.1.ebuild
new file mode 100644
index 000000000000..8b3e3a4ccd59
--- /dev/null
+++ b/media-video/cclive/cclive-0.4.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/cclive/cclive-0.4.1.ebuild,v 1.1 2009/05/05 21:22:39 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Command line tool for extracting videos from various websites"
+HOMEPAGE="http://code.google.com/p/cclive/"
+SRC_URI="http://cclive.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=net-misc/curl-7.18.0"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-64bit.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/media-video/cclive/files/cclive-0.4.1-64bit.patch b/media-video/cclive/files/cclive-0.4.1-64bit.patch
new file mode 100644
index 000000000000..58058f399b3b
--- /dev/null
+++ b/media-video/cclive/files/cclive-0.4.1-64bit.patch
@@ -0,0 +1,23 @@
+From: legatvs <legatvs@gmail.com>
+Date: Tue, 5 May 2009 09:36:21 +0000 (+0300)
+Subject: src/singleton.h: fix precision error reported on 64bit systems.
+X-Git-Url: http://repo.or.cz/w/cclive.git?a=commitdiff_plain;h=6a58aa300a15112d6f5b794bc6cca105aace877d
+
+src/singleton.h: fix precision error reported on 64bit systems.
+---
+
+diff --git a/src/singleton.h b/src/singleton.h
+index 93646cd..6fcc0e4 100644
+--- a/src/singleton.h
++++ b/src/singleton.h
+@@ -26,8 +26,8 @@ private:
+ public:
+ Singleton() {
+ assert(!instance);
+- int offset = (int)(T*)1 - (int)(Singleton <T>*)(T*)1;
+- instance = (T*)((int)this+offset);
++ ptrdiff_t offset = (ptrdiff_t)(T*)1 - (ptrdiff_t)(Singleton <T>*)(T*)1;
++ instance = (T*)(this+offset);
+ }
+ virtual ~Singleton() {
+ assert(instance != 0);
diff --git a/media-video/cclive/metadata.xml b/media-video/cclive/metadata.xml
new file mode 100644
index 000000000000..75cfc37e6456
--- /dev/null
+++ b/media-video/cclive/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ Command line tool for extracting videos from Youtube, Google Video,
+ Dailymotion, Guba (free) and Stage6 websites
+ </longdescription>
+</pkgmetadata>
+